design-audit

design-audit is a skill for Claude Code from JoaoEquer/Oficina. It costs 172 tokens per session (1,546 once invoked), scanned A, original, MIT.

A read-only checker for finding visual design inconsistencies, common generated-interface patterns, hardcoded style values, and accessibility gaps in a user interface.

In plain words
What is it for?
Use it to scan a UI codebase and produce findings tied to source lines or screenshot regions.
Why use it?
It provides evidence about design-system drift and usability problems before anyone changes the project.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the oficina plugin — 23 skills, 5 commands shipped together

Good fit Use it to scan a UI codebase and produce findings tied to source lines or screenshot regions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joaoequer/oficina/design-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.

Any agent
npx skills add JoaoEquer/Oficina --skill design-audit
Clone the repo
git clone --depth 1 https://github.com/JoaoEquer/Oficina

Made for: Claude Code.

Or install oficina, the plugin that ships this one along with the rest of its 23 skills, 5 commands.

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-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/joaoequer/oficina/design-audit/github.svg)](https://agentmods.dev/skills/joaoequer/oficina/design-audit)
Your own site
<a href="https://agentmods.dev/skills/joaoequer/oficina/design-audit"><img src="https://agentmods.dev/badge/skills/joaoequer/oficina/design-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 design-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/joaoequer/oficina/design-audit"><img src="https://agentmods.dev/badge/skills/joaoequer/oficina/design-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,546 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.00172 $0.01546
Opus 5.5 $0.00069 $0.00618
Sonnet 5.5 $0.00034 $0.00309
Haiku 4.5 $0.00017 $0.00155

Measured 3d ago against content hash 4d98470977e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scan.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/design-audit/SKILL.md · 81 lines

How it starts

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

Design audit

Provenance: own skill (2026-10-19). Rule catalog adapted from Impeccable's detector (pbakaus/impeccable, Apache-2.0, antipatterns.json); confidence model borrowed from getsentry/skills security-review (Apache-2.0). Why: redesign-existing-projects is a taste checklist with no detection step, and its "Upgrade Techniques" recommend several patterns that are themselves generated-UI tells (Geist, glassmorphism, spotlight borders, grain overlays). This skill wins when the two disagree.

Report only. Never edit files in this skill.

Core idea

A single purple gradient is not "AI slop". The tell is the default taken without a reason, repeated. A finding needs: a pattern from the catalog, evidence (file:line or a screenshot region), and no documented reason for it in the project (brand guide, DESIGN.md, tokens). Brand choices beat the catalog: if DESIGN.md says the brand font is Inter, Inter is not a finding.

Process

1. Context (5 min, before any scan)

  • Stack: framework, styling (Tailwind v3/v4, CSS modules, styled, RN StyleSheet), component kit (shadcn, MUI, NativeWind...). Check every package.json, not only the root.
  • Design system source of truth, in order: DESIGN.md / brand doc → token files (tailwind.config.*, @theme in CSS, theme.ts, CSS custom properties) → none. No source = say so; drift findings then become "no system" findings.
  • Product character in one line (who uses it, what mood). A tax dashboard and a kids' game have different correct answers. Canvas/game art drawn in code is not token drift.

2. Static scan (deterministic)

node <oficina>/skills/design-audit/scripts/scan.mjs <project-path> --max 8
node <oficina>/skills/design-audit/scripts/scan.mjs <project-path> --json   # for diffing two runs

Read-only, no network, no deps. Output groups: tell, drift, a11y, plus aggregates (distinct colors/radii/font sizes). Treat every hit as a lead: open the file:line and confirm before it becomes a finding. Monorepo: run per app.

Read the full file on GitHub · 81 lines

Files

What ships with it

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

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. 3d ago First seen · 81 lines · 172 tokens per session scan A 4d98470977e9

Subscribe to this mod's changes

design-audit is a skill published in the GitHub repository JoaoEquer/Oficina (2 stars, last pushed 4d ago), licensed MIT. It adds 172 tokens to every session and 1,546 once invoked, about $0.0007 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-10-21.