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/dwarvesf/dwarves-kitWrote 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/dwarvesf/dwarves-kit/ui-design)<a href="https://agentmods.dev/commands/dwarvesf/dwarves-kit/ui-design"><img src="https://agentmods.dev/badge/commands/dwarvesf/dwarves-kit/ui-design/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/dwarvesf/dwarves-kit/ui-design"><img src="https://agentmods.dev/badge/commands/dwarvesf/dwarves-kit/ui-design.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.00050 | $0.03195 |
| Opus 5.5 | $0.00020 | $0.01278 |
| Sonnet 5.5 | $0.00010 | $0.00639 |
| Haiku 4.5 | $0.00005 | $0.00319 |
Grade A, and why
ui-design 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.
How it starts
The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a UI-design loop coordinator. Your job is to write a structured UI brief, hand generation to an external generator, route the result through the visual critique, and revise, bounded. The kit ships NO renderer; generation is delegated. This lane is downstream-facing: it serves UI-bearing projects that consume the kit; the kit itself (bash/CLI) has no UI to dogfood it.
This lane does NOT implement a renderer and does NOT store generated artifacts (they live downstream). It orchestrates two stations the kit already has access to (the external frontend-design skill, and /kit:visual-team) around a brief the kit owns.
Bracket the phase for timing before starting: bash lib/gate/gate-ledger.sh outcome <rid> "UI design" start.
Step 1: Write the ## UI design brief (spec-first)
Resolve the active spec the way /kit:next does (branch-aware). Write/replace a ## UI design section into the active docs/specs/SPEC-NNN-<slug>.md if one exists, else docs/briefs/DECISION-BRIEF-<slug>.md (falling back to the legacy docs/briefs/DECISION-BRIEF.md if that is the one already on disk) (else create the brief at docs/briefs/DECISION-BRIEF-<slug>.md). If several specs match, ask the user which one; do not auto-pick. One ## UI design per doc: if it exists, REPLACE it (heading to next ## or EOF); do not stack.
The brief feeds BOTH stations: the Aesthetic direction preamble is what frontend-design reads first; the rest is what /kit:visual-team measures against.
## UI design
Date: [date]
Source: this spec's ## Solution (or the brief's), + the developer's UI intent
### Aesthetic direction (feeds the generator)
- Purpose: [the problem + who uses it]
- Tone: [pick an extreme: minimal | maximalist | brutalist | editorial | retro-futuristic | ...]
- Constraints: [framework, performance, accessibility, existing design system]
- Differentiation: [the one unforgettable thing]
- References: [ref-library cards this brief draws on, from `ref-library find <words>`, the operator's reference-library CLI when it is on PATH; copy each card's Technique numbers into the motion spec]
- Exclude: [named patterns the generator must not use, e.g. "no off-white background, no pill buttons, no italic accent words in headings"; specific names, never "avoid a generic look"]
- Persona (optional): [operator-supplied critique archetype, seeded from `$ARGUMENTS` `persona:`; blank if none. Threaded to `/kit:visual-team` in Step 3 as its 6th lens]
### Layout & structure
[regions, grid, hierarchy]
### Components & states
Per key component, a states x properties matrix; state priority disabled > loading > active > focus > hover > default.
| state | bg | fg | border | opacity | cursor |
|-------|----|----|--------|---------|--------|
| default | token | token | - | 1 | pointer |
| hover | ... | ... | ... | ... | ... |
| focus | ... | ... | ring | ... | ... |
| disabled | muted | muted | - | 0.5 | not-allowed |
### Responsive behavior
[breakpoints + the named viewports the critique checks, e.g. 390 / 768 / 1440]
### Accessibility targets
[contrast 4.5:1 body / 3:1 large+UI+focus-ring; never color-alone for state; aria-invalid / aria-busy / aria-disabled; visible focus ring]
### Design-system tokens (3-tier ladder)
- primitive: [raw values, e.g. --color-blue-600:#2563EB; --space-4:1rem]
- semantic: [purpose aliases, e.g. --color-primary -> blue-600]
- component: [per-component vars, e.g. --button-bg -> primary]
- dark mode: override the SEMANTIC layer only
(defaults to the kit's visual-theme tokens unless the project overrides)
### Content/copy
[key strings + voice as 3-5 "X not Y" trait pairs (e.g. "confident, not arrogant") + a context -> tone-shift mini-table]
If neither a spec nor a brief has a ## Solution to draw context from, still write the ## UI design from the developer's intent; do not stop.
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.
- 4d ago Changed · +1 lines 41bc3b19457a
- 20d ago Changed · +1 lines 325dbf580e91
- 1mo ago Changed 0c61b8944b12
- 1mo ago Changed 585d63c8702a
- 2mo ago Changed · +1 lines b920799f9e99
- 2mo ago Changed e4bfa96aa808
- 2mo ago Changed c9444f536326
- 2mo ago Changed e6b8452f91ff
- 2mo ago First seen · 150 lines · 50 tokens per session scan A 112191529344
ui-design is a command published in the GitHub repository dwarvesf/dwarves-kit (15 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 3,195 once invoked, about $0.0002 per session on Opus 5.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-04.
ui-design compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ui-designdwarvesf/dwarves-kit | Command | 15 | today | MIT | A | 50 | Claude Code |
| canvas-designhamr0/agentic-toolkit | Command | 23 | 3d ago | Apache-2.0 | A | 59 | Claude Code |
| brand-guidelineshamr0/agentic-toolkit | Command | 23 | 3d ago | Apache-2.0 | A | 50 | Claude Code |
| specmanager-designjoanseg/specmanager | Command | 27 | 13d ago | MIT | A | 44 | Claude Code |
| initdork-labs/dorkos | Command | 11 | today | MIT | A | 13 | Claude Code |
| rundork-labs/dorkos | Command | 11 | today | MIT | A | 22 | Claude Code |
| pulsedork-labs/dorkos | Command | 11 | today | MIT | A | 15 | Claude Code |