HavenSkills

web-artifacts-builder skill

By Anthropic

Build a self-contained interactive web artifact with multiple components and UI state.

Install this skill

npx skills add anthropics/skills --skill web-artifacts-builder

Run the command from your project directory. If your client is already running, reload it and confirm the skill is available before trying the example below.

Source repo

Ask your agent to install the skill
Install web-artifacts-builder from anthropics/skills in this project. Show me the destination folder and report any dependencies the source lists.

Install for your agent

Run the command for your client from your project directory.

Claude Code
npx skills add anthropics/skills --skill web-artifacts-builder -a claude-code
Codex
npx skills add anthropics/skills --skill web-artifacts-builder -a codex
Cursor
npx skills add anthropics/skills --skill web-artifacts-builder -a cursor
GitHub Copilot
npx skills add anthropics/skills --skill web-artifacts-builder -a github-copilot

How to use web-artifacts-builder

Define the actions the user needs and list the states each action can reach, such as empty, filtered, and populated views.

Example prompt and what to check

Build an interactive reading list. Let me filter by status and add a book, and show a useful message when no results match.

Acceptance check Open the finished artifact in its intended host. Try a first load, a filter with no matches and adding an item.

What the upstream guide covers

The source describes an artifact build workflow for a web UI made from multiple components. Review its setup and bundling instructions before choosing how to deliver the HTML.

HavenSkills workflow check

No workflow check recorded yet. Use the sample task above to make your own check in your client.

Review methodology and recorded checks

Requirements, permissions and limits

Hosting and persistence depend on the environment. Verify those behaviors explicitly if the artifact needs to store data.

Author
Anthropic
Category
Design & UI
Skill source
SKILL.md

Frequently asked questions

Can it build something more complex than a single snippet?

Yes. Use it for artifacts that benefit from separate components and a build step. Check the final bundle in the intended host.