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 skills add blockmatic/basilic --skill shadcn-v3git clone --depth 1 https://github.com/blockmatic/basilicWrote 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/blockmatic/basilic/shadcn-v3)<a href="https://agentmods.dev/skills/blockmatic/basilic/shadcn-v3"><img src="https://agentmods.dev/badge/skills/blockmatic/basilic/shadcn-v3.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.00074 | $0.01272 |
| Opus 5 | $0.00037 | $0.00636 |
| Sonnet 5 | $0.00015 | $0.00254 |
| Haiku 4.5 | $0.00007 | $0.00127 |
Grade A, and why
shadcn-v3 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 5d 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 — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: shadcn
Scope
- Applies to: Tailwind v4 with shadcn/ui setup, CSS variable architecture, dark mode, theme configuration, component composition patterns, accessibility, form integration
- Does NOT cover: Tailwind v3, PostCSS configuration
Assumptions
- Tailwind CSS v4+
- shadcn/ui latest
- Next.js 16 (this repo); CSS-first Tailwind v4, not Vite
- React 18+ or Next.js 14+
- TypeScript 6+
Principles
- Use
@theme inlineto map CSS variables to Tailwind tokens - Use
hsl()wrapper for color values in:rootand.dark - Set
"tailwind.config": ""incomponents.json(empty for v4) - Delete
tailwind.config.tsif it exists (v4 uses CSS-based config) - Use CSS-first Tailwind v4 in the Next app (not
@tailwindcss/vite) - Use
cn()utility for conditional classes - Semantic colors automatically adapt to dark mode (no
dark:variants needed) - Use
@plugindirective for plugins (not@importorrequire()) - Compose complex components from smaller shadcn primitives
- Extend components via wrapper pattern (don't modify originals)
- Use CVA (class-variance-authority) for variant systems
- Use
forwardRefonly when a parent must attach a ref (React 19 does not require it by default) - Leverage Radix UI primitives for built-in accessibility
Constraints
MUST
- Wrap color values with
hsl()in:rootand.dark - Use
@theme inlineto map all CSS variables - Set
"tailwind.config": ""incomponents.json - Delete
tailwind.config.tsif it exists - Use CSS-first Tailwind v4 in Next apps (
@import "tailwindcss"in CSS)
SHOULD
- Use semantic color tokens (
--background,--foreground, etc.) - Use
cn()utility for conditional classes - Use
@plugindirective for plugins - Compose components from smaller shadcn primitives
- Use wrapper pattern to extend components (don't modify originals)
- Use CVA for variant systems in custom components
- Use
forwardRefwhen a parent must attach a ref - Test accessibility with keyboard navigation and screen readers
- Use Radix UI primitives for complex interactions (dialogs, dropdowns, etc.)
- Provide ARIA labels for icon-only buttons and interactive elements
- Use
@tailwindcss/viteonly when the app is Vite-based (not Next.js)
What ships with it
12 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.
- references/accessibility.md 11 KB
- references/architecture.md 4.2 KB
- references/common-gotchas.md 7.4 KB
- references/component-patterns.md 13 KB
- references/dark-mode.md 5.3 KB
- references/form-patterns.md 14 KB
- references/migration-guide.md 6.8 KB
- templates/component-extension.tsx 5.7 KB
- templates/components.json 396 B
- templates/index.css 4.5 KB
- templates/theme-provider.tsx 2.3 KB
- templates/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.
- 5d ago First seen · 144 lines · 74 tokens per session scan A ab6519c371bb
shadcn-v3 is a skill published in the GitHub repository blockmatic/basilic (89 stars, last pushed 2d ago), licensed MIT. It adds 74 tokens to every session and 1,272 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-09-03.
Other skills, from other repositories
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
antigravity-design-expert
Core UI/UX engineering skill for building highly interactive, spatial, weightless, and glassmorphism-based web interfaces using GSAP and 3D CSS.
frontend-ui-dark-ts
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
web-artifacts-builder
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.
liquid-metal-border
Add and tune animated liquid-metal WebGL borders with the React metal-fx package. Use when buttons, icon controls, chips, tabs, cards, or selected surfaces need a metallic active, selected, hover, focus, or premium border; when implementing the MetalFx component from metal.jakubantalik.com; or when troubleshooting its…
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.