web-artifacts-builder

Scaffold a React + Vite project and bundle it into a single HTML file.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/ollieb89/.codex --skill web-artifacts-builder-ollieb89
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/ollieb89/.codex/tree/main/skills/web-artifacts-builder
Command: npx skills add https://github.com/ollieb89/.codex --skill web-artifacts-builder-ollieb89

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline, pnpm, and includes scripts (resource) components.

What problem does it solve?

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.

Core Features & Use Cases

  • End-to-end artifact pipeline: scaffold a React + Vite project, develop UI components, and bundle into a single HTML artifact.
  • Preconfigured styling and UI tooling with Tailwind CSS and shadcn/ui, including routing and state management considerations.
  • Use Case: Create interactive Claude artifacts for demos or client deliverables, then export as a single portable HTML file for Claude conversations.

Quick Start

Initialize a new Claude HTML artifact project by running the initialization script with your chosen project name.

Frequently Asked Questions about web-artifacts-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bundle a React app into a single HTML file for Claude artifacts?▼

Bundling a React app into a single HTML file involves scaffolding a React + Vite project, then using Parcel and html-inline to compile and inline all assets into one portable file.

When should I use a full React pipeline instead of simple HTML for Claude artifacts?▼

You need a full React pipeline for Claude artifacts when your project requires complex state management, routing, or shadcn/ui components. Simple single-file HTML or JSX is better for basic artifacts without these dependencies.

What dependencies do I need to build Claude HTML artifacts with React?▼

Building Claude HTML artifacts with React requires Node.js, PNPM, Parcel, the default Parcel config, parcel-resolver-tspaths, and html-inline to initialize, bundle, and inline assets into the final output.

Can I use Tailwind CSS and shadcn/ui components in Claude artifacts?▼

Yes, you can use Tailwind CSS and shadcn/ui components in Claude artifacts. The pipeline preconfigures these styling and UI tooling options within the scaffolded React + Vite project environment.

Does the React artifact bundling process support routing and state management?▼

Yes, the React artifact bundling process supports routing and state management. It is specifically designed for developers creating interactive Claude artifacts that require these advanced frontend capabilities.