camelAI: Skill for Claude Code

.agents/skills/shadcn-components/SKILL.md

shadcn-components is a skill for Claude Code, Codex from qaml-ai/camelAI. It costs 53 tokens per session (673 once invoked), scanned A, original, MIT.

A guide for building web interfaces with shadcn/ui, a collection of reusable interface components such as forms, buttons, cards, tabs, and sidebars.

In plain words
What is it for?
Use it when creating pages, forms, modals, navigation, sidebars, dashboards, or other frontend interfaces. It covers finding, installing, and composing components.
Why use it?
It helps choose and combine existing components before writing custom interface code, reducing unnecessary one-off work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is qaml-ai/camelAI's own configuration. It tells Claude Code and Codex how to work on camelAI itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything camelAI configures →

Reuse

Borrowing it

Nothing to install: this file belongs to qaml-ai/camelAI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/qaml-ai/camelAI/main/.agents/skills/shadcn-components/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/qaml-ai/camelAI

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/qaml-ai/camelai/shadcn-components"><img src="https://agentmods.dev/badge/skills/qaml-ai/camelai/shadcn-components.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 673 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 pass 7 Sept 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.00053 $0.00673
Opus 5 $0.00026 $0.00336
Sonnet 5 $0.00011 $0.00135
Haiku 4.5 $0.00005 $0.00067

Measured 10d ago against content hash 14f53b70a19f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

shadcn-components 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 10d 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.

.agents/skills/shadcn-components/SKILL.md · 61 lines

How it starts

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

shadcn UI Components

Required Workflow

Before writing ANY UI code:

  1. Check docs/shadcn-components.md for relevant primitives
  2. Use MCP mcp__shadcn__search_items_in_registries to find blocks matching your need
  3. Install blocks/components before customizing:
    • camelAI DO-backed project: add_shadcn_component({ project: "<project>", components: ["accordion", "tabs", "progress"] }) for supported bundled primitives
    • Local repo shell: bunx --bun shadcn@latest add <component> --yes
  4. Only build custom components when no shadcn primitive or block exists

Composition Philosophy

shadcn components are primitives meant to be stacked, not standalone solutions.

Mental model: Decompose UI into shadcn primitives first:

  • Login page = Card + Form + Field + Input + Button
  • Settings page = Tabs + Card + Form + Switch + Select
  • Dashboard = Sidebar + Card + Table + Chart + Badge
  • Modal form = Dialog + Form + Field + Input + Button

Pattern: Container → Layout → Interactive → Feedback

  • Containers: Card, Dialog, Sheet, Sidebar
  • Layout: Tabs, Accordion, Separator, ScrollArea
  • Interactive: Button, Input, Select, Switch, Checkbox
  • Feedback: Alert, Toast, Badge, Skeleton

DO NOT Build Custom Implementations Of:

Buttons, inputs, dialogs, dropdowns, cards, forms, navigation, tables, tooltips, popovers, or any component that exists in shadcn. Use the primitives.

MCP Tools Available

  • mcp__shadcn__search_items_in_registries - Search for components/blocks by keyword
  • mcp__shadcn__view_items_in_registries - View component details and files
  • mcp__shadcn__get_item_examples_from_registries - Get usage examples
  • mcp__shadcn__get_add_command_for_items - Get install command

Project Configuration

  • Style: new-york / compact-dense interface
  • Base color: zinc
  • Font: Inter
  • Radius: 0.5rem-0.75rem depending on app scaffold
  • Icons: Lucide
  • Main repo components location: src/components/ui/
  • Generated app components location: app/components/ui/
  • Generated app aliases: ~/components, ~/components/ui, ~/lib/utils

Read the full file on GitHub · 61 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. 10d ago First seen · 61 lines · 53 tokens per session scan A 14f53b70a19f

Subscribe to this mod's changes

shadcn-components is a skill published in the GitHub repository qaml-ai/camelAI (367 stars, last pushed 5d ago), licensed MIT. It adds 53 tokens to every session and 673 once invoked, about $0.0003 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

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…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 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