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.
npx agentmods add skills/justmichael-80/mastervault/web-artifacts-buildernpx skills add JustMichael-80/MasterVault --skill web-artifacts-buildergit clone --depth 1 https://github.com/JustMichael-80/MasterVaultWrote 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.
[](https://agentmods.dev/skills/justmichael-80/mastervault/web-artifacts-builder)<a href="https://agentmods.dev/skills/justmichael-80/mastervault/web-artifacts-builder"><img src="https://agentmods.dev/badge/skills/justmichael-80/mastervault/web-artifacts-builder.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00064 | $0.00699 |
| Opus 5 | $0.00032 | $0.00349 |
| Sonnet 5 | $0.00013 | $0.00140 |
| Haiku 4.5 | $0.00006 | $0.00070 |
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 4d ago.
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.
This is a copy
100% identical to web-artifacts-builder — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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>
This creates a fully configured project with:
- ✅ React + TypeScript (via Vite)
- ✅ Tailwind CSS 3.4.1 with shadcn/ui theming system
- ✅ Path aliases (
@/) configured - ✅ 40+ shadcn/ui components pre-installed
- ✅ All Radix UI dependencies included
- ✅ Parcel configured for bundling (via .parcelrc)
- ✅ Node 18+ compatibility (auto-detects and pins Vite version)
Step 2: Develop Your Artifact
To build the artifact, edit the generated files. See Common Development Tasks below for guidance.
Step 3: Bundle to Single HTML File
To bundle the React app into a single HTML artifact:
bash scripts/bundle-artifact.sh
This creates bundle.html - a self-contained artifact with all JavaScript, CSS, and dependencies inlined. This file can be directly shared in Claude conversations as an artifact.
Requirements: Your project must have an index.html in the root directory.
What the script does:
- Installs bundling dependencies (parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline)
- Creates
.parcelrcconfig with path alias support - Builds with Parcel (no source maps)
- Inlines all assets into single HTML using html-inline
What ships with it
49 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.
- LICENSE.txt 11 KB
- scripts/bundle-artifact.sh 1.5 KB runs code
- scripts/init-artifact.sh 9.7 KB runs code
- scripts/shadcn-components.tar.gz 19 KB
- scripts/shadcn-components/components/ui/accordion.tsx 2.0 KB
- scripts/shadcn-components/components/ui/alert.tsx 1.6 KB
- scripts/shadcn-components/components/ui/aspect-ratio.tsx 140 B
- scripts/shadcn-components/components/ui/avatar.tsx 1.4 KB
- scripts/shadcn-components/components/ui/badge.tsx 1.1 KB
- scripts/shadcn-components/components/ui/breadcrumb.tsx 2.6 KB
- scripts/shadcn-components/components/ui/button.tsx 1.9 KB
- scripts/shadcn-components/components/ui/calendar.tsx 7.4 KB
- scripts/shadcn-components/components/ui/card.tsx 1.8 KB
- scripts/shadcn-components/components/ui/carousel.tsx 6.1 KB
- scripts/shadcn-components/components/ui/checkbox.tsx 1.0 KB
- scripts/shadcn-components/components/ui/collapsible.tsx 315 B
- scripts/shadcn-components/components/ui/command.tsx 4.8 KB
- scripts/shadcn-components/components/ui/context-menu.tsx 7.2 KB
- scripts/shadcn-components/components/ui/dialog.tsx 3.7 KB
- scripts/shadcn-components/components/ui/drawer.tsx 3.0 KB
- scripts/shadcn-components/components/ui/dropdown-menu.tsx 7.4 KB
- scripts/shadcn-components/components/ui/form.tsx 4.0 KB
- scripts/shadcn-components/components/ui/hover-card.tsx 1.2 KB
- scripts/shadcn-components/components/ui/input.tsx 768 B
- scripts/shadcn-components/components/ui/label.tsx 724 B
- scripts/shadcn-components/components/ui/menubar.tsx 8.4 KB
- scripts/shadcn-components/components/ui/navigation-menu.tsx 5.0 KB
- scripts/shadcn-components/components/ui/popover.tsx 1.3 KB
- scripts/shadcn-components/components/ui/progress.tsx 778 B
- scripts/shadcn-components/components/ui/radio-group.tsx 1.4 KB
- scripts/shadcn-components/components/ui/resizable.tsx 1.7 KB
- scripts/shadcn-components/components/ui/scroll-area.tsx 1.6 KB
- scripts/shadcn-components/components/ui/select.tsx 5.6 KB
- scripts/shadcn-components/components/ui/separator.tsx 770 B
- scripts/shadcn-components/components/ui/sheet.tsx 4.2 KB
- scripts/shadcn-components/components/ui/skeleton.tsx 266 B
- scripts/shadcn-components/components/ui/slider.tsx 1.0 KB
- scripts/shadcn-components/components/ui/sonner.tsx 880 B
- scripts/shadcn-components/components/ui/switch.tsx 1.1 KB
- scripts/shadcn-components/components/ui/table.tsx 2.8 KB
- scripts/shadcn-components/components/ui/tabs.tsx 1.8 KB
- scripts/shadcn-components/components/ui/textarea.tsx 649 B
- scripts/shadcn-components/components/ui/toast.tsx 4.7 KB
- scripts/shadcn-components/components/ui/toaster.tsx 786 B
- scripts/shadcn-components/components/ui/toggle-group.tsx 1.7 KB
- scripts/shadcn-components/components/ui/toggle.tsx 1.5 KB
- scripts/shadcn-components/components/ui/tooltip.tsx 1.2 KB
- scripts/shadcn-components/hooks/use-toast.ts 3.8 KB runs code
- scripts/shadcn-components/lib/utils.ts 166 B runs code
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.
- 4d ago First seen · 74 lines · 64 tokens per session scan A 81c5002c6643
web-artifacts-builder is a skill published in the GitHub repository JustMichael-80/MasterVault (12 stars, last pushed 22d ago), licensed MIT. It adds 64 tokens to every session and 699 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to web-artifacts-builder, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
wiki-ingest
Ingest supplied source material into an Obsidian vault with provenance and claim tracking: pasted text, files staged in the selected vault's inbox or .raw archive, or explicitly approved URLs. Use for a single source or bounded batch, not for saving an assistant answer. Triggers: ingest, ingest this file, ingest this…
autoresearch
Run a bounded, source-grounded research loop, draft a cited dossier, and optionally propose a separately reviewed canonical vault merge. Use when the user wants autonomous or deep research that may access the public web. Triggers: /autoresearch, autoresearch, research this topic, deep dive into, investigate, find…
canvas
Create, inspect, and update Obsidian JSON Canvas boards with text, file, link, group, and edge nodes. Use for canvas status, canvas lists, visual maps, zones, spatial layouts, adding vault notes or media to a .canvas file, and requests such as create canvas, add to canvas, or put this on the canvas.
wiki-retrieve
Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…
wiki
Initialize, adopt, and route work for a separate Obsidian knowledge vault through the portable claude-obsidian core. Use for vault setup, scaffolding, workspace selection, cross-project configuration, or choosing the correct wiki sub-skill. Triggers: /wiki, set up wiki, scaffold vault, create knowledge base, adopt…
defuddle
Plan and, with explicit network consent, use an optional external Defuddle cleaner to extract article-like HTTPS pages as Markdown. Use for defuddle, clean this URL, strip page clutter, readable Markdown from a web page, or preparing a web source for later wiki ingestion.