audit

audit is a command for Claude Code from educlopez/ui-craft. It costs 19 tokens per session (804 once invoked), scanned A, original, MIT.

A command for auditing a user interface for accessibility, speed, and behaviour across screen sizes.

In plain words
What is it for?
Use it to review desktop, tablet, mobile, and supported dark-mode views, then record and prioritize accessibility, performance, and responsive-layout findings.
Why use it?
It turns visual and technical checks into a prioritized table of problems, helping teams decide what to fix first.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the ui-craft plugin — 30 skills, 25 commands, 2 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to review desktop, tablet, mobile, and supported dark-mode views, then record and prioritize accessibility, performance, and responsive-layout findings.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/educlopez/ui-craft/audit
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.

Clone the repo
git clone --depth 1 https://github.com/educlopez/ui-craft

Made for: Claude Code.

Or install ui-craft, the plugin that ships this one along with the rest of its 30 skills, 25 commands, 2 agents, 1 hook, 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/educlopez/ui-craft/audit/github.svg)](https://agentmods.dev/commands/educlopez/ui-craft/audit)
Your own site
<a href="https://agentmods.dev/commands/educlopez/ui-craft/audit"><img src="https://agentmods.dev/badge/commands/educlopez/ui-craft/audit/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.

agentmods 80×15 button for audit

Your own site · 80×15
<a href="https://agentmods.dev/commands/educlopez/ui-craft/audit"><img src="https://agentmods.dev/badge/commands/educlopez/ui-craft/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 804 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00019 $0.00804
Opus 5.5 $0.00008 $0.00322
Sonnet 5.5 $0.00004 $0.00161
Haiku 4.5 $0.00002 $0.00080

Measured 3mo ago against content hash ad28dbde9c86, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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.

cli/assets/claude/commands/audit.md · 61 lines

What it actually says

Run a technical audit of the UI at $ARGUMENTS. Load the ui-craft skill and apply the audit lens.

Step 0: Visual capture (mandatory)

Code-only review is insufficient. Every audit/critique starts with the surface as the user sees it. Try the following in order; use the first one available:

  1. Playwright MCP — if playwright MCP server is available, use it. Capture full-page screenshots at three viewports: desktop (1280×800), tablet (768×1024), mobile (375×812). Capture dark mode if the app supports it.
  2. Browser DevTools / Chrome MCP — second choice; same viewport set.
  3. Other browser automation (agent-browser, cursor-ide-browser) — third choice.
  4. Ask the user — last resort. If no automation is available, request screenshots from the user before proceeding. Be specific:
    • "Visual review needs screenshots. Please provide:
      • Full-page at 1280px (desktop)
      • Full-page at 768px (tablet)
      • Full-page at 375px (mobile)
      • Dark mode of each, if supported."

Do not begin the review until visuals are captured or provided. State this explicitly to the user when no automation succeeds — don't silently fall back to code-only review.

If the user declines to provide screenshots, run a code-only pass and clearly mark the report [CODE-ONLY REVIEW — visual issues not assessed] at the top so the limitation is explicit.

Note: audit is knob-agnostic — accessibility and performance are not tunable.

Scope (non-negotiable checks):

  1. Accessibility — read references/accessibility.md:
    • Visible :focus-visible on every interactive element
    • Keyboard reachable, no focus traps
    • Touch targets ≥ 44px (mobile)
    • Color not the only signal for state
    • Form labels, error association, required indication
    • prefers-reduced-motion honored for all animations
  2. Performance — read references/motion.md Rendering Performance section:
    • Only transform / opacity animated (no width/top/height)
    • No transition: all
    • will-change scoped to active interaction, removed after
    • Images have width/height or aspect-ratio (CLS)
    • No layout thrash in scroll/resize handlers
  3. Responsive — read references/responsive.md:
    • Mobile-first breakpoints, no fixed-width components
    • env(safe-area-inset-*) respected on fixed elements
    • Touch zones don't overlap
    • No horizontal scroll at 320px

Output format — the Review Format table from SKILL.md:

Before After Why

Group findings by priority: Critical (blocks usability/a11y) → High-impact (immediately noticeable) → Quick wins (polish).

Do NOT rewrite code unless asked. Report findings first; wait for approval before editing.

Close with a Craft Report (references/review.md → Craft Report), wrapping the findings table above — Checked states scope (a11y/perf/responsive, at which viewports), Passed carries anything inspected and found sound, Changed stays empty pre-approval, Verdict names the top priority. Produce it even on a clean audit — a11y/perf/responsive coming back clean is the finding.

Next step: /harden — turn the findings into real production coverage (rung 1).

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. 3mo ago First seen · 61 lines · 19 tokens per session scan A ad28dbde9c86

Subscribe to this mod's changes

audit is a command published in the GitHub repository educlopez/ui-craft (496 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 804 once invoked, about $0.0001 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-30.

Related

audit compared with commands from other repositories

audit next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auditeduclopez/ui-craftCommand496todayMITA19Claude Code
stylerohitg00/awesome-claude-code-toolkitCommand2.9k6mo agoApache-2.0A0Claude Code
summaryclownware/product-devCommand31mo agoApache-2.0A27Claude Code
start-design-planed3dai/ed3d-pluginsCommand2532mo agononeA8Claude Code
new-featureimamirezaei/Product-Team-Claude-SkillsCommand35mo agononeA15Claude Code
design-researchimamirezaei/Product-Team-Claude-SkillsCommand35mo agononeA18Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code