design-extract is a command-line tool that examines live websites with a headless browser and turns their visual and interaction rules into design-system files. It is used by developers and designers to extract tokens, component details, responsive behavior, accessibility findings, and platform-specific outputs, while the catalogue commands, skills, plugin, and rule expose that process to coding agents.
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.
npx agentmods add commands/manavarya09/design-extract/extractgit clone --depth 1 https://github.com/Manavarya09/design-extractWrote 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/manavarya09/design-extract/extract)<a href="https://agentmods.dev/commands/manavarya09/design-extract/extract"><img src="https://agentmods.dev/badge/commands/manavarya09/design-extract/extract.svg" alt="Measured on agentmods" 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 | $0.00027 | $0.00462 |
| Opus 5 | $0.00014 | $0.00231 |
| Sonnet 5 | $0.00005 | $0.00092 |
| Haiku 4.5 | $0.00003 | $0.00046 |
Grade A, and why
extract 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 5d 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.
What it actually says
Run designlang against the user-provided URL and surface the result.
npx designlang $ARGUMENTS
If no $ARGUMENTS were supplied, ask the user which URL to extract.
Default output goes to ./design-extract-output/. Once it finishes, read the generated *-design-language.md (the AI-optimized markdown) and present a tight summary to the user:
- Primary palette (hex codes)
- Type families + scale
- Spacing base + scale
- WCAG accessibility score
- Component patterns detected
- Notable signals (motion feel, material language, brand voice tone)
Then offer follow-ups:
/grade <url>— shareable HTML Design Report Card + SVG badge/battle <urlA> <urlB>— head-to-head graded comparison/remix <url> --as <vocab>— restyle in another vocabulary/pack <url>— bundle every output into one design-system directory
Useful flags the user may pass via $ARGUMENTS:
| Flag | Effect |
|---|---|
--full |
screenshots + responsive + interactions + deep-interact |
--depth <n> |
crawl N additional canonical pages |
--dark |
also extract dark mode |
--platforms ios,android,flutter,wordpress |
multi-platform emitters |
--smart |
LLM fallback for low-confidence classifiers (supports ATLASCLOUD_API_KEY, OPENAI_API_KEY, or ANTHROPIC_API_KEY) |
--cookie-file ./session.json |
authenticated extraction |
Full reference: https://github.com/Manavarya09/design-extract#full-cli-reference
Atlas Cloud quick setup for --smart:
export ATLASCLOUD_API_KEY="<atlascloud-api-key>"
export ATLASCLOUD_MODEL="deepseek-ai/deepseek-v4-pro"
npx designlang https://stripe.com --smart
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.
- 5d ago First seen · 50 lines · 27 tokens per session scan A d144a3ad6df8
extract is a command published in the GitHub repository Manavarya09/design-extract (4,000 stars, last pushed 4d ago), licensed MIT. It adds 27 tokens to every session and 462 once invoked, about $0.0001 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.
Other commands, from other repositories
full-diagnostic
Comprehensive design system health sweep.
describe-component
Generate an AI-optimised component description.
drift-check
Detect where teams are diverging from the system.
governance-review
Quarterly governance review package.
system-health
Score your design system's overall health.
token-audit
Audit your design token architecture.