typography-audit

typography-audit is a skill for Claude Code from mblode/agent-skills. It costs 68 tokens per session (1,630 once invoked), scanned A, original, MIT.

A focused review of how text looks and behaves on a website, covering fonts, sizes, spacing, punctuation, alignment, hierarchy, and related details. It reports each issue with the file, line, rule, and a concrete fix.

In plain words
What is it for?
Use it to inspect changed or entire CSS, HTML, JSX, TSX, or template files and fix font loading, text layout, spacing, type pairing, and display-text issues.
Why use it?
It catches typography problems that can make a site harder to read or weaken its visual identity, without expanding the review into general interface design.

Skill for Claude Code

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

Part of the agent-skills plugin — 26 skills shipped together

Good fit Use it to inspect changed or entire CSS, HTML, JSX, TSX, or…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mblode/agent-skills/typography-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 mblode/agent-skills --skill typography-audit
Clone the repo
git clone --depth 1 https://github.com/mblode/agent-skills

Made for: Claude Code.

Or install agent-skills, the plugin that ships this one along with the rest of its 26 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mblode/agent-skills/typography-audit.svg)](https://agentmods.dev/skills/mblode/agent-skills/typography-audit)
Your own site
<a href="https://agentmods.dev/skills/mblode/agent-skills/typography-audit"><img src="https://agentmods.dev/badge/skills/mblode/agent-skills/typography-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,630 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.00068 $0.01630
Opus 5 $0.00034 $0.00815
Sonnet 5 $0.00014 $0.00326
Haiku 4.5 $0.00007 $0.00163

Measured yesterday against content hash e2ebfd054195, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

typography-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 yesterday.

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/typography-audit/SKILL.md · 104 lines

How it starts

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

Typography Audit

78 rules in 10 categories for web typography. Every finding names file, rule, and fix.

  • IS: typography only: font loading, sizing, punctuation, spacing, hierarchy, text layout, OpenType features, typeface pairing, brand type, display type.
  • IS NOT: broad UI review (accessibility, forms, navigation: use ui-design Audit mode), or a redesign (new typefaces, scales: use ui-design Direction mode).

Audit Workflow

Track this checklist:

Audit progress:
- [ ] Step 1: Scope. List changed files (or full sweep), map signals to categories
- [ ] Step 2: Run CRITICAL rules in scope (font-, size-, punct-)
- [ ] Step 3: Run HIGH rules in scope (spacing-)
- [ ] Step 4: Run remaining in-scope categories by descending priority
- [ ] Step 5: Report per the contract; every finding has file:line, rule ID, fix
  1. Scope to changed files unless a full sweep is requested. For a PR, use the diff against its actual base merge-base, including committed changes, filtered to .css, .scss, .html, .tsx/.jsx, and template files.
  2. Map code to categories via the signal table; skip categories with no signal.
  3. Load rule files by prefix (rules/font-*.md, etc.), only for the categories the signals selected.
  4. Run categories in priority order so CRITICAL findings surface even if the audit is cut short.
  5. After fixes, re-run only the rules that produced findings, then finalize the report.

Scoping Signals → Categories

Signal in code Categories to load
@font-face, font-family, font files, variable fonts, font-stretch, transform: scaleX on text font-
font-size, clamp(), media-query type changes, max-width on text, <em>/<strong>, text-decoration size-
Copy in HTML/JSX (headings, paragraphs, labels) punct-
line-height, letter-spacing, word-spacing, margin on text, text-transform: uppercase spacing-
Heading elements, type scale tokens, --text-* properties hierarchy-
text-align, lists, blockquotes, multi-column text layout-
font-feature-settings, font-variant-*, figures/fractions in copy opentype-
Logo/wordmark styles, brand tokens, text color tokens, license comments brand-
Two or more distinct font-family values pairing-
Hero/display sizes, drop caps, initial-letter display-

Read the full file on GitHub · 104 lines

Files

What ships with it

60 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. yesterday Changed · -12 lines · -136 tokens per session e2ebfd054195
  2. 7d ago First seen · 116 lines · 204 tokens per session scan A faf8afe4c449

Subscribe to this mod's changes

typography-audit is a skill published in the GitHub repository mblode/agent-skills (103 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 1,630 once invoked, about $0.0003 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-30.