shadcn-ui

shadcn-ui is a skill for Claude Code from oyi77/1ai-skills. It costs 40 tokens per session (1,511 once invoked), scanned A, original, MIT.

A collection of reusable React components built with Tailwind CSS and Radix UI. The component source code is copied into the project, so developers can change it directly.

In plain words
What is it for?
It helps build React and Next.js sites, dashboards, SaaS applications, forms, data tables, dark themes, and customised component libraries.
Why use it?
It provides ready-made, accessible interface building blocks without hiding the implementation behind a package dependency.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the 1ai-skills plugin — 209 skills, 4 commands shipped together

Good fit It helps build React and Next.js sites, dashboards, SaaS applications, forms, data tables, dark themes, and customised component libraries.

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

Made for: Claude Code.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 209 skills, 4 commands.

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-ui

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/shadcn-ui"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/shadcn-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,511 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
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 100
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 101
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00040 $0.01511
Opus 5 $0.00020 $0.00756
Sonnet 5 $0.00008 $0.00302
Haiku 4.5 $0.00004 $0.00151

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

Security

Grade A, and why

shadcn-ui 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 8d 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.

content/shadcn-ui/SKILL.md · 219 lines

How it starts

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

Overview

shadcn/ui is a collection of reusable components built with Radix UI and Tailwind CSS. Components are copied into your project, not installed as dependencies — giving you full control over customization.

Capabilities

  • CLI-based component installation into your project
  • Full source code ownership — components live in your codebase
  • Theming via CSS variables and Tailwind config
  • Dark mode support out of the box
  • Forms with React Hook Form + Zod validation
  • Data tables with TanStack Table integration

When to Use

Trigger phrases:

  • "shadcn ui"

  • "Starting a new React/Next"

  • "Need accessible components without vendor lock-in"

  • "Want Tailwind-native components with full customization"

  • Starting a new React/Next.js project with polished UI

  • Need accessible components without vendor lock-in

  • Want Tailwind-native components with full customization

  • Building admin dashboards, SaaS apps, or marketing sites

When NOT to Use

  • Task is about content strategy, not creation (use strategy skills)
  • Task is about content distribution (use distribution skills)
  • You need to analyze content performance (use analytics skills)
  • Task is about content moderation (use moderation tools)
  • You don't have content guidelines
  • Task requires domain expertise (consult experts)

Pseudo Code

The shadcn-ui workflow follows a standard pipeline pattern.

Core flow:

# shadcn-ui primary flow
input = prepare(raw_data)
result = process(input, config={component, components, copy, library, paste})
validate(result)
deliver(result)

Error handling:

on error:
  log(error_details)
  retry_with_backoff(max=3)
  if still_failing: alert_and_escalate()

Core Workflow

# shadcn-ui primary flow
input = prepare(raw_data)
result = process(input, config={component, components, copy, library, paste})
validate(result)
deliver(result)

Error Handling

on error:
  log(error_details)
  retry_with_backoff(max=3)
  if still_failing: alert_and_escalate()

Read the full file on GitHub · 219 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. 8d ago First seen · 219 lines · 40 tokens per session scan A 727f2ec41c8c

Subscribe to this mod's changes

shadcn-ui is a skill published in the GitHub repository oyi77/1ai-skills (12 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 1,511 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

frontend-design

Design and implement polished web components, pages, and applications with a coherent visual direction and usable interaction states.

seaworld008/Commonly-used-high-value-skills · 24 tokens

figma

Fetch Figma design context, variables, screenshots, and assets through MCP when working from Figma URLs or node IDs, or diagnosing its integration.

seaworld008/Commonly-used-high-value-skills · 32 tokens

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.

hamr0/agentic-toolkit · 63 tokens

frontend-specialist

Frontend development agent for React, Vue, Next.js with modern UI/UX patterns.

glincker/claude-code-marketplace · 20 tokens

web-design-engineer

Build or redesign polished browser-rendered visual artifacts with HTML/CSS/JavaScript/React: pages, dashboards, prototypes, slide decks, animations, UI mockups, and data visualizations. Use for visual front-end creation, design-system exploration, design critique, or explicit browser acceptance / QA of a web artifact.…

ConardLi/garden-skills · 96 tokens

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

calesthio/OpenMontage · 58 tokens