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 skills/wrongstack/wrongstack/design-systemnpx skills add WrongStack/WrongStack --skill design-systemgit clone --depth 1 https://github.com/WrongStack/WrongStackWrote 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/skills/wrongstack/wrongstack/design-system)<a href="https://agentmods.dev/skills/wrongstack/wrongstack/design-system"><img src="https://agentmods.dev/badge/skills/wrongstack/wrongstack/design-system.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.1 | $0.00248 | $0.03740 |
| Opus 5 | $0.00124 | $0.01870 |
| Sonnet 5 | $0.00050 | $0.00748 |
| Haiku 4.5 | $0.00025 | $0.00374 |
Grade A, and why
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 2d 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 — 321 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design System Engine — WrongStack
The contract
Default-framework UI is a failure, not a neutral starting point. Unstyled
shadcn, bg-blue-500, stock Bootstrap gray, or "I'll pick colors as I go" all
produce the same forgettable result and leave the codebase with no source of
truth.
WrongStack ships a Design Studio: 50+ curated kits, each a complete design system — not a palette. Every kit carries its own radius scale, spacing rhythm, type ramp, motion curves, and elevation steps. The job here is to commit to ONE kit before any markup exists, push its tokens into a real file the build reads, and then write UI that only ever references those tokens.
Tokens in a file beat design intentions in a prompt. That is the whole idea.
The loop (never reorder; skip only explicit exceptions)
list → use → tune → materialize → BUILD → verify → fix drift
Steps 1–3 are cheap and happen before the first line of JSX/Dart/Swift. tune
is optional when the chosen kit already fits; otherwise keep the order intact.
If a UI file has already been written without a committed kit, stop, run the
loop, and restyle against the tokens rather than patching colors by hand.
Step 1 — Commit to a kit
design {action:"list"} # browse available kits
design {action:"foundations"} # read the stack-agnostic baseline
design {action:"use", kit:"<id>", stack:"web|react-native|flutter|swiftui|compose"}
use loads the kit's full spec for that stack — pass the right stack or
the materialized output will be the wrong shape.
| Target | stack |
|---|---|
| Next.js, Vite, Remix, any Tailwind v4 / shadcn web app | web |
| Expo / bare React Native | react-native |
| Flutter (any platform) | flutter |
| iOS native | swiftui |
| Android native | compose |
Picking the kit
If the user pinned one with /design <kit-id>, that decision is final — use it
and move on. Otherwise:
- Run
design {action:"list"}and read the kit descriptions. Do not pick from memory; the roster changes. - Match the kit to the product's tone, not to personal taste. Useful signals to reason from: audience (consumer vs. operator vs. developer), information density (marketing page vs. data table), emotional register (playful, editorial, clinical, brutalist, corporate-trustworthy), and any brand assets the user already has.
- If two or three kits genuinely fit, name them with a one-line rationale each and ask. A ten-second question beats a full rebuild.
- If the user gives zero signal and does not want to choose, pick the kit that best fits the product archetype, say which one and why in one sentence, and continue. Silence is not permission to fall back to defaults.
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.
- 2d ago First seen · 321 lines · 248 tokens per session scan A 583341d17145
design-system is a skill published in the GitHub repository WrongStack/WrongStack (284 stars, last pushed today), licensed MIT. It adds 248 tokens to every session and 3,740 once invoked, about $0.0012 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 skills, from other repositories
research-repository
Build a repository that makes findings findable, reusable, and cumulative across teams. Use when the same research keeps getting redone. For synthesising one study, use affinity-diagram.
peak-end-rule
Apply the Peak-End Rule — a flow is remembered by its most intense moment and its last. Use when designing completion, celebration, or cancellation moments. For sustaining engagement mid-flow, use zeigarnik-effect.
form-design
Design a form end to end — field order, grouping, validation, and completion. Use when the artifact is a form. For product-wide error strategy use error-handling-ux; for first-run signup use onboarding-design.
law-of-common-region
Apply the Law of Common Region — a shared container, background, or border groups elements regardless of spacing. Use when grouping must survive a tight layout. For grouping by spacing alone, use law-of-proximity.
readable-measure
Set line length and measure for comfortable reading across type sizes and breakpoints. Use when tuning body text. Covers measure only — for the full size and weight scale, use typography-scale.
critique-visual-hierarchy
Critique a rendered screen's hierarchy — entry point, eye flow, weight distribution, and emphasis. Use when attention lands in the wrong place. For establishing hierarchy in new work, use visual-hierarchy (ui-design).