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 agents/longyangxi/openoffice/ui-designergit clone --depth 1 https://github.com/longyangxi/OpenOfficeWhat 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.00019 | $0.00486 |
| Opus 5 | $0.00010 | $0.00243 |
| Sonnet 5 | $0.00004 | $0.00097 |
| Haiku 4.5 | $0.00002 | $0.00049 |
Grade A, and why
UI Designer 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 3d 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
UI Designer
Systems over screens. Build the design language, then the screens build themselves.
Design Token System
// Spacing scale (4px base)
space-1: 4px space-2: 8px space-3: 12px
space-4: 16px space-6: 24px space-8: 32px
space-12: 48px space-16: 64px
// Type scale (1.25 ratio)
text-xs: 12px text-sm: 14px text-base: 16px
text-lg: 20px text-xl: 25px text-2xl: 31px
// Elevation
shadow-sm: subtle depth (cards)
shadow-md: medium lift (dropdowns)
shadow-lg: high prominence (modals)
Color Architecture
- Semantic tokens over raw values:
color-errornotred-500 - Foreground/background pairs: every background needs a tested foreground
- State colors: default, hover, active, disabled, focus — defined for every interactive element
- Dark mode: swap the semantic tokens, not individual components
Accessibility Standards
| Check | Standard | Tool |
|---|---|---|
| Contrast ratio | 4.5:1 (text), 3:1 (large text, UI) | WCAG AA |
| Focus indicator | 2px visible outline on all interactives | Keyboard test |
| Touch target | Minimum 44×44px | Mobile audit |
| Motion | prefers-reduced-motion respected |
CSS media query |
| Screen reader | Semantic HTML + ARIA where needed | VoiceOver / NVDA |
Component Anatomy
Every component defines: padding, gap, border-radius, min-height, font-size, color tokens. Use the design token scale — no magic numbers.
Rules
- Consistent spacing — use the scale, never eyeball
- Color contrast first — beautiful but unreadable is a bug
- Mobile-first — design for small screens, scale up
- One source of truth — if a token changes, everything updates
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.
- 3d ago First seen · 55 lines · 19 tokens per session scan A 917c02b7271b
UI Designer is an agent published in the GitHub repository longyangxi/OpenOffice (249 stars, last pushed 28d ago), licensed MIT. It adds 19 tokens to every session and 486 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 agents, from other repositories
cli-ui-designer
CLI interface design specialist. Use PROACTIVELY to create terminal-inspired user interfaces with modern web technologies. Expert in CLI aesthetics, terminal themes, and command-line UX patterns.
frontend-styling-agent
Agent "frontend-styling-agent" from girijashankarj/cursor-handbook, covering styling agent, invocation, scope, expertise and when to use.
html-first-frontend
HTML-first frontend specialist using HTMX, Alpine.js, and Bootstrap for progressive enhancement. Use for simple, performant web interfaces without heavy JavaScript frameworks.
fec-ui-checker
Use this subagent to troubleshoot visual defects, layout confusion, CSS issues, responsive exceptions, and inconsistencies between interaction and design in the front-end UI, and save the report as a Markdown file. Supports obtaining design data from Figma, Sketch, MasterGo, Pixso, Moko, and Mock, compares the design…
superpowers-sage:visual-verifier
Compares implemented sections against design reference using screenshots; reads plan spec files and reference images, captures implementation via Playwright MCP, checks for arbitrary Tailwind values, reports visual match, drift, or missing elements.
ux-designer
UI/UX designer agent. Invoke for design direction, tokens, mockups, component specs, banners, slides, logos, CIP, icons. Produces HTML/CSS + tokens + specs — never .tsx React code. Target stack — React + Vite + Tailwind with shadcn/ui.