loom-shadcn

loom-shadcn is a skill for Claude Code, Codex from DanielC000/loom. It costs 54 tokens per session (467 once invoked), scanned A, original, MIT.

A guide for using shadcn/ui components in a React and Tailwind project that has a components.json configuration file. It checks the project's component registries and uses the project's pinned command-line version before changing files.

In plain words
What is it for?
Use it to find, review, and add shadcn/ui components while respecting the project's existing registry and package versions.
Why use it?
It reduces the risk of adding components that the project does not support or silently using a newer incompatible version. A dry run lets you inspect changes before applying them.

Skill for Claude CodeCodex

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

Good fit Use it to find, review, and add shadcn/ui components while respecting the project's existing registry and package versions.

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

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 loom-shadcn

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/danielc000/loom/loom-shadcn"><img src="https://agentmods.dev/badge/skills/danielc000/loom/loom-shadcn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 467 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.00054 $0.00467
Opus 5.5 $0.00022 $0.00187
Sonnet 5.5 $0.00011 $0.00093
Haiku 4.5 $0.00005 $0.00047

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

Security

Grade A, and why

loom-shadcn 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 27d 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.

packages/daemon/assets/skills/loom-shadcn/SKILL.md · 29 lines

What it actually says

loom-shadcn

Applies only when the project has a components.json at its root. If there is none, this skill doesn't apply — don't run shadcn init on your own initiative.

  1. Look before you write. Before hand-writing a UI primitive, use the mcp__shadcn tools (list_items_in_registries, search_items_in_registries, view_items_in_registries, get_item_examples_from_registries) to see what the project's registries already offer and how an existing component is built. The MCP is read-only — it never installs anything.
  2. Install with an explicit, pinned version — never @latest. Match whatever version this project's own lockfile/package.json already pins for shadcn; if none exists yet, pick one explicit release and record it instead of floating on "latest". An unpinned CLI run resolves to whatever happens to be newest at that moment, silently.
  3. Dry-run before you write. Prefer shadcn diff/--dry-run over blindly running the command the MCP's get_add_command_for_items tool returns, so you see what would change before committing to it.
  4. Stay inside the project's own registries. Never add from a registry components.json doesn't already name — a third-party or owner/repo registry is an arbitrary code source — unless the task explicitly asks for it.
  5. Compose, don't fight the library. See references/rules.md for the condensed implementation conventions (tokens, class-merging, spacing, variants, primitives, icons) and their attribution.

Component code only ever enters the repo through the CLI's own add command, run explicitly by you in your normal shell — never through this skill's own loading.

Files

What ships with it

2 files 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. 27d ago First seen · 29 lines · 54 tokens per session scan A a0b9f1c0dca4

Subscribe to this mod's changes

loom-shadcn is a skill published in the GitHub repository DanielC000/loom (7 stars, last pushed 14d ago), licensed MIT. It adds 54 tokens to every session and 467 once invoked, about $0.0002 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-11-05.

Related

loom-shadcn compared with skills from other repositories

loom-shadcn next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
loom-shadcnDanielC000/loomSkill714d agoMITA54Claude Code, Codex
frontend-designDDS-Solutions/AI-TadPole-OSSkill96d agoMITA37Claude Code
tailwind-patternsDDS-Solutions/AI-TadPole-OSSkill96d agoMITA26Claude Code
web-artifacts-builderfrumu-ai/tandemSkill1251mo agononeA61Claude Code, Codex
web-design-guidelinesDDS-Solutions/AI-TadPole-OSSkill96d agoMITA33Claude Code
seo-fundamentalsDDS-Solutions/AI-TadPole-OSSkill96d agoMITA31Claude Code
webgl-liquid-metalnexu-io/open-designSkill111ktodayApache-2.0A121Claude Code, Codex