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 skills add d-o-hub/github-template-ai-agents --skill ui-ux-optimizegit clone --depth 1 https://github.com/d-o-hub/github-template-ai-agentsWrote 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/d-o-hub/github-template-ai-agents/ui-ux-optimize)<a href="https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/ui-ux-optimize"><img src="https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/ui-ux-optimize/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/skills/d-o-hub/github-template-ai-agents/ui-ux-optimize"><img src="https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/ui-ux-optimize.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.00121 | $0.02491 |
| Opus 5.5 | $0.00048 | $0.00996 |
| Sonnet 5.5 | $0.00024 | $0.00498 |
| Haiku 4.5 | $0.00012 | $0.00249 |
Grade A, and why
ui-ux-optimize 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 25d 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 — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UI/UX Prompt Optimizer
Compliance Mandate
You are a constrained design executor once tokens are frozen.
- Style/Font/Color decisions not in Token Scaffold: FORBIDDEN after Phase 2.
- Missing required token category: warn and ask user — do NOT infer.
- Before Phase 2: full creative freedom. After Phase 2 freeze: zero discretion.
- FREEZE ENFORCEMENT:
scripts/validate-tokens.cjsenforces the freeze programmatically.
Swarm-powered skill for generating implementation-ready UI/UX prompts. Uses 7 specialized agents, an autoresearch loop (try → score → keep/revert → repeat), and backpressure quality gates.
When to Use
- UI/UX design help, redesign, or critique for any digital product
- Prompt optimization for a design or coding agent
- A structured design brief from a vague idea
- A design audit or variant generation for a design system
Supported: web apps, mobile apps, dashboards, admin tools, e-commerce, SaaS, games, kiosk/touch UIs, prototypes.
When NOT to Use
- Pure branding (logos, print, identity only)
- Motion graphics or video production
- Backend architecture with no UI component
- Marketing copy without interface context
Anti-AI-Slop Guide
Systematic antidote for generic AI patterns in UI, UX, and copy.
Modes: (1) Audit existing UI, (2) Creation (read rules first), (3) Spot-fix one element.
Always name the sin before fixing. Full pattern tables → references/anti-slop-guide.md
and references/anti-slop-rules.md. Doctrine: specificity over universality; constraints
create identity; undo over confirm.
Swarm Architecture
7 specialized agents. Full details → references/swarm-coordination.md
| Agent | Domain |
|---|---|
| Research Scout | Domain trends, platform guidelines, competitor analysis |
| Token Architect | Semantic design tokens, typography, color, spacing |
| Layout Engineer | Navigation, screen hierarchy, responsive composition |
| Variant Generator | 3 design variants with shared tokens + override diffs |
| Browser Verifier | Playwright screenshots, overlap detection, tap targets |
| Quality Auditor | Review checklist scoring, confidence, lessons |
| Anti-Slop Sentinel | Cross-cutting: translates vague language, detects AI patterns |
What ships with it
30 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/eval-prompt.md 73 B
- evals/evals.json 840 B
- evals/golden-tokens.json 835 B
- examples/casual-quest-game-run.md 1.8 KB
- examples/saas-dashboard-redesign-run.md 23 KB
- references/animations.md 11 KB
- references/anti-slop-guide.md 2.2 KB
- references/anti-slop-rules.md 1.7 KB
- references/auto-research.md 1.7 KB
- references/browser-verification.md 1.1 KB
- references/color-system.md 768 B
- references/design-tokens.md 1.9 KB
- references/game-ui-rules.md 1.1 KB
- references/layout-composition.md 1.3 KB
- references/navigation-clarity.md 1.1 KB
- references/prompt-patterns.md 1.1 KB
- references/responsive-screen-rules.md 1.1 KB
- references/review-checklist.md 1.4 KB
- references/self-learning-loop.md 829 B
- references/stitch-design-token-alignment.md 1.0 KB
- references/swarm-coordination.md 6.0 KB
- references/typography.md 4.6 KB
- references/variant-worktree-flow.md 996 B
- scripts/check-output.cjs 2.1 KB runs code
- scripts/sync-tokens.cjs 1.3 KB runs code
- scripts/validate-tokens.cjs 2.9 KB runs code
- scripts/verify.py 5.0 KB runs code
- templates/design-audit-template.md 2.0 KB
- templates/lessons-log-template.md 498 B
- templates/optimize-prompt-template.md 1.5 KB
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.
- 25d ago Changed · +13 tokens per session f0879f25b7d6
- 1mo ago First seen · 205 lines · 108 tokens per session scan A 99cff06339e9
ui-ux-optimize is a skill published in the GitHub repository d-o-hub/github-template-ai-agents (2 stars, last pushed yesterday), licensed MIT. It adds 121 tokens to every session and 2,491 once invoked, about $0.0005 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-08-31.
Other skills, from other repositories
ui-ux-pro-max-skill
UI UX Pro Max is one skill, not a collection, that produces a design system from a description of a project. Its README states it draws on a library of 79 UI styles, 192 color palettes, and 74 font pairings, outputting pattern, color, typography, and effects choices along with an anti-pattern checklist.
accessibility-ui-design
When designing and implementing web interfaces to ensure they are usable by everyone.
premium-saas-design
The Define, Build, Review, Refine loop and seven context artifacts (brief, content, mood boards, section specs, style guide, PRD, tasks) for building a premium SaaS marketing site with AI. Use when planning or building a SaaS landing page and you want the design context written down before any code.
design-movements
Design movements from Arts and Crafts through Bauhaus, Swiss Style, Memphis, and grunge to flat design and current styles, with context, visual markers, and UI tokens for each. Use when choosing an aesthetic direction, explaining why a style reads the way it does, or applying a period style without misusing it.
brand-systems
Brand identity building blocks: positioning, personality, archetypes, logo systems, color palettes, type pairing, voice, and guidelines documentation. Use when creating a brand, rebranding, or turning an existing identity into tokens and rules others can follow.
design-masters
Working profiles of Saul Bass, Massimo Vignelli, Dieter Rams, Paula Scher, Josef Müller-Brockmann, David Carson, and Paul Rand: key works, principles, and how to apply each in UI work. Use when a design needs a proven approach, a named reference to follow, or a lesson from a specific master.