Web Artifacts Builder skill for Claude
The Claude web artifacts builder skill by anthropics: Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui).
When Claude uses it
Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Web Artifacts Builder SKILL.md
A preview of the skill file from anthropics/skills (Complete terms in LICENSE.txt).
Web Artifacts Builder
To build powerful frontend claude.ai artifacts, follow these steps:
- Initialize the frontend repo using
scripts/init-artifact.sh - Develop your artifact by editing the generated code
- Bundle all code into a single HTML file using
scripts/bundle-artifact.sh - Display artifact to user
- (Optional) Test the artifact
Stack: React 18 + TypeScript + Vite + Parcel (bundling) + Tailwind CSS + shadcn/ui
Design & Style Guidelines
VERY IMPORTANT: To avoid what is often referred to as "AI slop", avoid using excessive centered layouts, purple gradients, uniform rounded corners, and Inter font.
Quick Start
Step 1: Initialize Project
Run the initialization script to create a new React project:
bash scripts/init-artifact.sh <project-name>
cd <project-name>
How to install the Claude web artifacts builder skill
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit anthropics/skills/skills/web-artifacts-builder#main ~/.claude/skills/web-artifacts-builderCodex
npx degit anthropics/skills/skills/web-artifacts-builder#main ~/.codex/skills/web-artifacts-builderClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What is the Claude web artifacts builder skill?
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
+How do I install Web Artifacts Builder in Claude Code?
Copy the skill folder into ~/.claude/skills/web-artifacts-builder, for example with "npx degit anthropics/skills/skills/web-artifacts-builder#main ~/.claude/skills/web-artifacts-builder". Claude Code loads it automatically and uses it when a task matches.
+Does Web Artifacts Builder work with ChatGPT or Codex?
Yes. Web Artifacts Builder uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/web-artifacts-builder. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Web Artifacts Builder free?
Web Artifacts Builder is published on GitHub by anthropics under the Complete terms in LICENSE.txt license; check the license terms before using it.