dev-shadcn

dev-shadcn is a skill for Claude Code from christopherlouet/claude-base. It costs 57 tokens per session (642 once invoked), scanned A, original, MIT.

A guide for shadcn/ui, a collection of copy-and-customize React interface components built with Radix and Tailwind.

In plain words
What is it for?
Use it to install shadcn/ui, add components, customize their theme, and adapt CSS tokens to a project's visual style.
Why use it?
It helps keep component installation, theming, and customization aligned with the library's current tools and patterns.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ln -s ~/dev/vendor-skills/shadcn-ui/skills/shadcn ./.claude/skills/shadcn.

Good fit Use it to install shadcn/ui, add components, customize their theme, and adapt CSS tokens to a project's visual style.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/christopherlouet/claude-base
agentmods
npx agentmods add skills/christopherlouet/claude-base/dev-shadcn

Made for: Claude Code.

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 dev-shadcn

README.md
[![agentmods](https://agentmods.dev/badge/skills/christopherlouet/claude-base/dev-shadcn/github.svg)](https://agentmods.dev/skills/christopherlouet/claude-base/dev-shadcn)
Your own site
<a href="https://agentmods.dev/skills/christopherlouet/claude-base/dev-shadcn"><img src="https://agentmods.dev/badge/skills/christopherlouet/claude-base/dev-shadcn/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 dev-shadcn

Your own site · 80×15
<a href="https://agentmods.dev/skills/christopherlouet/claude-base/dev-shadcn"><img src="https://agentmods.dev/badge/skills/christopherlouet/claude-base/dev-shadcn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 642 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.
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.00057 $0.00642
Opus 5.5 $0.00023 $0.00257
Sonnet 5.5 $0.00011 $0.00128
Haiku 4.5 $0.00006 $0.00064

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

Security

Grade A, and why

dev-shadcn 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 22d 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.

.claude/skills/dev-shadcn/SKILL.md · 41 lines

How it starts

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

shadcn/ui (pointer)

The canonical shadcn skill ships inside the library repository itself at shadcn-ui/ui/skills/shadcn. Because it lives next to the source, it stays in sync with the CLI v4 release flow — registry workflows, Radix + Base UI primitives, theming, and component patterns are updated the moment they ship, substantially deeper and fresher than the prior foundation skill (258 lines) could maintain.

Delegate to the vendor skill

# shadcn's own CLI exposes the skill (verify on https://ui.shadcn.com/docs/skills):
npx shadcn skill add shadcn

# Fallback — clone the canonical repo and symlink:
git clone --depth 1 https://github.com/shadcn-ui/ui ~/dev/vendor-skills/shadcn-ui
ln -s ~/dev/vendor-skills/shadcn-ui/skills/shadcn ./.claude/skills/shadcn

Recipe entry: docs/recipes/recommended-vendor-skills.md §"shadcn/ui — canonical skill in main repo". Reduction rationale: specs/foundation-positioning-review/spec.md Wave 1.

Foundation-unique angle preserved: art direction

If the project declares a Style: direction in CLAUDE.md (.claude/rules/design-style.md), adapt the shadcn CSS tokens accordingly — the vendor skill stays direction-neutral, this mapping is foundation-specific:

Direction shadcn adaptation
terminal --radius: 0px, dark palette + neon accent, mono font everywhere
cockpit --radius: 4px, functional colors (OK/warn/alert), dense layout
vitality --radius: 14px, vivid palette, spring animations
editorial --radius: 2px, black/white + one accent, serif for titles
glass --radius: 14px, backdrop-blur on cards and dialogs
signal --radius: 4px, gray only, compact sizes

Foundation rules preserved

  • shadcn components are copy-pasted into your codebase, not installed as a dependency — treat them as first-class application code subject to TDD, security review, and /qa:wcag-audit for accessibility regressions when customised.
  • NEVER override component styles via !important — modify the CSS variables instead.
  • NEVER copy shadcn components into node_modules/ or a libs-internal folder.

Read the full file on GitHub · 41 lines

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. 22d ago Changed · -2 lines 42f670252c44
  2. 23d ago Changed · -6 lines c68e32c36145
  3. 24d ago Changed · -1 lines cb23b3b1bc3a
  4. 1mo ago First seen · 50 lines · 57 tokens per session scan A 18b6981dfd21

Subscribe to this mod's changes

dev-shadcn is a skill published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed 2d ago), licensed MIT. It adds 57 tokens to every session and 642 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

generic-react-design-system

Complete design system reference for React applications. Covers colors, typography, spacing, component patterns, glassmorphism effects, GPU-accelerated animations, and WCAG AA accessibility. Use when implementing UI, choosing colors, applying spacing, creating components, or ensuring brand consistency.

travisjneuman/.claude · 59 tokens

generic-react-ux-designer

Professional UI/UX design expertise for React applications. Covers design thinking, user psychology (Hick's/Fitts's/Jakob's Law), visual hierarchy, interaction patterns, accessibility, performance-driven design, and design critique. Use when designing features, improving UX, solving user problems, or conducting design…

travisjneuman/.claude · 69 tokens

frontend-enhancer

Enhance the visual design of web apps: modern UI components, layout, responsive design, color palettes, animations. Use for styling and UI polish; pair with ui-research first for new design directions.

travisjneuman/.claude · 45 tokens

generic-design-system

Complete design system reference for any project - colors, typography, spacing, components, animations. Adapts to project theme and tech stack. Use when implementing UI, choosing colors, creating animations, or ensuring brand consistency. For new design systems, use ui-research skill first.

travisjneuman/.claude · 60 tokens

generic-static-design-system

Complete design system reference for static HTML/CSS/JS sites. Covers colors, typography, component patterns, animations, and accessibility. Use when implementing UI, choosing colors, or ensuring brand consistency.

travisjneuman/.claude · 44 tokens

generic-static-ux-designer

Professional UI/UX design expertise for static HTML/CSS/JS sites. Covers design thinking, user psychology, visual hierarchy, minimalist interaction patterns, accessibility, and performance-driven design. Use when designing features, improving UX, or conducting design reviews.

travisjneuman/.claude · 56 tokens