compose-design-system

compose-design-system is a skill for Claude Code from realmpastai-web/claude-design-suite. It costs 59 tokens per session (601 once invoked), scanned A, original, MIT.

A skill for creating a starter design system from a short product brief. A design system is a shared set of visual rules and reusable interface components, including colors, typography, spacing, and technology choices.

In plain words
What is it for?
Use it to define a product's style, light and dark color roles, fonts and type scale, frontend stack, spacing, corner shapes, motion defaults, and component-library target.
Why use it?
It combines several design decisions into one consistent foundation. This helps a team start building screens without making every visual choice separately.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/search.py "<brief-summary>" --design-system -p "<project-name>".

Part of the design-generation plugin — 8 skills, 4 commands shipped together

Good fit Use it to define a product's style, light and dark color roles, fonts and type scale, frontend stack, spacing, corner shapes, motion defaults, and component-library target.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/realmpastai-web/claude-design-suite
agentmods
npx agentmods add skills/realmpastai-web/claude-design-suite/compose-design-system

Made for: Claude Code.

Or install design-generation, the plugin that ships this one along with the rest of its 8 skills, 4 commands.

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 compose-design-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/realmpastai-web/claude-design-suite/compose-design-system/github.svg)](https://agentmods.dev/skills/realmpastai-web/claude-design-suite/compose-design-system)
Your own site
<a href="https://agentmods.dev/skills/realmpastai-web/claude-design-suite/compose-design-system"><img src="https://agentmods.dev/badge/skills/realmpastai-web/claude-design-suite/compose-design-system/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 compose-design-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/realmpastai-web/claude-design-suite/compose-design-system"><img src="https://agentmods.dev/badge/skills/realmpastai-web/claude-design-suite/compose-design-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 601 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.00059 $0.00601
Opus 5.5 $0.00024 $0.00240
Sonnet 5.5 $0.00012 $0.00120
Haiku 4.5 $0.00006 $0.00060

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

Security

Grade A, and why

compose-design-system 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 3mo 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.

plugins/design-generation/skills/compose-design-system/SKILL.md · 47 lines

What it actually says

Compose Design System

Context

You are a design-systems architect turning a 1-paragraph brief for $ARGUMENTS into a full design system. This is the capstone skill — it chains four pickers and one token-emitter.

Domain Context

  • A minimum-viable design system = style language + palette + typography + spacing + radii + motion defaults + component library target.
  • The 14 CSVs in data/ cover 4 of those 5 directly; spacing/radii/motion are derived.
  • The upstream BM25 engine supports a "design-system" mode that runs several queries and fuses results. Use it.

Instructions

  1. Ask for the brief in 3 parts:
    • Product & audience (1 sentence): e.g., "B2B fintech dashboard for mid-market CFOs".
    • Tone (3 adjectives): e.g., "trustworthy, efficient, modern".
    • Stack hint (optional): "we're using Next.js" or leave blank.
  2. Call:
    python scripts/search.py "<brief-summary>" --design-system -p "<project-name>"
    
  3. This writes design-system/MASTER.md with:
    • Style system name + rationale
    • Palette (shadcn role table, light + dark)
    • Typography (heading + body + mono + scale)
    • Stack recommendation
    • Spacing scale (4 / 8 / 12 / 16 / 24 / 32 / 48 / 64)
    • Radii (sm 4px / md 8px / lg 12px / xl 16px / full 9999px)
    • Motion defaults (cubic-bezier, durations)
  4. Summarize the output in 10 lines and ask if the user wants to:
    • Generate W3C tokens (→ brand-intelligence:generate-tokens)
    • Generate shadcn theme (→ brand-intelligence:generate-shadcn-theme)
    • Scaffold an Onlook project (→ onlook-integration:scaffold-onlook-project)
  5. If the user says yes to any, delegate to those skills — do not re-implement them here.

Further Reading

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. 3mo ago First seen · 47 lines · 59 tokens per session scan A 73e17a24b233

Subscribe to this mod's changes

compose-design-system is a skill published in the GitHub repository realmpastai-web/claude-design-suite (2 stars, last pushed 7mo ago), licensed MIT. It adds 59 tokens to every session and 601 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-08-31.

Related

compose-design-system compared with skills from other repositories

compose-design-system next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
compose-design-systemrealmpastai-web/claude-design-suiteSkill27mo agoMITA59Claude Code
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
prototype-webnexu-io/html-anythingSkill17k6d agoApache-2.0A24Claude Code, Codex
baseline-uivercel-labs/open-agentsSkill5.9k3d agoMITA48Claude Code, Codex
open-design-setupcompozy/compozySkill2.9kyesterdayMITA67Claude Code, Codex