html-artifact
Skill3 starsChanged 6 months agoMITView on GitHub
Create or update a self-contained HTML artifact for a plan, spec, report, findings, summary, comparison, or set of UI mock variants. Use when the user asks to communicate through an HTML document or artifact, or mentions HTML without a product implementation context. Do not use for HTML that ships as part of a product.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- BrainInBox/brain-in-a-boxtheir own version, first seen Nov 1, 2026
- masaki69/skillstheir own version, first seen May 15, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- BrainInBox/brain-in-a-box★ 16same name
- masaki69/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create one self-contained HTML file for communication and review, not product code.
- Distinctive: line 12
Write it like a spec, not a landing page.
- Distinctive: line 14
Keep visuals information-dense.
- Very specific: line 15
Default to true black (#000), white primary text, and dark gray for secondary surfaces or accents.
- Distinctive: line 17
Use semantic HTML, inline CSS, inline SVG, and data-URL images.
- Distinctive: line 21
Only add feedback controls when the user explicitly asks to collect responses inside the artifact.
- Distinctive: line 25
Place each input beside the section it refers to.
- Distinctive: line 26
Keep feedback in memory only.
- Distinctive: line 32
When the user asks for UI variants:
- Distinctive: line 37
Keep one file across iterations.
- Very specific: line 41
Write the HTML to the requested path.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
HTML Artifact
Create one self-contained HTML file for communication and review, not product code. Use the material already in the conversation or the documents the user provides.
Build the document
- Write it like a spec, not a landing page. Make it dense and scannable. Avoid heroes, decorative chrome, marketing copy, and em dashes.
- Visualize information when it can make the material easier to understand or more compelling. Choose the form that best fits the content.
- Keep visuals information-dense. Do not invent data or add visuals merely to decorate the page.
- Default to true black (
#000), white primary text, and dark gray for secondary surfaces or accents. - Make it mobile-readable with a responsive viewport and no fixed-width layout.
- Use semantic HTML, inline CSS, inline SVG, and data-URL images. Use HTTPS images only when embedding them is impractical and the source is safe to disclose.
Receiving Feedback
Only add feedback controls when the user explicitly asks to collect responses inside the artifact. Otherwise, keep the artifact read-only.
When requested:
- Place each input beside the section it refers to.
- Keep feedback in memory only. Do not persist or transmit it.
- Provide separate controls to copy all feedback and export it, with a selectable-text fallback when clipboard access is unavailable.
- For a small amount of feedback, use lightweight inline controls rather than building a larger feedback system.
Render variants directly
When the user asks for UI variants:
- Render real styled variants instead of describing them.
- Label them
A,B,C, and so on for easy selection. - Lay them out for direct comparison.
- Keep one file across iterations.
Validate and deliver
- Write the HTML to the requested path. If none is given, choose a descriptive
.htmlfilename in a .tmp subfolder within the working directory. - Report the local path.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

