shadcn/ui expert

shadcn/ui expert is a skill for Claude Code, Codex from LuuOW/meridian-mcp. It costs 33 tokens per session (2,260 once invoked), scanned A, original, MIT.

A guide to using shadcn/ui, a collection of web interface components that you copy into your own project and customise. It explains setup, shared design settings, component locations, and reusable styling helpers.

In plain words
What is it for?
Use it to set up buttons, forms, dialogs, and other interface building blocks, organise component files, and adapt colours, spacing, and themes.
Why use it?
It gives a consistent starting point for interface elements while keeping their code under your control for product-specific changes.

Skill for Claude CodeCodex

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

Good fit Use it to set up buttons, forms, dialogs, and other interface building blocks, organise component files, and adapt colours, spacing, and themes.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/luuow/meridian-mcp/shadcn-ui"><img src="https://agentmods.dev/badge/skills/luuow/meridian-mcp/shadcn-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,260 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.00033 $0.02260
Opus 5.5 $0.00013 $0.00904
Sonnet 5.5 $0.00007 $0.00452
Haiku 4.5 $0.00003 $0.00226

Measured 2mo ago against content hash 17804f6b9b40, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shadcn/ui expert 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 2mo 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-ui/SKILL.md · 268 lines

How it starts

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

shadcn/ui Expert Skill Guide

Objective

Use shadcn/ui as a composable, copy-owned component baseline. Customise design tokens to match the product; never treat the library as a locked black box.

1) Setup and Configuration

npx shadcn@latest init
  • Confirm aliases (@/components, @/lib) and Tailwind config are correct.
  • Component output paths:
    • UI primitives: src/components/ui
    • Feature components: src/components/features or src/components/<domain>
  • Keep components.json committed and stable across teammates.
  • Add the cn merge helper in src/lib/utils.ts:
import { clsx, type ClassValue } from 'clsx'
import { twMerge } from 'tailwind-merge'
export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)) }

2) Token and Theme Strategy

Override CSS variables in globals.css — this is how shadcn separates colour from component code:

:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --primary: 221.2 83.2% 53.3%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --border: 214.3 31.8% 91.4%;
  --ring: 221.2 83.2% 53.3%;
  --radius: 0.5rem;
}
.dark {
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
}

Maintain one source of truth for radius, spacing, and typography rhythm.

3) Card Composition Pattern

shadcn Card is a composition — always use Card/CardHeader/CardTitle/CardContent:

import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'

function StatCard({ icon: Icon, label, value, variant = 'slate' }: {
  icon: React.ElementType
  label: string
  value: string | number
  variant?: 'slate' | 'red' | 'green'
}) {
  const colors = {
    slate: 'text-slate-600',
    red:   'text-red-500',
    green: 'text-green-600',
  }
  return (
    <Card>
      <CardContent className="pt-4">
        <div className="flex items-center gap-3">
          <Icon className={cn('h-5 w-5', colors[variant])} />
          <div>
            <p className="text-xs text-muted-foreground uppercase tracking-wide">{label}</p>
            <p className={cn('text-2xl font-semibold tabular-nums', colors[variant])}>{value}</p>
          </div>
        </div>
      </CardContent>
    </Card>
  )
}

Read the full file on GitHub · 268 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. 2mo ago First seen · 268 lines · 33 tokens per session scan A 17804f6b9b40

Subscribe to this mod's changes

shadcn/ui expert is a skill published in the GitHub repository LuuOW/meridian-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 2,260 once invoked, about $0.0001 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

shadcn/ui expert compared with skills from other repositories

shadcn/ui expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shadcn/ui expertLuuOW/meridian-mcpSkill01mo agoMITA33Claude Code, Codex
shadcn-uiwpank/aiSkill129mo agononeA56Claude Code, Codex
creative-tim-uicreativetimofficial/uiSkill12k8mo agoMITA91Claude Code, Codex
spark-uicodeweb-dev/spark-uiSkill1374mo agoMITA73Claude Code, Codex
shadcn-vueunovue/shadcn-vueSkill11k2d agoMITA97Claude Code
kiranism-shadcn-dashboardKiranism/next-shadcn-dashboard-starterSkill7.3k2d agoMITA142Claude Code, Codex
shadcn-ui-flutternank1ro/flutter-shadcn-uiSkill2.9k6d agoMITA58Claude Code, Codex