Claude Code skill: turn a session's findings into a self-contained HTML report (with Markdown source). Drop into ~/.claude/skills/html-report/SKILL.md. A developer created a Claude Code skill that automatically generates self-contained HTML reports (with Markdown source) from session findings. The skill, named "html-report," produces a Markdown file as the canonical source and a rendered HTML version as a single-file artifact, both written to a user-configured output directory. The tool supports structured content including tables, code blocks, callouts, task lists, and Mermaid diagrams, with a choice of color palettes and layouts based on the report's purpose and section count. | name | html-report | |---|---| | description | Take all documentation, discoveries, and structured knowledge gathered in the current conversation and produce a self-contained HTML report plus its Markdown source . Use when the user says "/html-report", asks to "generate a report", "write this up as a report", "save this session as a report", or wants a shareable artifact summarizing what was figured out in the session. | Produce a report pair — Markdown first canonical source , then HTML rendered from it self-contained, single file, no external assets . Files are written side-by-side into the user's configured output directory. Check for ~/.claude/html-report-config.json . - If it exists , read output dir from it and use that for the rest of this run. Do not prompt. - If it does NOT exist , ask the user ONCE, in one short sentence:"First run — where should reports be written? default: ./reports/ in your current directory "Accept their answer. Acceptable forms: - Empty / "default" → use literal string ./reports resolved against cwd at write time, so reports land next to whatever project you're in - Absolute path e.g. /Users/x/Documents/reports → use as-is ~ -prefixed e.g. ~/reports → expand ~ to $HOME Save the answer: mkdir -p ~/.claude printf '{"output dir": "%s"}\n' "$CHOSEN" ~/.claude/html-report-config.json Confirm in one sentence: "Saved. Reports will go to