shadcn-component-discovery

shadcn-component-discovery is a skill for Claude Code, Codex from mattbx/shadcn-skills. It costs 155 tokens per session (2,672 once invoked), scanned A, original, MIT.

A discovery guide for finding ready-made shadcn-compatible web interface components across different component registries. shadcn is a collection and distribution method for reusable interface code.

In plain words
What is it for?
Use it to search registries for interface components and choose suitable sources before implementing a custom web interface.
Why use it?
It helps you check existing component libraries before spending time building a similar table, form, modal, dashboard, or animation yourself.

Skill for Claude CodeCodex

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

Good fit Use it to search registries for interface components and choose suitable sources before implementing a custom web interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mattbx/shadcn-skills/shadcn-component-discovery
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 mattbx/shadcn-skills --skill shadcn-component-discovery
Clone the repo
git clone --depth 1 https://github.com/mattbx/shadcn-skills

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 shadcn-component-discovery

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mattbx/shadcn-skills/shadcn-component-discovery"><img src="https://agentmods.dev/badge/skills/mattbx/shadcn-skills/shadcn-component-discovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,672 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
  • Socket pass 27 Apr 2026
  • Snyk warn 27 Apr 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.00155 $0.02672
Opus 5 $0.00077 $0.01336
Sonnet 5 $0.00031 $0.00534
Haiku 4.5 $0.00015 $0.00267

Measured 12d ago against content hash 60eda2246ab9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

shadcn-component-discovery 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 12d 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.

skills/shadcn-component-discovery/SKILL.md · 274 lines

How it starts

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

shadcn Component Discovery

Surface existing components from across the shadcn ecosystem — including registries the user hasn't configured yet — before spending effort on custom implementations.

How This Complements the Official shadcn Skill

The official shadcn skill (shipped with CLI v4) searches the registries declared in the user's components.json. That's the right tool once the user has decided which registries to use.

This skill fills the upstream gap: ecosystem-wide awareness. It helps the user find and choose registries they may not yet have configured — Magic UI for animations, Aceternity for hero sections, AI Elements for chat interfaces, ElevenLabs UI for voice components, and so on. Use this skill for "what exists out there"; let the official skill handle "install this thing I know about."

When both skills apply, this one runs first (discovery), then the official skill takes over for installation and project-aware work.

Core Principle

Search before building. Most UI needs have been solved in the shadcn ecosystem. The cost of a 10-second registry check is almost always less than custom-building something that already exists.

When to Trigger

Proactive triggers (activate before writing any component code):

  • User asks to build a table, form, modal, sidebar, dashboard, auth page, landing section, animation, carousel, chart, or any standard UI pattern
  • User describes a feature that implies UI (e.g. "add user accounts management" → table; "let users pick a date range" → date picker)
  • User mentions building something "like X" where X is a common pattern

Explicit triggers (user directly requests search):

  • "Find a component for..."
  • "Is there a shadcn component for..."
  • "Search registries for..."
  • "What exists for..."
  • "Any good [category] components?"
  • Direct mentions of specific registries (@animate-ui, Magic UI, Aceternity, Tailark, etc.)

Workflow

Step 1: Clarify the Need

Before searching, confirm:

  • Functionality: What must it do? (e.g. sortable + filterable + paginated table)
  • Style: Animated, minimal, accessible-first, dense, brutalist?
  • Constraints: Must support keyboard nav? Drag-drop? Mobile-first? SSR?

Read the full file on GitHub · 274 lines

Files

What ships with it

1 file 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. 12d ago First seen · 274 lines · 155 tokens per session scan A 60eda2246ab9

Subscribe to this mod's changes

shadcn-component-discovery is a skill published in the GitHub repository mattbx/shadcn-skills (18 stars, last pushed 4mo ago), licensed MIT. It adds 155 tokens to every session and 2,672 once invoked, about $0.0008 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-30.

Related

Other skills, from other repositories

kiranism-shadcn-dashboard

Guide for building features, pages, tables, forms, themes, and navigation in this Next.js 16 shadcn dashboard template. Use this skill whenever the user wants to add a new page, create a feature module, build a data table, add a form, configure navigation items, add a theme, set up RBAC access control, or work with…

Kiranism/next-shadcn-dashboard-starter · 142 tokens

top-design

Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…

wondelai/skills · 113 tokens

web-typography

Select, pair, and implement typefaces for web projects. Use when the user mentions "font pairing", "which typeface", "line height", "responsive typography", "web font loading", "type hierarchy", "variable fonts", "FOUT/FOIT", "typographic scale", or "the text is hard to read". Also trigger when choosing between system…

wondelai/skills · 128 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens

color-palette-generator

Create an HTML color palette from a mood, description, or image, with swatches, color codes, pairings, and contrast checks. Use for color schemes or brand colors.

AlpacaLabsLLC/skills-for-architects · 41 tokens

maquina-ui-standards

Build consistent, accessible UIs in Rails using maquinacomponents. Use this skill when implementing UI for features, creating views, building forms, or reviewing UI specs. Triggers on view creation, UI implementation, form building, layout design, or mentions of maquinacomponents usage.

maquina-app/maquina_components · 61 tokens