design-md

design-md is a command for coding agents from sergei-aronsen/claude-code-toolkit. It costs 21 tokens per session (1,311 once invoked), scanned B, original, MIT.

A command that installs a DESIGN.md file containing a structured visual system for generated interfaces. The file can define colors, fonts, spacing, corner shapes, and motion based on one of 71 listed brands.

In plain words
What is it for?
Use it before asking an agent to build or redesign UI when you want a brand-inspired look. It can list available brands, install one directly, or use a local copy when working offline.
Why use it?
It gives coding agents a persistent set of visual decisions to follow instead of leaving each interface to be designed independently. This helps keep generated UI consistent with a chosen brand style.

Command

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 commands/sergei-aronsen/claude-code-toolkit/design-md
Clone the repo
git clone --depth 1 https://github.com/sergei-aronsen/claude-code-toolkit

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 design-md

README.md
[![agentmods](https://agentmods.dev/badge/commands/sergei-aronsen/claude-code-toolkit/design-md.svg)](https://agentmods.dev/commands/sergei-aronsen/claude-code-toolkit/design-md)
Your own site
<a href="https://agentmods.dev/commands/sergei-aronsen/claude-code-toolkit/design-md"><img src="https://agentmods.dev/badge/commands/sergei-aronsen/claude-code-toolkit/design-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,311 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00021 $0.01311
Opus 5 $0.00010 $0.00656
Sonnet 5 $0.00004 $0.00262
Haiku 4.5 $0.00002 $0.00131

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

Security

Grade B, and why

design-md scanned grade B with 2 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

1. `cat "${TK_TOOLKIT_DIR:-$HOME/.claude/toolkit-src}/templates/design-md/INDEX.json"` (local clone, if present)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

/design-md --offline # use the toolkit clone at $TOOLKIT_DIR instead of curl
commands/design-md.md · 73 lines

How it starts

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

/design-md

Purpose

Install a single DESIGN.md at the project root (or .claude/DESIGN.md if the user prefers) so any coding agent — Claude Code, Cursor, Aider, Copilot CLI — has a structured design system (colors, typography, spacing, radii, motion) to follow when generating UI.

The brand-inspired DESIGN.md files are mirrored from the upstream catalog VoltAgent/awesome-design-md. Each file is a single self-contained Markdown document with YAML-frontmatter tokens. 71 brands available.

The mirror is pinned in manifest.json:vendor_pins.awesome-design-md (drift-tracked by /vendor-changelog).

Usage

/design-md                 # picker — list all brands, ask which one
/design-md <brand>         # direct install (e.g. /design-md vercel)
/design-md --list          # just print the 71 brand names
/design-md --offline       # use the toolkit clone at $TOOLKIT_DIR instead of curl

What you should do

  1. Pick a brand.

    • If the user invoked /design-md <brand>, use that argument.
    • Otherwise, fetch the brand list from the index — try in order:
      1. cat "${TK_TOOLKIT_DIR:-$HOME/.claude/toolkit-src}/templates/design-md/INDEX.json" (local clone, if present)
      2. curl -fsSL https://raw.githubusercontent.com/sergei-aronsen/claude-code-toolkit/main/templates/design-md/INDEX.json
    • Show the 71 brand names sorted. Ask which one. If the user names a brand that is not in the list, suggest the 3 closest matches by edit distance and ask again — do not guess.
  2. Decide install path. Default: <project-root>/DESIGN.md. If a DESIGN.md already exists at the project root, ask whether to (a) overwrite, (b) write to .claude/DESIGN.md instead, or (c) abort.

  3. Fetch the file. Two sources, in order:

    1. Local clone (preferred when available — offline-safe + version-pinned): cp "${TK_TOOLKIT_DIR:-$HOME/.claude/toolkit-src}/templates/design-md/<brand>/DESIGN.md" <install-path>
    2. Raw GitHub (curl from the toolkit mirror, not upstream — keeps the install on the vendor-pinned commit): curl -fsSLA "$TK_USER_AGENT" "https://raw.githubusercontent.com/sergei-aronsen/claude-code-toolkit/main/templates/design-md/<brand>/DESIGN.md" -o <install-path>

Read the full file on GitHub · 73 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 · 73 lines · 21 tokens per session scan B 7a8575302b9d

Subscribe to this mod's changes

design-md is a command published in the GitHub repository sergei-aronsen/claude-code-toolkit (5 stars, last pushed 18d ago), licensed MIT. It adds 21 tokens to every session and 1,311 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.