build-html-artifacts

build-html-artifacts is a skill for Codex from amol-patil/html-artifact-kit. It costs 95 tokens per session (947 once invoked), scanned A, original, MIT.

A set of rules for creating complete, self-contained HTML pages such as dashboards, reports, presentations, websites, and internal tools.

In plain words
What is it for?
Use it when an agent must design, build, improve, or validate a standalone HTML artifact with responsive behaviour and accessible interactions.
Why use it?
It prevents quick HTML deliverables from becoming hard-to-use pages with inconsistent design, poor accessibility, weak mobile layouts, or unnecessary dependencies.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when an agent must design, build, improve, or validate a…

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

Made for: Codex.

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 build-html-artifacts

README.md
[![agentmods](https://agentmods.dev/badge/skills/amol-patil/html-artifact-kit/build-html-artifacts.svg)](https://agentmods.dev/skills/amol-patil/html-artifact-kit/build-html-artifacts)
Your own site
<a href="https://agentmods.dev/skills/amol-patil/html-artifact-kit/build-html-artifacts"><img src="https://agentmods.dev/badge/skills/amol-patil/html-artifact-kit/build-html-artifacts.svg" alt="Measured on agentmods" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 947 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.00095 $0.00947
Opus 5 $0.00048 $0.00474
Sonnet 5 $0.00019 $0.00189
Haiku 4.5 $0.00010 $0.00095

Measured 6d ago against content hash 8828083312ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

build-html-artifacts 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 6d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/audit-artifact.mjs, scripts/bundle-html.mjs, scripts/validate-html.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.

skill/build-html-artifacts/SKILL.md · 62 lines

How it starts

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

Build HTML Artifacts

Produce work-appropriate HTML artifacts with a consistent design language, accessible behavior, responsive layouts, and no unnecessary runtime dependencies.

Output decision

Apply HTML Artifact Kit styling and quality requirements whenever the requested deliverable is or can reasonably be a standalone HTML artifact. Treat informal phrases such as “quick dashboard,” “side artifact,” “simple report,” “slides,” “internal tool,” or “make this a webpage” as full-quality artifact requests rather than permission to return unstyled HTML. If the user explicitly requests a different format, an existing application framework, or styling from another named design system, honor that constraint instead.

Workflow

  1. Classify the request as a dashboard, narrative document, presentation, microsite, or operational interface.
  2. Read references/foundations.md, references/conformance.md, and references/quality.md for every new artifact.
  3. Start from assets/starter.html. Keep its version markers and use assets/html-artifact-kit.css as the canonical visual foundation.
  4. Read the matching section in references/artifact-types.md.
  5. Read references/components.md and references/component-recipes.md when assembling interface or data components.
  6. Read references/portability.md before adding dependencies, data access, or embedded assets.
  7. Read references/model-compatibility.md when packaging instructions for a particular agent or LLM.
  8. Add artifact-specific CSS only after the canonical CSS. Use canonical tokens instead of introducing a competing palette, type scale, spacing system, or component style.
  9. Run scripts/bundle-html.mjs <authoring.html> <artifact.html> to inline the canonical CSS.
  10. Exercise interactions and inspect at desktop and mobile widths.
  11. Run scripts/audit-artifact.mjs <artifact.html>. Fix every critical failure and reach at least 85/100 before delivery. If Node.js is unavailable, perform the equivalent checks in references/conformance.md manually.

Read the full file on GitHub · 62 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. 6d ago First seen · 62 lines · 95 tokens per session scan A 8828083312ac

Subscribe to this mod's changes

build-html-artifacts is a skill published in the GitHub repository amol-patil/html-artifact-kit (10 stars, last pushed 14d ago), licensed MIT. It adds 95 tokens to every session and 947 once invoked, about $0.0005 per session on Opus 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.