html-artifact

html-artifact is a skill for Claude Code from psd401/psd-claude-plugins. It costs 136 tokens per session (2,002 once invoked), scanned A, original, MIT.

A skill for producing a single self-contained HTML file containing documents, reports, specifications, reviews, or interactive editors. HTML is the standard format that web browsers open.

In plain words
What is it for?
Use it to make browser-based reports, engineering specifications, code-review explainers, research explainers, design explorations, and small interactive tools.
Why use it?
It provides a shareable page that can be opened directly in a browser without a separate application or server.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

Part of the psd-productivity plugin — 33 skills, 1 command, 1 agent shipped together

Good fit Use it to make browser-based reports, engineering specifications, code-review explainers, research explainers, design explorations, and small interactive tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/psd401/psd-claude-plugins/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 psd401/psd-claude-plugins --skill html-artifact
Clone the repo
git clone --depth 1 https://github.com/psd401/psd-claude-plugins

Made for: Claude Code.

Or install psd-productivity, the plugin that ships this one along with the rest of its 33 skills, 1 command, 1 agent.

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/psd401/psd-claude-plugins/html-artifact/github.svg)](https://agentmods.dev/skills/psd401/psd-claude-plugins/html-artifact)
Your own site
<a href="https://agentmods.dev/skills/psd401/psd-claude-plugins/html-artifact"><img src="https://agentmods.dev/badge/skills/psd401/psd-claude-plugins/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/psd401/psd-claude-plugins/html-artifact"><img src="https://agentmods.dev/badge/skills/psd401/psd-claude-plugins/html-artifact.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,002 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.
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.00136 $0.02002
Opus 5.5 $0.00054 $0.00801
Sonnet 5.5 $0.00027 $0.00400
Haiku 4.5 $0.00014 $0.00200

Measured 14d ago against content hash dbae98253f55, 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 14d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/open.sh), 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.

plugins/psd-productivity/skills/html-artifact/SKILL.md · 153 lines

How it starts

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

HTML Artifact

Produce a single, self-contained HTML file with impeccable taste. HTML beats Markdown for specs, reports, reviews, and explorations: it is denser, more readable, more shareable, and people actually read it. This skill makes HTML that does not look like a machine made it.

The one rule everything serves

If someone could look at the output and say "AI made that" without a doubt, it failed.

Recognizability over default aesthetics. Every choice below exists to defeat the "visual maximum common denominator" of AI training data (Inter + purple gradient + beige/brass + eyebrow-on-every-section + ghost cards). Read references/anti-slop-bans.md to know exactly what those tells are and how to refuse them.

Workflow

Run these in order. Skip nothing in steps 1, 7, and 8.

1. Emit a design read (one line, before any code)

State your interpretation so the user can correct it cheaply:

Reading this as: <page kind> for <audience>, with a <vibe> language, leaning toward <direction>.

Examples:

  • "Reading this as: an internal engineering spec for the platform team, with a calm document language, leaning toward a two-column reading layout with a sticky TOC."
  • "Reading this as: a consumer landing page for a coffee subscription, with a warm editorial language, leaning toward a split hero + one saturated accent."

Use AskUserQuestion ONLY if page-kind, audience, or output format is genuinely ambiguous. Otherwise infer and proceed; the user can redirect after the design read.

2. Set three dials

Infer 1–10 values from the brief; they gate downstream choices:

  • DESIGN_VARIANCE (1 = perfect symmetry, 10 = artsy chaos)
  • MOTION_INTENSITY (1 = static, 10 = cinematic)
  • VISUAL_DENSITY (1 = airy, 10 = packed data)

Signal presets: minimalist/calm/editorial → ~5 / 3 / 3 · data report/dashboard → ~5 / 3 / 7 · marketing/agency → ~8 / 7 / 4 · public-sector/trust-first → ~3 / 2 / 5. When DESIGN_VARIANCE > 4, do not use a centered hero — go split-screen, asymmetric, or left-aligned.

Read the full file on GitHub · 153 lines

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. 14d ago Changed · -1 lines dbae98253f55
  2. 1mo ago Changed bac507cc323e
  3. 2mo ago First seen · 154 lines · 136 tokens per session scan A 46d64f0ba772

Subscribe to this mod's changes

html-artifact is a skill published in the GitHub repository psd401/psd-claude-plugins (2 stars, last pushed 9d ago), licensed MIT. It adds 136 tokens to every session and 2,002 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens