/html-artifacts:html-artifactsfrom HTML Artifacts
Produces self-contained HTML artifacts instead of markdown when content benefits from layout, color, diagrams, interactivity, or a round-trip editor. Useful for docs, specs, reports, comparisons, dashboards, and one-off tools.
Ships in HTML Artifacts. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Markdown is the default agent output. For anything longer than a handful of sentences it is a poor one: it cannot put two options side by side, draw a real diagram, be interactive, or be shared as a page. When the artifact is the deliverable, the reader will do something with it: read it carefully, share it, hand it to an implementer, paste edits back. Make it HTML.
The skill is a judgment call, not a format switch. Most of what follows is about deciding well and then checking the result, because the model already knows how to write HTML.
If unsure, ask one question of yourself: will the reader do anything with this beyond reading it once? If not, markdown. HTML costs two to four times the tokens and takes longer; don't manufacture a use case.
Every artifact must satisfy all of these.
.html file. CSS in <style>, JS in <script>, images as inline SVG or data URIs. No build step. External scripts only from the CDNs the target surface allows (see references/harness-mechanics.md), and only when a library genuinely earns its place.<title>, a heading, and a one-paragraph framing sentence or TL;DR before any substance.references/matching-your-style.md has the baseline CSS and the list of tells to avoid.:root, redefine them under prefers-color-scheme: dark and under [data-theme="dark"] so both system preference and a manual toggle work.references/accessibility-and-print.md has the checklist.references/verify-before-delivering.md instead and deliver. Either way, the artifact is checked once before the user sees it.references/matching-your-style.md.| If the request is about… | Read… |
|---|---|
| Option comparisons, implementation plans, exploring directions before committing | references/exploration-and-planning.md |
| Annotated diffs, PR writeups, code review, module maps, "explain this code" | references/code-review-and-pr.md |
| Design tokens, component sheets, mockups, animation and interaction prototypes | references/design-and-prototypes.md |
| Inline SVG figures, flowcharts, architecture diagrams | references/diagrams-and-illustrations.md |
| Charts, dashboards, sortable and filterable data tables, metrics | references/data-and-charts.md |
| Status reports, incident post-mortems, concept explainers, learning material | references/reports-and-research.md |
| Slide decks, arrow-key presentations | references/decks.md |
| One-off editors: triage boards, flag toggles, prompt tuners, labelers | references/custom-editors.md |
| Matching an existing visual style or design system; the safe default | references/matching-your-style.md |
| Accessibility and print checklist | references/accessibility-and-print.md |
| Where the file goes and what each surface allows: Claude Code, Claude.ai artifacts, Cowork, published artifacts | references/harness-mechanics.md |
| The pre-delivery check, headless and manual | references/verify-before-delivering.md |
kebab-case name with .html in the working directory, verify, then give the user the path and how to open it. Related artifacts go in one folder.Details, per surface, in references/harness-mechanics.md.
It is not "always answer in HTML." Where markdown is the better medium, use markdown. Bad-looking HTML is worse than good markdown, and unverified HTML is worse than either.
references/accessibility-and-print.md (opens in a new tab)references/code-review-and-pr.md (opens in a new tab)references/custom-editors.md (opens in a new tab)references/data-and-charts.md (opens in a new tab)references/decks.md (opens in a new tab)references/design-and-prototypes.md (opens in a new tab)references/diagrams-and-illustrations.md (opens in a new tab)references/exploration-and-planning.md (opens in a new tab)references/harness-mechanics.md (opens in a new tab)references/matching-your-style.md (opens in a new tab)references/reports-and-research.md (opens in a new tab)references/verify-before-delivering.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub dogum/html-artifacts --plugin html-artifactsOther plugins' skills for the same job