audit

audit is a command for coding agents from Aboudjem/ui-ux-suite. It costs 26 tokens per session (807 once invoked), scanned A, original, MIT.

A complete review of a project's user interface and user experience across twelve design areas, producing a scored Markdown report.

In plain words
What is it for?
It scans the project, extracts colors, typography, and spacing, evaluates the design, and can optionally use browser checks and accessibility testing.
Why use it?
It brings separate checks into one report so developers can see the most important design problems and their priorities.

Command

Part of the ui-ux-suite plugin — 14 skills, 5 commands, 12 agents, 1 MCP server shipped together

Install

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.

agentmods
npx agentmods add commands/aboudjem/ui-ux-suite/audit
Clone the repo
git clone --depth 1 https://github.com/Aboudjem/ui-ux-suite

Or install ui-ux-suite, the plugin that ships this one along with the rest of its 14 skills, 5 commands, 12 agents, 1 MCP server.

Wrote 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.

agentmods badge for audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/aboudjem/ui-ux-suite/audit.svg)](https://agentmods.dev/commands/aboudjem/ui-ux-suite/audit)
Your own site
<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>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 807 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 5d ago against content hash f86eecfe8c4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

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.

commands/audit.md · 53 lines

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

  1. Resolve the project path.

    • If $ARGUMENTS starts with a path, use it.
    • Otherwise use the current working directory (pwd).
    • Flags: --deep enables Playwright + axe-core (requires playwright-core + @axe-core/playwright peer deps). --dimensions=color,typography,... limits scoring.
  2. Call uiux_audit_run with the resolved path and flags. This single MCP tool chains scan → extract → score → report and returns both structured JSON and markdown. It exposes lib/runner.js:auditProject() — the full 12-dimension pipeline including 2026 modern-CSS feature detection.

  3. If uiux_audit_run is unavailable (older install, MCP bridge not running), fall back to the manual pipeline:

    • uiux_scan_projectuiux_extract_colorsuiux_extract_typographyuiux_extract_spacinguiux_score_overall
    • Then consult the design-auditor subagent via the Task tool for specialist analysis.
  4. 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.

  5. 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 null for styling/componentLib/themeSystem, say "I could not detect X because Y" (e.g., "no package.json found at <path>") — never show silent null.
  • Cite the report. Every finding in the report includes a file:line reference. 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 */ }
}

Read the full file on GitHub · 53 lines

Changes

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.

  1. 5d ago First seen · 53 lines · 26 tokens per session scan A f86eecfe8c4b

Subscribe to this mod's changes

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.