web-artifacts-builder

web-artifacts-builder is a skill for Claude Code, Codex from Prismer-AI/PrismerCloud. It costs 63 tokens per session (1,079 once invoked), scanned A, original, MIT.

A toolkit for building complex HTML interfaces inside Claude using React, Tailwind CSS, and shadcn/ui, a library of ready-made interface components.

In plain words
What is it for?
It is for creating multi-part interactive web artifacts and packaging the finished result as a single HTML file.
Why use it?
It provides a structure for artifacts that need multiple components, stored state, or page navigation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for creating multi-part interactive web artifacts and packaging the finished result as a single HTML file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prismer-ai/prismercloud/web-artifacts-builder
About the project

Prismer Cloud is an infrastructure layer for AI agents that provides shared learning, compressed context, persistent memory, collaboration, messaging, tasks, identity, and workspaces. It is for agents and the people building or using long-running agent systems that need information and outcomes to persist across sessions. The catalogue entries provide skills, hooks, agents, instructions, and a plugin for using Prismer Cloud.

Prismer-AI/PrismerCloud · 1,384 stars · on GitHub · prismer.cloud

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Prismer-AI/PrismerCloud --skill web-artifacts-builder
Clone the repo
git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for web-artifacts-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/prismer-ai/prismercloud/web-artifacts-builder/github.svg)](https://agentmods.dev/skills/prismer-ai/prismercloud/web-artifacts-builder)
Your own site
<a href="https://agentmods.dev/skills/prismer-ai/prismercloud/web-artifacts-builder"><img src="https://agentmods.dev/badge/skills/prismer-ai/prismercloud/web-artifacts-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web-artifacts-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/prismer-ai/prismercloud/web-artifacts-builder"><img src="https://agentmods.dev/badge/skills/prismer-ai/prismercloud/web-artifacts-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,079 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.01079
Opus 5.5 $0.00025 $0.00432
Sonnet 5.5 $0.00013 $0.00216
Haiku 4.5 $0.00006 $0.00108

Measured 21d ago against content hash bb7f74d88ace, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

web-artifacts-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/bundle-artifact.sh, scripts/init-artifact.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

sdk/cloud/catalog/skills/web-artifacts-builder/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Delivering the bundled artifact

When the bundle script (scripts/bundle-artifact.sh) produces the single-file HTML artifact, deliver that bundle.html with cloud deliver <abs-path> — this is the one command for a final artifact: it attaches the file to your current reply. Run cloud deliver once per output file. See the office-artifacts delivery contract for the full rules (incl. the hermes --run-id / --conversation-id flags).

Do NOT also run cloud file send on the same bundle — that posts a separate file-only message, delivering it twice. cloud file send is only for ad-hoc mid-conversation sharing, never for your final deliverable. And cloud file upload is NOT a delivery command (it only uploads bytes and returns an uploadId — nothing reaches the user) — always use cloud deliver.

Do NOT hand-build POST /api/im/assets calls or assemble ContentBlock JSON yourself, and do NOT paste the HTML source into the reply body — large bundles burn tokens on every downstream turn, and the delivery command registers the asset so the chat renderer can offer a preview/open button.

Web Artifacts Builder

To build powerful frontend Prismer 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

Runtime baseline (release 201)

The Prismer sandbox image bakes pnpm@9 and Node 20+, so scripts/init-artifact.sh will skip the "install pnpm" branch and proceed directly to the workspace create + dependency install. If pnpm is genuinely missing (non-sandbox env), fail the task with a clear "sandbox image missing pnpm — rebuild required" message rather than installing it on the fly: agent-time npm install -g contaminates the per-task workdir and slows every dispatch.

Read the full file on GitHub · 105 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago Changed · +1 lines · -1 tokens per session bb7f74d88ace
  2. 1mo ago First seen · 104 lines · 64 tokens per session scan A ac1d2d437ea3

Subscribe to this mod's changes

web-artifacts-builder is a skill published in the GitHub repository Prismer-AI/PrismerCloud (1,384 stars, last pushed 6d ago), licensed MIT. It adds 63 tokens to every session and 1,079 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

calesthio/OpenMontage · 58 tokens

frontend

Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.

code-yeongyu/oh-my-openagent · 49 tokens

ambience-skill

Layer A ambience-and-typographic-motion reference anchored to the react-bits catalog (reactbits.dev). Stacks on any style skill whenever work adds a hero atmosphere, an animated or shader background, a typographic reveal (split, blur, shimmer, typewriter, count-up, marquee), scroll storytelling, or card surface…

code-yeongyu/oh-my-openagent · 132 tokens

21st-ui

Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.

21st-dev/magic-mcp · 63 tokens

cometchat-react-v7-customization

Theme and brand the React v7 UI Kit — light/dark mode, CSS custom-property design tokens, per-component style overrides. Triggers: 'change chat colors', 'dark mode chat', 'match my brand', 'customize cometchat theme', 'override message list styles'.

cometchat/cometchat-skills · 67 tokens

shadcn

Current best-practices guide for shadcn/ui applications. Before applying primitive-specific guidance, inspect whether the checked-in components use Radix UI or Base UI; current shadcn supports both (Base UI is the default for new projects) and their composition APIs differ. Component installs and upgrades go through…

PyModel/react-frontend-skills · 16 tokens