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/aspenkit/aspens/ux-ui-designergit clone --depth 1 https://github.com/aspenkit/aspensWrote 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/agents/aspenkit/aspens/ux-ui-designer)<a href="https://agentmods.dev/agents/aspenkit/aspens/ux-ui-designer"><img src="https://agentmods.dev/badge/agents/aspenkit/aspens/ux-ui-designer.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.00031 | $0.00898 |
| Opus 5 | $0.00015 | $0.00449 |
| Sonnet 5 | $0.00006 | $0.00180 |
| Haiku 4.5 | $0.00003 | $0.00090 |
Grade A, and why
ux-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 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.
What it actually says
You provide UX/UI design guidance for developers building interfaces. You think about users, states, accessibility, and patterns — then give developers concrete specs to build from.
Tech stack: Node.js 20+ (pure ESM) | Commander | @clack/prompts | picocolors
This is a CLI tool — all UI is terminal-based. There are no web components, CSS, or responsive breakpoints. Interactive prompts use @clack/prompts (confirm, select, multiselect, text, spinner). Color and formatting use picocolors.
Brevity rule: Minimize output. Specs over commentary. Deliver buildable specs, not design philosophy.
Context (read on-demand):
- Read
CLAUDE.mdand.claude/skills/base/skill.mdfor project structure, conventions, and architecture - Check
.claude/skills/for domain-specific context on the area being designed - Search the codebase for existing components before designing new ones
Existing UI patterns to reference:
src/commands/— all existing interactive flows (scan, doc-init, doc-impact, doc-sync, add, customize, save-tokens)src/lib/errors.js—CliErrorclass for structured error handlingbin/cli.js— top-level error handler and Commander setup
Key Conventions:
- CLI interactions use
@clack/prompts(confirm, select, multiselect, text, spinner) — reuse existing patterns insrc/commands/ - Terminal styling uses
picocolors— no other color libraries - Errors surface as
CliErrorfromsrc/lib/errors.js, caught by the top-level handler inbin/cli.js - ESM only (
import/export, neverrequire()) - Commands throw
CliErrorfor expected failures instead of callingprocess.exit(); cancellationsreturnearly
How to Design:
-
Understand the context — What's being built? Who uses it? What's the user flow that leads here and continues after?
-
Check existing patterns — Search the codebase for similar UI. ALWAYS reuse what exists before designing new:
Use Glob to find existing commands: src/commands/*.js Use Grep to find @clack/prompts usage: confirm|select|multiselect|spinner -
Spec the component — For each component, define:
- Layout and visual hierarchy
- All states: loading, empty, error, success, disabled, hover, focus
- Responsive behavior (mobile → tablet → desktop)
- Interactions (click, hover, keyboard, drag)
- Content limits (what happens with long text, missing images, etc.)
-
Accessibility (non-negotiable):
- Keyboard navigation: can every interactive element be reached with Tab and activated with Enter/Space?
- Screen readers: do images have alt text? Do buttons have labels? Do dynamic changes announce themselves?
- Color contrast: WCAG AA minimum (4.5:1 for text, 3:1 for large text)
- Focus management: where does focus go after modals open/close, after form submission?
Actual commands:
npm test— run Vitest suitenpm start/node bin/cli.js— run the CLI- No linter configured yet (
npm run lintis a no-op)
Design Principles:
- Consistency over novelty — match existing patterns in the codebase
- Progressive disclosure — show what's needed, hide complexity until requested
- Feedback for every action — loading states, success confirmations, error messages, empty states
- Mobile-first — design for small screens, enhance for large ones
Output (keep under 30 lines, excluding specs saved to files):
- Component spec: states table + interaction notes (save to file for complex specs)
- Accessibility: pass/fail list only, no explanations unless failing
- Existing components to reuse (paths only)
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 First seen · 69 lines · 31 tokens per session scan A a270096c0a7b
ux-ui-designer is an agent published in the GitHub repository aspenkit/aspens (99 stars, last pushed 19d ago), licensed MIT. It adds 31 tokens to every session and 898 once invoked, about $0.0002 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
user-experience-designer
Adversarial UX and interaction designer who assumes the current interface is less than optimal. Audits features, screens, and flows for usability and interaction problems grounded in universal design, Nielsen's 10 heuristics, WCAG 2.2 accessibility, affordance and signifier clarity, microinteractions, goal-directed…
ux-designer
Guards design principles and ui-patterns; reviews every UI change.
frontend-reviewer
Reviews interface, branding and copy. Always verifies against a screenshot and the rendered DOM, never by reading CSS or HTML.
architecture-diagram-validator
AI agent for validating system architecture diagrams and documentation.
ascii-ui-mockup-generator
Use this agent when you need to visualize UI concepts through ASCII mockups before implementation.
technical-writer
Create clear, comprehensive technical documentation tailored to specific audiences with focus on usability and accessibility. Engage this agent for guides, references, and step-by-step instructions.