HT

html-artifact

Generates professional, single-file HTML documents for richer presentation than standard markdown.

Install

mkdir -p .claude/skills/html-artifact && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16844" && unzip -o skill.zip -d .claude/skills/html-artifact && rm skill.zip

Installs to .claude/skills/html-artifact

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Create polished single-file HTML artifacts as an alternative to markdown for documents meant to be read by humans. Use whenever the user asks for an implementation plan, status report, post-mortem, architecture doc, scaling analysis, capacity dashboard, research explainer, concept walkthrough, PR writeup, or other long-form documents that benefit from richer structure than markdown — KPI tiles, charts, tables, mockups, code blocks with copy buttons, collapsibles, SVG diagrams, or small interactive controls. Also use when the user asks for "an HTML file", "HTML artifact", "HTML doc", "HTML version of this", or "a one-pager". Do NOT use for React components, web apps, marketing pages, or visually expressive design (use frontend-design); for READMEs, docstrings, agent prompts, CLAUDE.md, or anything destined for git/CLI/another agent (use markdown); or for content under ~50 lines where visual structure doesn't earn its weight.
937 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • →Generate single-file HTML documents
  • →Incorporate KPI tiles and charts
  • →Include tables and mockups
  • →Add code blocks with copy buttons
  • →Create collapsible sections
  • →Embed inline SVG diagrams

How it works

This skill creates standalone HTML documents by embedding CSS and JavaScript directly, ensuring mobile responsiveness and dark mode support, and avoiding external dependencies.

Inputs & outputs

You give it
Request for an implementation plan, status report, or other long-form document
You get back
A single, self-contained `.html` file with rich structure

When to use html-artifact

  • →Creating an architecture analysis document
  • →Generating a project status report
  • →Writing a post-mortem report
  • →Building an implementation plan one-pager

About this skill

HTML Artifact

Create a self-contained HTML document for human reading or interaction. Use it when explicitly requested or when a standalone visual materially helps explain, compare or explore the content. A report, plan or one-pager alone is not a trigger. Keep agent instructions, source documents and Markdown-native deliverables in Markdown; brief inline explanations need no HTML scaffold.

Artifact contract

  • One file with inline CSS/JS, viewport metadata and no build step. Work offline from a local file: no external fonts, trackers, API fetches or runtime assets.
  • Semantic markup, keyboard access and adequate contrast. Layout adapts to narrow screens; honor reduced motion for animation and provide readable print styles.
  • Explanatory content exists before scripts run. With JS disabled, preserve the explanation, data and limitations even when interactive computation is unavailable.
  • Use project visual conventions where compatible with this contract. Show only sourced data; label assumptions and illustrative values explicitly.

Choose the shape

Select the matching preset when its layout helps:

Main purposeReference
Narrative report or comparisonreferences/preset-report.md
Charts carry the argumentreferences/preset-dashboard.md
Teach a conceptreferences/preset-explainer.md
User edits values or copies a configurationreferences/preset-editor.md

For an unfamiliar figure, consult references/svg-craft.md; for optional default styling/components, use references/visual-style.md. Read only relevant sections, and do not invent content to satisfy a preset. Prefer a simpler shape when it communicates the source faithfully.

Deliver and verify

Use the supplied output location, otherwise a descriptive file under scratchpad. Provide a link/path rather than pasting HTML source. Check content fidelity and local links, then exercise key interactions and responsive/print behavior using available browser tools. Inspect JS-disabled readability and motion settings when relevant. Report checks that could not run; do not automatically assign them to the user. Name material omissions or transformations when condensing a source.

When not to use it

  • →When the output is for another agent or pipeline
  • →When the content is a README, CLAUDE.md, agent prompt, or docstring
  • →When the content is under ~50 lines and visual structure is not critical

Limitations

  • →Output must be for humans, not other agents or pipelines
  • →Does not support React components, web apps, or marketing pages
  • →Content must be ~50+ lines to justify the scaffolding

How it compares

This method produces a single, self-contained HTML file with rich interactive and visual elements, offering more structure and readability than a long markdown file.

Compared to similar skills

html-artifact side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
html-artifact (this skill)04moNo flagsIntermediate
create-section010moNo flagsBeginner
paper-2-web05moReviewIntermediate
ml-paper-writing489moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

create-section

JanDeDobbeleer

Use when creating a new section for the AI Workshop presentation. Guides through title slide setup, layout choices, and content gathering. Activates when user wants to add a new topic section to the slideshow.

00

paper-2-web

bg-szy

This skill should be used when converting academic papers into promotional and presentation formats including interactive websites (Paper2Web), presentation videos (Paper2Video), and conference posters (Paper2Poster). Use this skill for tasks involving paper dissemination, conference preparation, cr

00

ml-paper-writing

davila7

Write publication-ready ML/AI papers for NeurIPS, ICML, ICLR, ACL, AAAI, COLM. Use when drafting papers from research repos, structuring arguments, verifying citations, or preparing camera-ready submissions. Includes LaTeX templates, reviewer guidelines, and citation verification workflows.

4897

docs-review

metabase

Review documentation changes for compliance with the Metabase writing style guide. Use when reviewing pull requests, files, or diffs containing documentation markdown files.

1085

claude-md-improver

anthropics

Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project memory optimization".

2167

write-docs

tldraw

Writing SDK documentation for tldraw. Use when creating new documentation articles, updating existing docs, or when documentation writing guidance is needed. Applies to docs in apps/docs/content/.

665

Search skills

Search the agent skills registry