Shade ShadCN install

Shade ShadCN install is a skill for Claude Code, Codex from TryGhost/Ghost. It costs 72 tokens per session (912 once invoked), scanned A, original, MIT.

A set of project rules for adding ShadCN/UI components to the Shade design system. ShadCN/UI is a collection of reusable interface components, and semantic tokens are shared names for design values such as colors.

In plain words
What is it for?
Safely adding ShadCN components, handling installer prompts, and cleaning up generated styles in the Shade project.
Why use it?
It helps prevent the component installer from overwriting existing work and ensures new components match Shade's design system.

Skill for Claude CodeCodex

About the project

Ghost is a publishing platform for creating websites, blogs, memberships, subscriptions, and newsletters. Publishers and developers can use it through managed hosting or run it themselves, while contributors work on its monorepo, themes, and API.

TryGhost/Ghost · 55,149 stars · on GitHub

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.

agentmods
npx agentmods add skills/tryghost/ghost/shade-shadcn-install
Any agent
npx skills add TryGhost/Ghost --skill shade-shadcn-install
Clone the repo
git clone --depth 1 https://github.com/TryGhost/Ghost

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 Shade ShadCN install

README.md
[![agentmods](https://agentmods.dev/badge/skills/tryghost/ghost/shade-shadcn-install.svg)](https://agentmods.dev/skills/tryghost/ghost/shade-shadcn-install)
Your own site
<a href="https://agentmods.dev/skills/tryghost/ghost/shade-shadcn-install"><img src="https://agentmods.dev/badge/skills/tryghost/ghost/shade-shadcn-install.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 912 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00072 $0.00912
Opus 5 $0.00036 $0.00456
Sonnet 5 $0.00014 $0.00182
Haiku 4.5 $0.00007 $0.00091

Measured 4d ago against content hash 72fc0ffaf9b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Shade ShadCN install 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 4d 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/shade-shadcn-install/SKILL.md · 63 lines

How it starts

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

Shade — ShadCN install guardrails

Most new Shade components start from a ShadCN install. The CLI is destructive by default — follow these guardrails.

Command

pnpm dlx shadcn@latest add <component-name>

(Use pnpm, not npx / yarn / bunx. Ghost is pnpm.)

Before running

  1. Be on a fresh branch. The CLI's diff is mixed in with your branch's changes otherwise.
  2. Check if the component already exists in apps/shade/src/components/ui/. If it does, do not run the CLI against the repo — generate into a scratch repo and manually port the parts you want. The CLI will offer to overwrite, and you'd lose Shade customisations.

During the prompts

  • If asked to overwrite an existing file: choose No. Always.
  • If asked about path aliases: keep @/.

After the file lands — required cleanup

Raw ShadCN output is not Shade-quality yet. Do all of these:

  1. Swap raw colours for semantic tokens. ShadCN ships things like bg-white, border-gray-200, text-zinc-500. Replace with bg-surface-elevated, border-border-default, text-muted-foreground, etc. See the shade-tokens-not-hex skill for the inventory.
  2. Remove any dark: colour variants. Semantic tokens flip automatically. See shade-no-dark-variants.
  3. Use the @/ alias for internal imports (@/lib/utils, @/components/ui/...) — not relative paths.
  4. Ensure all four required states work: default, hover, focus-visible, disabled. (focus-visible: only — never focus:.)
  5. Trim props that hint at a specific surface. If a prop name reads like product workflow (isMembersPage, layoutMode), it doesn't belong on a generic Component — extract a Pattern instead.
  6. For form controls, drive border/background/focus through the inputSurface recipe instead of duplicating the chrome. See shade-input-surface-recipe.
  7. Add a sibling <name>.stories.tsx if one isn't already there. Copy useful examples from https://ui.shadcn.com/docs/components/<name> into stories. See shade-new-component.
  8. forwardRef + className merge via cn() — both are required.

Read the full file on GitHub · 63 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. 4d ago First seen · 63 lines · 72 tokens per session scan A 72fc0ffaf9b2

Subscribe to this mod's changes

Shade ShadCN install is a skill published in the GitHub repository TryGhost/Ghost (55,149 stars, last pushed today), licensed MIT. It adds 72 tokens to every session and 912 once invoked, about $0.0004 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

cms-metadata-tagger

Takes a finished piece of content and produces a complete, archive-ready metadata record — including descriptive tags, subject classifications, rights notes, and an archival summary — for entry into a content management or digital archive system.

ur-grue/autopunk-media-skills · 49 tokens

cms-metadata-writer

Writes structured metadata fields — title tag, meta description, tags, category, slug, and Open Graph text — for a CMS entry, optimized for search discoverability and social sharing.

ur-grue/autopunk-media-skills · 42 tokens

intlayer-content

Define rich content structures using Intlayer content nodes. Use when the user asks to "create translations", "handle pluralization", "use markdown in content", or implement "conditional content".

aymericzip/intlayer · 41 tokens

intlayer-angular

Integrates Intlayer internationalization with Angular applications. Use when the user asks to "setup Angular i18n", create a new translated component, use the "useIntlayer" composable, or configure providers.

aymericzip/intlayer · 47 tokens

intlayer-next-js

Integrates Intlayer internationalization with Next.js App Router and Pages Router. Use when the user asks to "setup Next.js i18n", use "useIntlayer" in Server Components, or handle client-side translations in Next.js.

aymericzip/intlayer · 53 tokens

intlayer-react

Integrates Intlayer internationalization with React component. Use when the user asks to "setup React i18n", create a new translated component, use the "useIntlayer" hook, or configure providers.

aymericzip/intlayer · 46 tokens