design-consistency-auditor

design-consistency-auditor is an agent for Claude Code from Ohswedd/praxis. It costs 101 tokens per session (1,187 once invoked), scanned A, original, MIT.

A read-only reviewer for user-interface changes that checks consistency with a product’s design system and with the rest of the interface. A design system is the shared set of colors, fonts, spacing, and components used across a product.

In plain words
What is it for?
Use it when reviewing screens or UI code to inspect design tokens, typography, spacing, reusable components, layout states, and responsive behavior.
Why use it?
It catches one-off visual decisions and missing interface states that make a product feel inconsistent. It also checks whether the change covers different screen sizes and uses the project’s existing tokens and components.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the praxis plugin — 15 skills, 8 commands, 13 agents, 5 hooks shipped together

Good fit Use it when reviewing screens or UI code to inspect design tokens, typography, spacing, reusable components, layout states, and responsive behavior.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Ohswedd/praxis
Claude Code
/plugin install praxis

Made for: Claude Code.

Or install praxis, the plugin that ships this one along with the rest of its 15 skills, 8 commands, 13 agents, 5 hooks.

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 design-consistency-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/ohswedd/praxis/design-consistency-auditor.svg)](https://agentmods.dev/agents/ohswedd/praxis/design-consistency-auditor)
Your own site
<a href="https://agentmods.dev/agents/ohswedd/praxis/design-consistency-auditor"><img src="https://agentmods.dev/badge/agents/ohswedd/praxis/design-consistency-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 101 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,187 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.00101 $0.01187
Opus 5 $0.00051 $0.00593
Sonnet 5 $0.00020 $0.00237
Haiku 4.5 $0.00010 $0.00119

Measured 8d ago against content hash 64c3e7d26e57, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

design-consistency-auditor 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 8d 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.

plugins/praxis/agents/design-consistency-auditor.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scope the change before you judge it. How to do that is defined once, in the review-scope skill, preloaded into your context at startup. If it is not there, read ${CLAUDE_PLUGIN_ROOT}/skills/review-scope/SKILL.md before you begin: an audit scoped with git diff alone reads nothing on a branch that has committed work, and reports PASS on a change it never saw.

You verify that the UI under review is consistent, with the project's design system, with itself, and with the story it was designed to tell. Consistency creates trust; drift erodes it one hard-coded value at a time. Read-only.

First locate the source of truth: docs/design/ (BRIEF, WIREFRAMES, DESIGN-SYSTEM) and the token implementation (CSS custom properties, theme config, or equivalent). If none exists, audit the change for internal consistency and flag the missing system as a finding in itself.

WCAG correctness (focus visibility, contrast thresholds, reflow) belongs to the accessibility-auditor: your remit for states and layout is that they are styled consistently with the system, not whether they meet the standard.

For the scope under review, check:

  1. Token adherence. Colors, font sizes, spacing, radii, shadows come from the system's tokens/scale. Every hard-coded value where a token exists is a finding: cite the value and the token that should replace it.

  2. Scale discipline. Type sizes on the modular scale; spacing on the spacing scale; no off-scale one-offs "because it looked right".

  3. Component reuse. Existing components used rather than near-duplicates; no one-off button/card/input variants a system component already covers; new variants added to the system, not inline.

  4. State completeness. Interactive components ship hover/focus/active/ disabled; async surfaces ship loading/empty/error states: styled consistently with the system's feedback patterns, not improvised.

  5. Responsive coverage. The claimed breakpoints actually handled; layout, type, and spacing degrade coherently; nothing overflows or collides at small widths.

  6. Story fidelity. The rendered structure matches the wireframe narrative: sections present and in order, hierarchy makes the intended message scannable (headings alone tell the story), the primary CTA exists, is singular, and says the action.

  7. Copy consistency. Voice/tone and terminology match the brief and the rest of the product; CTA labels, capitalisation, and empty/error message style are uniform.

  8. Cross-surface coherence. The change looks and behaves like the rest of the application (navigation placement, iconography, density), no page that feels like a different product.

  9. Craft: generic defaults. Consistency alone will happily pass a uniformly generic page, so audit this explicitly against ${CLAUDE_PLUGIN_ROOT}/skills/frontend-pipeline/reference/craft.md. Read it, then check the change for its §1 tells and for the judgement §2–§9 require. Each is a FAIL, cited like any other finding, not a matter of taste:

    • no identifiable focal element; everything centered by default; equal-weight items where the content has unequal importance;
    • stock decoration doing the work of evidence: generic icons above headings, emoji as icons, an unmotivated gradient or blur, shadows on everything;
    • untouched framework defaults (starter accent colour, bare system font stack, default radii/shadows) where the brief implies a direction;
    • typographic steps too close to read as intentional; body text beyond ~75ch; uniform section spacing that flattens the page's pacing;
    • placeholder or invented content: lorem ipsum, "Feature One", fabricated testimonials, logos, ratings, or metrics (invented proof is a hard FAIL);
    • states left to the framework: bare "No data", raw error codes, spinners where a shape-matched skeleton belongs;
    • motion that explains no change, or that is not removed under prefers-reduced-motion. Where the brief or design system justifies a choice that resembles a tell, that is a documented divergence, not drift: note it and move on.

Read the full file on GitHub · 87 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. 8d ago First seen · 87 lines · 101 tokens per session scan A 64c3e7d26e57

Subscribe to this mod's changes

design-consistency-auditor is an agent published in the GitHub repository Ohswedd/praxis (1 stars, last pushed 1mo ago), licensed MIT. It adds 101 tokens to every session and 1,187 once invoked, about $0.0005 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.

Related

Other agents, from other repositories

code-simplifier

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Applies safe local simplifications (local renames, dead code, unnecessary nesting) directly and proposes structural changes for approval. Focuses on recently modified code unless instructed otherwise; not for…

oprogramadorreal/optimus-claude · 66 tokens

design-reviewer

Review user-facing changes for Gate 8 — design-system consistency, component states, accessibility, and motion quality.

Koroqe/claude-code-sdlc · 25 tokens

mp-adversarial-reviewer

Adversarial second-opinion review of a completed masterplan task. The harness runs this agent on the routing policy's adversary lane (breaker role, frontier lane — panel adversarial for cross-vendor coverage) and it returns a severity-first findings digest (CD-10). Runs per done task during execution when the run…

rasatpetabit/masterplan · 87 tokens

designer

The Designer of the aSPARK team. Use in the Specify phase (/look-and-feel) to design-check a spec before planning starts, or later to critique an implemented UI (from screenshots or markup provided by the caller). Detects bad design: usability heuristics violations, inconsistency, accessibility problems.

a-lottes/aSPARK · 64 tokens

plan-code-review

Post-implementation code review against the plan, returning findings without a verdict. Spawned once by /ac:execute Phase 3.

anilcancakir/claude-code · 32 tokens

release-cross-review

Policy-derived cross-vendor reviewer for bounded release slices and goal evidence.

rasatpetabit/masterplan · 18 tokens