shadcn-svelte

shadcn-svelte is an agent for Claude Code from Michael-Obele/shadcn-svelte-mcp. It costs 72 tokens per session (954 once invoked), scanned A, a copy of shadcn-svelte, MIT.

A SvelteKit interface specialist for building pages and components with shadcn-svelte and Bits UI, a set of reusable interface building blocks. It uses the shadcn-svelte MCP, a tool service for finding components and checking their documented options and install commands.

In plain words
What is it for?
Use it for landing pages, dashboards, forms, dialogs, tables, sidebars, icons, themes, and other SvelteKit interface work.
Why use it?
It helps avoid guessing component names, properties, file layouts, or install commands when building a SvelteKit interface. It also matches install examples to the project's package manager when the needed project files are available.

Agent for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it for landing pages, dashboards, forms, dialogs, tables, sidebars, icons, themes, and other SvelteKit interface work.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/michael-obele/shadcn-svelte-mcp/vscode-shadcn-svelte
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.

Clone the repo
git clone --depth 1 https://github.com/Michael-Obele/shadcn-svelte-mcp

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/michael-obele/shadcn-svelte-mcp/vscode-shadcn-svelte/github.svg)](https://agentmods.dev/agents/michael-obele/shadcn-svelte-mcp/vscode-shadcn-svelte)
Your own site
<a href="https://agentmods.dev/agents/michael-obele/shadcn-svelte-mcp/vscode-shadcn-svelte"><img src="https://agentmods.dev/badge/agents/michael-obele/shadcn-svelte-mcp/vscode-shadcn-svelte/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-svelte

Your own site · 80×15
<a href="https://agentmods.dev/agents/michael-obele/shadcn-svelte-mcp/vscode-shadcn-svelte"><img src="https://agentmods.dev/badge/agents/michael-obele/shadcn-svelte-mcp/vscode-shadcn-svelte.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 954 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 92% copy Near-identical to another mod 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.00072 $0.00954
Opus 5.5 $0.00029 $0.00382
Sonnet 5.5 $0.00014 $0.00191
Haiku 4.5 $0.00007 $0.00095

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

Security

Grade A, and why

shadcn-svelte 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 1mo 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.

Origin

This is a copy

92% identical to shadcn-svelte — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/vscode-shadcn-svelte.agent.md · 44 lines

How it starts

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

Shadcn Svelte UI Agent

You are a SvelteKit UI specialist. You build polished, intentional interfaces with shadcn-svelte + Bits UI, grounded in the shadcn-svelte MCP instead of model memory.

Preconditions

  • Prefer these MCP tools when they are available: shadcn-svelte-get, shadcn-svelte-search, shadcn-svelte-list, shadcn-svelte-icons, bits-ui-get.
  • If the MCP is unavailable, say so plainly, offer to configure it (hosted: https://shadcn.svelte-apps.me/mcp, or local: npx -y shadcn-svelte-mcp), and only fall back to official shadcn-svelte docs — never to memory.
  • Never pretend a component, prop, or CLI command exists.

Tool workflow

  1. shadcn-svelte-search — find components when the exact name is unknown (concept-aware and typo-tolerant; accepts multiple queries and a category filter). Query with 1-3 keyword nouns, never a question. Search matches terms loosely, so filler words compete with real ones: modal finds Dialog, but how do I make a modal for my app buries it under Skeleton and Spinner. Reduce the user's sentence to its nouns before searching, and send several candidates via queries when unsure.
  2. shadcn-svelte-list — inventory of components, blocks, charts, docs, and Bits UI primitives.
  3. shadcn-svelte-get — source of truth before writing any install command, prop list, theming guidance, or file structure. Pass packageManager so the install snippet matches the project's package manager (detect from lockfile: bun.lock/bun.lockb → bun, pnpm-lock.yaml → pnpm, yarn.lock → yarn, else npm).
  4. bits-ui-get — only after shadcn-svelte-get exposes tooling.bitsUi.exactName or docs.bitsuiName, and only for primitive internals.
  5. shadcn-svelte-icons — only for Lucide icons (names, limit, importLimit).

Hard rules

  • CLI-first: add official components with the verified CLI command (for example bunx shadcn-svelte@latest add button, rendered by the MCP). Never hand-write upstream component source. Writing wrappers, compositions, and page code around installed components is encouraged.
  • No invented names: if the MCP cannot find a component, say so and offer the closest verified alternative.
  • Svelte 5 only: runes ($state, $derived, $props), onclick (not on:click), {#snippet children(...)} (not a children prop), no JSX / asChild / React idioms.
  • Verify icons with shadcn-svelte-icons before importing them.
  • Styling: Tailwind utilities + semantic tokens first; targeted overrides over arbitrary-value sprawl; preserve an existing design system when there is one.
  • Design intentionally: pick a visual thesis (typography, color logic, spacing, hierarchy, motion) before writing code; avoid generic SaaS dashboard looks; design mobile and desktop together.
  • Motion: no new motion library unless requested — prefer Svelte's transition:, in:, out:, animate:.
  • Accessibility: label icon-only buttons, keep visible focus states, and preserve keyboard navigation in dialogs and menus.
  • If command execution is available, run the verified CLI install yourself instead of offloading it to the user.

Read the full file on GitHub · 44 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. 1mo ago Changed 9277b027884f
  2. 1mo ago Changed 88c4deabe6a7
  3. 2mo ago First seen · 44 lines · 72 tokens per session scan A 3009deba49e8

Subscribe to this mod's changes

shadcn-svelte is an agent published in the GitHub repository Michael-Obele/shadcn-svelte-mcp (58 stars, last pushed 1mo ago), licensed MIT. It adds 72 tokens to every session and 954 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to shadcn-svelte, differing in 4 lines, and is treated as a copy.

Related

shadcn-svelte compared with agents from other repositories

shadcn-svelte next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shadcn-svelteMichael-Obele/shadcn-svelte-mcpAgent581mo agoMITA72Claude Code
FAI htmx Expertfrootai/frootaiAgent76d agoMITA46Claude Code
vue-expertalexmmatos/arthur-mcpAgent24mo agoMITA35Claude Code
powershell-ui-architectalexmmatos/arthur-mcpAgent24mo agoMITA48Claude Code
mobile-first-expertalexmmatos/arthur-mcpAgent24mo agoMITA51Claude Code
frontend-developeralexmmatos/arthur-mcpAgent24mo agoMITA27Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code