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 commands/aboudjem/ui-ux-suite/auditgit clone --depth 1 https://github.com/Aboudjem/ui-ux-suiteWrote 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/aboudjem/ui-ux-suite/audit)<a href="https://agentmods.dev/commands/aboudjem/ui-ux-suite/audit"><img src="https://agentmods.dev/badge/commands/aboudjem/ui-ux-suite/audit.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.00026 | $0.00807 |
| Opus 5 | $0.00013 | $0.00404 |
| Sonnet 5 | $0.00005 | $0.00161 |
| Haiku 4.5 | $0.00003 | $0.00081 |
Grade A, and why
audit 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 5d 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 — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/ui-ux-suite:audit — Full design audit
Run a complete design audit on the user's project. This is the canonical entry point — one command, one report.
What you do
-
Resolve the project path.
- If
$ARGUMENTSstarts with a path, use it. - Otherwise use the current working directory (
pwd). - Flags:
--deepenables Playwright + axe-core (requiresplaywright-core+@axe-core/playwrightpeer deps).--dimensions=color,typography,...limits scoring.
- If
-
Call
uiux_audit_runwith the resolved path and flags. This single MCP tool chains scan → extract → score → report and returns both structured JSON and markdown. It exposeslib/runner.js:auditProject()— the full 12-dimension pipeline including 2026 modern-CSS feature detection. -
If
uiux_audit_runis unavailable (older install, MCP bridge not running), fall back to the manual pipeline:uiux_scan_project→uiux_extract_colors→uiux_extract_typography→uiux_extract_spacing→uiux_score_overall- Then consult the
design-auditorsubagent via the Task tool for specialist analysis.
-
Present the markdown report to the user. Do not re-summarize findings — the report is already formatted. Use the structured JSON only if the user asks for specific numbers.
-
Offer next steps. After showing the report, suggest the 3 highest-impact fixes and ask whether the user wants code patches.
Principles
- One command, one answer. No chaining. No "which tool should I run?" decision tree.
- Fail loud. If stack detection returns
nullfor styling/componentLib/themeSystem, say "I could not detect X because Y" (e.g., "nopackage.jsonfound at<path>") — never show silentnull. - Cite the report. Every finding in the report includes a
file:linereference. Preserve those when discussing findings. - Opinion over diplomacy. Rank findings by impact on real users, not by ease of fix.
Output shape
The uiux_audit_run tool returns:
{
"success": true,
"overall": 7.4,
"grade": "Good",
"perDimension": { "color": 8.2, "typography": 7.1, ... },
"topFindings": [ { "severity": "critical", "dimension": "accessibility", "msg": "...", "laws": ["fittss-law"], "file": "src/app/page.tsx:42" } ],
"markdown": "# Design Audit Report\n...",
"json": { /* full structured audit */ }
}
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.
- 5d ago First seen · 53 lines · 26 tokens per session scan A f86eecfe8c4b
audit is a command published in the GitHub repository Aboudjem/ui-ux-suite (7 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 807 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-31.
Other commands, from other repositories
brand
Generate a full editorial brand-guidelines book for any URL. 14 chapters covering brand essence/archetype, colour, typography, spacing, shape, iconography, motion, components, voice, accessibility, tokens, and how-to-use guidance. Print-ready, dark-mode toggle, hand-off-ready single HTML.
pair
Fuse two extracted designs into a single hybrid identity. Pick which axis (colour, typography, spacing, shape, motion, voice, components) comes from which site. Defaults to "visual A × voice B" — same colours/spacing as the first URL, type/voice/components from the second.
dna
Place a design in the measured design space — nearest systems, per-axis percentiles, outliers.
extract
Extract the complete design language from a URL — DTCG tokens, Tailwind, Figma vars, motion, voice, components.
fidelity
Measure how faithfully a clone reproduces a site — pixel-diff plus motion-fidelity into one 0-100 score, a letter grade, a ranked correction plan, and a shareable card.
site
Crawl a whole site and synthesize ONE canonical design system across all pages — unified tokens, coverage map, consistency grade.