web-artifacts-builder

Web Artifacts Builder

Web Artifacts Builder is Anthropic's agent skill for complex Claude.ai artifacts: the agent sets up a React, Tailwind and shadcn/ui project, then bundles it into one HTML file.

Checked by CookiesForAI on : license and last change of the skill re-read from GitHub.

Written by

Install Web Artifacts Builder

Install only this skill with the skills CLI

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

Or, in Claude Code, add Anthropic's skills marketplace

Agent chat
/plugin marketplace add anthropics/skills

Then install the example-skills plugin, which holds this skill and Anthropic's other example skills

Agent chat
/plugin install example-skills@anthropic-agent-skills

In Claude.ai, Anthropic says its example skills are already available on paid plans: switch them on under Customize > Skills.

Or paste this into your coding agent: Install the agent skill web-artifacts-builder from github.com/anthropics/skills. Checked by CookiesForAI on : license and last change of the skill re-read from GitHub. A skill can include scripts that run on your computer, so read its source first.

What Web Artifacts Builder does

Web Artifacts Builder is an Anthropic skill for Claude.ai HTML artifacts that need state management, routing or shadcn/ui components. It is meant for complex, multi-component artifacts, not simple single-file HTML or JSX ones. The stack is React 18 with TypeScript, Vite, Tailwind CSS, shadcn/ui and Parcel for bundling. Its design rule steers away from heavily centered layouts, purple gradients, uniform rounded corners and the Inter font.

With Web Artifacts Builder, Claude runs a bundled setup script that creates a configured project with path aliases, more than 40 shadcn/ui components and their Radix UI dependencies. It needs Node 18 or later and picks a Vite version to match. Claude edits the code, then runs a second script that builds with Parcel and inlines all JavaScript, CSS and assets into a single bundle.html to share as an artifact. Testing is optional and comes after you see the result, when you ask or when issues arise.

When to use Web Artifacts Builder

  • You want a multi-view tool or dashboard in Claude.ai that needs state and routing.
  • You want shadcn/ui components in an artifact.
  • You need a React app delivered as one self-contained HTML file.

When to pick something else

  • You want a simple single-file HTML or JSX artifact: the skill says it is not for those.

Which agents Web Artifacts Builder works in

Anthropic documents Web Artifacts Builder for Claude Code, Claude.ai, Claude API. The open skills CLI also installs it into 78 agents, including Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode (we listed it with the CLI on ). See where each agent looks for skills.

Web Artifacts Builder is written for Claude.ai artifacts. Its scripts only need Node 18 or later and a shell, so another agent can produce the same single HTML file, but there is no artifact view outside Claude.

We also list this company's other pages: Claude Code coding tool.

Web Artifacts Builder license

Web Artifacts Builder is published under Apache-2.0. Apache-2.0 comes from the LICENSE.txt in the skill's own folder (read ); the anthropics/skills repository has no root license file. In practice you may use, change and share the skill in any agent, commercially too, as long as you keep the license text and notices and mark your changes.

More from Anthropic

Lists that include web-artifacts-builder