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/jamestorrevillas/dev-skills/web-artifacts-buildernpx skills add jamestorrevillas/dev-skills --skill web-artifacts-buildergit clone --depth 1 https://github.com/jamestorrevillas/dev-skillsWrote 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/jamestorrevillas/dev-skills/web-artifacts-builder)<a href="https://agentmods.dev/skills/jamestorrevillas/dev-skills/web-artifacts-builder"><img src="https://agentmods.dev/badge/skills/jamestorrevillas/dev-skills/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.1 | $0.00072 | $0.00961 |
| Opus 5 | $0.00036 | $0.00481 |
| Sonnet 5 | $0.00014 | $0.00192 |
| Haiku 4.5 | $0.00007 | $0.00096 |
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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Web Artifacts Builder
When to Use This Skill
Use for complex, multi-component applications. For simple single components, use frontend-design instead.
Signs you need this skill:
- Multiple views or pages
- Global state management
- Complex user interactions with multiple data flows
- Dashboard with multiple widgets
- Form wizard with multiple steps
Technology Stack
Recommended Stack (2026)
Framework: Next.js 15 (App Router) or React 19
Styling: Tailwind CSS v4
Components: shadcn/ui (accessible primitives)
State: Zustand (client) + TanStack Query (server)
Forms: React Hook Form + Zod
Animation: Motion (formerly Framer Motion)
Icons: Lucide React
Application Architecture
src/
├── app/ # Next.js App Router pages
│ ├── layout.tsx # Root layout
│ ├── page.tsx # Home page
│ └── [feature]/
│ └── page.tsx
├── components/
│ ├── ui/ # shadcn/ui components
│ └── [feature]/ # Feature-specific components
├── lib/
│ ├── utils.ts # Shared utilities
│ └── validations.ts # Zod schemas
├── hooks/ # Custom React hooks
├── stores/ # Zustand stores
└── types/ # TypeScript types
shadcn/ui Component Usage
import { Button } from "@/components/ui/button"
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
import { Input } from "@/components/ui/input"
import { Label } from "@/components/ui/label"
import { Badge } from "@/components/ui/badge"
import { Dialog, DialogContent, DialogHeader, DialogTitle } from "@/components/ui/dialog"
Always use shadcn/ui primitives for standard UI elements — they're accessible by default and consistent.
State Management Pattern
// Zustand store
import { create } from 'zustand'
interface AppStore {
user: User | null
setUser: (user: User | null) => void
selectedItems: string[]
toggleItem: (id: string) => void
clearSelection: () => void
}
export const useAppStore = create<AppStore>((set) => ({
user: null,
setUser: (user) => set({ user }),
selectedItems: [],
toggleItem: (id) => set((state) => ({
selectedItems: state.selectedItems.includes(id)
? state.selectedItems.filter(i => i !== id)
: [...state.selectedItems, id]
})),
clearSelection: () => set({ selectedItems: [] })
}))
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.
- 6d ago First seen · 143 lines · 0 tokens per session scan A c9659dca2378
web-artifacts-builder is a skill published in the GitHub repository jamestorrevillas/dev-skills (3 stars, last pushed 5mo ago), licensed MIT. It adds 72 tokens to every session and 961 once invoked, about $0.0004 per session on Opus 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-31.
Other skills, from other repositories
framework-upgrade-guide
Analyze a TypeScript/Node project (Angular, React, or Vue), read its dependencies, flag deprecated/EOL packages and known vulnerabilities, and produce a careful stepwise major-by-major upgrade guide (e.g. Angular 15→16→17→18→19) written to a file. Use this whenever the user wants to upgrade, migrate, or modernize a…
frontend-patterns
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices. Use when building or reviewing React or Next.js components, state, or render performance.
remotion
Toolkit-specific Remotion patterns — custom transitions, shared components, and project conventions. For core Remotion framework knowledge (hooks, animations, rendering, etc.), see the remotion-official skill.
react-web
React web development with hooks, React Query, Zustand.
remotion-create
Creating a new Remotion video.
remotion-interactivity
Best practices for writing Remotion animations that stay intuitive for agents and editable in Remotion Studio Visual Mode.