design-tokens

design-tokens is a command for Claude Code from buildermethods/design-os. It costs 0 tokens per session (1,269 once invoked), scanned A, original, MIT.

A helper for choosing a product's shared colors and fonts. These choices form design tokens: named visual settings reused across screens so an interface keeps the same look.

In plain words
What is it for?
Use it to choose a primary and secondary accent, neutral colors, and fonts for headings, body text, and code.
Why use it?
It prevents each screen from using unrelated colors or typography and first checks that a product overview exists.

Command for Claude Code

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/buildermethods/design-os/design-tokens
Clone the repo
git clone --depth 1 https://github.com/buildermethods/design-os

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/buildermethods/design-os/design-tokens.svg)](https://agentmods.dev/commands/buildermethods/design-os/design-tokens)
Your own site
<a href="https://agentmods.dev/commands/buildermethods/design-os/design-tokens"><img src="https://agentmods.dev/badge/commands/buildermethods/design-os/design-tokens.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 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,269 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.00000 $0.01269
Opus 5 $0.00000 $0.00634
Sonnet 5 $0.00000 $0.00254
Haiku 4.5 $0.00000 $0.00127

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

Security

Grade A, and why

design-tokens 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.

.claude/commands/design-os/design-tokens.md · 167 lines

How it starts

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

Design Tokens

You are helping the user choose colors and typography for their product. These design tokens will be used consistently across all screen designs and the application shell.

Step 1: Check Prerequisites

First, verify that the product overview exists:

Read /product/product-overview.md to understand what the product is.

If it doesn't exist:

"Before defining your design system, you'll need to establish your product vision. Please run /product-vision first."

Stop here if the prerequisite is missing.

Step 2: Explain the Process

"Let's define the visual identity for [Product Name].

I'll help you choose:

  1. Colors — A primary accent, secondary accent, and neutral palette
  2. Typography — Fonts for headings, body text, and code

These will be applied consistently across all your screen designs and the application shell.

Do you have any existing brand colors or fonts in mind, or would you like suggestions?"

Wait for their response.

Step 3: Choose Colors

Help the user select from Tailwind's built-in color palette. Present options based on their product type:

"For colors, we'll pick from Tailwind's palette so they work seamlessly with your screen designs.

Primary color (main accent, buttons, links): Common choices: blue, indigo, violet, emerald, teal, amber, rose, lime

Secondary color (complementary accent, tags, highlights): Should complement your primary — often a different hue or a neutral variation

Neutral color (backgrounds, text, borders): Options: slate (cool gray), gray (pure gray), zinc (slightly warm), neutral, stone (warm gray)

Based on [Product Name], I'd suggest:

  • Primary: [suggestion] — [why it fits]
  • Secondary: [suggestion] — [why it complements]
  • Neutral: [suggestion] — [why it works]

What feels right for your product?"

Use AskUserQuestion to gather their preferences if they're unsure:

  • "What vibe are you going for? Professional, playful, modern, minimal?"
  • "Any colors you definitely want to avoid?"
  • "Light mode, dark mode, or both?"

Read the full file on GitHub · 167 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 · 167 lines · 0 tokens per session scan A 9cf883695f83

Subscribe to this mod's changes

design-tokens is a command published in the GitHub repository buildermethods/design-os (1,847 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,269 tokens. 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.