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.
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craftWrote 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.
[](https://agentmods.dev/commands/thebeardedbearsas/claude-craft/design-tokens)<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/design-tokens"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/design-tokens/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.
<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/design-tokens"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/design-tokens.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00005 | $0.02970 |
| Opus 5 | $0.00003 | $0.01485 |
| Sonnet 5 | $0.00001 | $0.00594 |
| Haiku 4.5 | $0.00001 | $0.00297 |
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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 283 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Définition Design Tokens
Tu es un Lead UI Designer. Tu dois définir les design tokens pour un design system cohérent et maintenable.
Arguments
$ARGUMENTS
Arguments :
- Type de tokens à définir : colors, typography, spacing, shadows, all
- (Optionnel) Couleur primaire de base : #HEXCODE
- (Optionnel) Mode : light, dark, both
Exemple : /uiux:design-tokens all #3B82F6 both
MISSION
Étape 1 : Analyser le contexte
- Stack front (React, Vue, Tailwind, CSS vars...)
- Design system existant ?
- Charte graphique fournie ?
Étape 2 : Définir les tokens
══════════════════════════════════════════════════════════════
🎨 DESIGN TOKENS
══════════════════════════════════════════════════════════════
Projet : {nom}
Date : {date}
Format : CSS Custom Properties
──────────────────────────────────────────────────────────────
🎨 COULEURS
──────────────────────────────────────────────────────────────
### Palette Sémantique
#### Primary (Action principale)
| Token | Light | Dark | Usage |
|-------|-------|------|-------|
| --color-primary-50 | #eff6ff | #1e3a5f | Background subtle |
| --color-primary-100 | #dbeafe | #1e40af | Background |
| --color-primary-200 | #bfdbfe | #1d4ed8 | Border |
| --color-primary-300 | #93c5fd | #2563eb | Border hover |
| --color-primary-400 | #60a5fa | #3b82f6 | Icon |
| --color-primary-500 | #3b82f6 | #60a5fa | Text |
| --color-primary-600 | #2563eb | #93c5fd | Text hover |
| --color-primary-700 | #1d4ed8 | #bfdbfe | - |
| --color-primary-800 | #1e40af | #dbeafe | - |
| --color-primary-900 | #1e3a5f | #eff6ff | - |
#### Success
| Token | Light | Dark |
|-------|-------|------|
| --color-success-50 | #f0fdf4 | #14532d |
| --color-success-500 | #22c55e | #4ade80 |
| --color-success-700 | #15803d | #86efac |
#### Warning
| Token | Light | Dark |
|-------|-------|------|
| --color-warning-50 | #fffbeb | #78350f |
| --color-warning-500 | #f59e0b | #fbbf24 |
| --color-warning-700 | #b45309 | #fcd34d |
#### Error
| Token | Light | Dark |
|-------|-------|------|
| --color-error-50 | #fef2f2 | #7f1d1d |
| --color-error-500 | #ef4444 | #f87171 |
| --color-error-700 | #b91c1c | #fca5a5 |
#### Neutral (Texte, Backgrounds)
| Token | Light | Dark | Usage |
|-------|-------|------|-------|
| --color-neutral-0 | #ffffff | #0a0a0a | Background |
| --color-neutral-50 | #fafafa | #171717 | Background subtle |
| --color-neutral-100 | #f5f5f5 | #262626 | Background muted |
| --color-neutral-200 | #e5e5e5 | #404040 | Border |
| --color-neutral-300 | #d4d4d4 | #525252 | Border hover |
| --color-neutral-400 | #a3a3a3 | #737373 | Placeholder |
| --color-neutral-500 | #737373 | #a3a3a3 | Text muted |
| --color-neutral-600 | #525252 | #d4d4d4 | Text secondary |
| --color-neutral-700 | #404040 | #e5e5e5 | Text primary |
| --color-neutral-800 | #262626 | #f5f5f5 | Text emphasis |
| --color-neutral-900 | #171717 | #fafafa | Text strong |
### Tokens Alias (Sémantiques)
```css
/* Backgrounds */
--color-bg-primary: var(--color-neutral-0);
--color-bg-secondary: var(--color-neutral-50);
--color-bg-tertiary: var(--color-neutral-100);
--color-bg-inverse: var(--color-neutral-900);
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.
- 7d ago First seen · 283 lines · 5 tokens per session scan A 08b689ee591c
design-tokens is a command published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed 8d ago), licensed MIT. It adds 5 tokens to every session and 2,970 once invoked, about $0.0000 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-09-03.
Other commands, from other repositories
design-screen
Design a complete screen layout from a description or requirements.
responsive-audit
Audit a design's responsive behaviour across breakpoints — layout, touch targets, and content reflow.
scaffold
Generate complete Divi 5 page section templates (hero, pricing, testimonials, FAQ, CTA, etc.) with best-practice CSS, responsive design, and accessibility baked in.
ui-ux-behaviour-block
When this command is used, use the following block. Acknowledge your understanding and then await the user's request.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.