Design & FrontendOfficial · anthropics

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:

  1. Initialize the frontend repo using scripts/init-artifact.sh
  2. Develop your artifact by editing the generated code
  3. Bundle all code into a single HTML file using scripts/bundle-artifact.sh
  4. Display artifact to user
  5. (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>

Read the full SKILL.md on GitHub →

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-builder

Codex

npx degit anthropics/skills/skills/web-artifacts-builder#main ~/.codex/skills/web-artifacts-builder

Claude.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.

Related design & frontend skills

  1. Design

    Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, MuAPI, or UberLLM…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  2. Frontend Design

    Official

    Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one.

    anthropics/skills★ 197k
  3. Ui Ux Pro Max

    UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  4. Artifacts Builder

    Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind…

    ComposioHQ/awesome-claude-skills★ 80k
  5. Json Canvas

    Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections.

    obsidianmd/obsidian-skills★ 53k
  6. Mobile Ios Design

    Master iOS Human Interface Guidelines and SwiftUI patterns for building native iOS apps.

    wshobson/agents★ 43k
  7. Tailwind Design System

    Build scalable design systems with Tailwind CSS v4, design tokens, component libraries, and responsive patterns.

    wshobson/agents★ 43k
  8. Vercel Composition Patterns

    Official

    React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component…

    vercel-labs/agent-skills★ 34k
  9. Figma Create Design System Rules

    Official

    Generates custom design system rules for the user's codebase. Use when user says "create design system rules", "generate rules for my…

    openai/skills★ 29k

See all design & frontend skills →

More skills from anthropics

  1. Xlsx

    Official

    Use this skill any time a spreadsheet file is the primary input or output.

    anthropics/skills★ 197k
  2. Academy Guide

    Official

    Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching…

    anthropics/skills★ 197k
  3. Discernment Nudge

    Official

    After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans,…

    anthropics/skills★ 197k

All skills by anthropics →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.