html-artifact

html-artifact is a skill for Claude Code from bahayonghang/my-ai-cli-toolkit. It costs 80 tokens per session (4,207 once invoked), scanned A, original, MIT.

A guide for creating self-contained HTML files that present complex work in a browser, such as reports, implementation plans, code reviews, dashboards, or slide-like pages.

In plain words
What is it for?
Use it to build browser-viewable reports, comparison pages, dashboards, mini-decks, and other reviewable HTML deliverables.
Why use it?
It provides a clearer way to inspect and share information when plain Markdown would become long, visual, or difficult to navigate. The output works offline without relying on external files or services.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: $skill-name invocation.

Good fit Use it to build browser-viewable reports, comparison pages, dashboards, mini-decks, and other reviewable HTML deliverables.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bahayonghang/my-ai-cli-toolkit/html-artifact
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bahayonghang/my-ai-cli-toolkit --skill html-artifact
Clone the repo
git clone --depth 1 https://github.com/bahayonghang/my-ai-cli-toolkit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for html-artifact

README.md
[![agentmods](https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/html-artifact/github.svg)](https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/html-artifact)
Your own site
<a href="https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/html-artifact"><img src="https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/html-artifact/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for html-artifact

Your own site · 80×15
<a href="https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/html-artifact"><img src="https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/html-artifact.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,207 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.04207
Opus 5.5 $0.00032 $0.01683
Sonnet 5.5 $0.00016 $0.00841
Haiku 4.5 $0.00008 $0.00421

Measured 1mo ago against content hash bebcc8000f24, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

html-artifact scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check_html_artifact.py, tests/check-html-artifact.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/development-workflows/html-artifact/SKILL.md · 253 lines

How it starts

The opening of the file, as written. The whole thing — 253 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HTML Artifact

Create a browser-viewable HTML artifact when complex work needs a richer review surface than a wall of Markdown. Default to one self-contained file; use a split bundle when the planned content is too large for a reviewable single page.

Core rule

Use HTML artifacts for complex, visual, comparison-heavy, reviewable, or shareable outputs. Keep ordinary Markdown for short answers, simple commands, commit messages, tiny summaries, and routine implementation reports unless the user explicitly asks for an artifact.

Output contract

Every artifact must be:

  • Single-file by default; split bundle when oversized: create one .html or .htm file unless the pre-build size gate says to split. When split, create docs/artifacts/<slug>/index.html plus self-contained part pages such as part-01-overview.html.
  • Self-contained: no CDN, remote fonts, remote stylesheets, remote scripts, fetch, XHR, beacons, WebSockets, or automatic network requests.
  • Offline per page: every split-bundle HTML page must independently include its own CSS and any small vanilla JS; do not share external assets between pages.
  • Semantic: include <!doctype html>, <html>, <head>, <meta charset="utf-8">, <meta name="viewport">, <title>, <main id="main">, and one clear <h1>.
  • Accessible: skip link, visible focus state, keyboard-operable controls, text alternatives for diagrams, color plus text for status, and prefers-reduced-motion support.
  • Reviewable: structure content into navigable sections, cards, tables, timelines, or diagrams; do not dump raw long Markdown into a styled box.
  • Navigable when split: split bundles must include an index page plus previous/next/back-to-index links on each part page.
  • Free of unfinished placeholders: remove [填这里], Lorem ipsum, TBD, and other fill-in markers before delivery.
  • Truthful about data: do not invent measurements, statistics, customers, sources, or outcomes.
  • Explicit about missing data: mark a real gap as [数据待补:说明] and explain what evidence is needed.

Read the full file on GitHub · 253 lines

Files

What ships with it

35 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 253 lines · 80 tokens per session scan A bebcc8000f24

Subscribe to this mod's changes

html-artifact is a skill published in the GitHub repository bahayonghang/my-ai-cli-toolkit (17 stars, last pushed 6d ago), licensed MIT. It adds 80 tokens to every session and 4,207 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

reimagine-it

Content-Derived Design — reads existing HTML and writes a stronger standalone page from headings, facts, names, dates, numbers, links, emails, and colors already in that file. CLI: npx reimagine-it --auto -i page.html -o out.html; also variations, lock, and audit. Use when the user says /reimagine-it, "reimagine it"…

Kayforkind/reimagine-it · 230 tokens

a11y-audit

Dedicated WCAG 2.2 AA/AAA accessibility audit across 10 dimensions (A1-A10) covering semantic HTML, keyboard navigation, ARIA patterns, color contrast, forms, images/media, responsive/zoom, motion/animation, reading/content, and legal compliance. Goes far beyond surface-level design-review checks with deep…

greglas75/zuvo · 147 tokens

ui-ux-scan

Quick UI/UX deficiency scan of any page. Checks touch targets, contrast, font consistency, spacing issues, empty states, loading indicators, and common UX anti-patterns. Uses Playwright MCP only — no signup.

Quality-Max/free-qa-skills · 50 tokens

accessibility-check

Quick WCAG accessibility scan of any URL. Checks color contrast, missing alt text, keyboard navigation, ARIA labels, heading hierarchy, and focus indicators. Produces a graded report. Uses Playwright MCP only — no signup.

Quality-Max/free-qa-skills · 50 tokens

claude-design

Design one-off HTML artifacts (landing, deck, prototype).

mateaix/mateclaw · 16 tokens

Modern Web Accessibility for Interactive UI

An accessibility review for interactive interface elements such as dialogs, menus, popovers, tabs, forms, and live updates.

s977043/river-review · 60 tokens