typography

typography is a skill for Claude Code, Codex from petekp/claude-code-setup. It costs 69 tokens per session (3,170 once invoked), scanned A, original, MIT.

A set of guidelines for choosing and arranging type—letters and text—in user interfaces.

In plain words
What is it for?
Use it when selecting fonts, setting text sizes and spacing, handling dark mode or multiple languages, loading fonts, or designing text-heavy pages.
Why use it?
It helps make text easier to read and gives headings, body copy, and other content a clear visual order.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when selecting fonts, setting text sizes and spacing, handling dark mode or multiple languages, loading fonts, or designing text-heavy pages.

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

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/petekp/claude-code-setup/typography/github.svg)](https://agentmods.dev/skills/petekp/claude-code-setup/typography)
Your own site
<a href="https://agentmods.dev/skills/petekp/claude-code-setup/typography"><img src="https://agentmods.dev/badge/skills/petekp/claude-code-setup/typography/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 typography

Your own site · 80×15
<a href="https://agentmods.dev/skills/petekp/claude-code-setup/typography"><img src="https://agentmods.dev/badge/skills/petekp/claude-code-setup/typography.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,170 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00069 $0.03170
Opus 5.5 $0.00028 $0.01268
Sonnet 5.5 $0.00014 $0.00634
Haiku 4.5 $0.00007 $0.00317

Measured 1mo ago against content hash fa63d89a9bcb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

typography 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 1mo 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.

skills/typography/SKILL.md · 445 lines

How it starts

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

Typography

Professional typography for user interfaces, grounded in principles from the masters.

"Typography exists to honor content." — Robert Bringhurst

Reference Files

For detailed guidance on specific topics, consult these references:

Topic When to Read
masters.md Seeking authoritative backing, making nuanced judgments, understanding "why"
variable-fonts.md Using variable fonts, fluid weight, performance optimization
font-loading.md FOIT/FOUT issues, preloading, Core Web Vitals, self-hosting
opentype-features.md Ligatures, tabular numbers, stylistic sets, slashed zero
fluid-typography.md clamp(), text-wrap, truncation, vertical rhythm, font smoothing
tailwind-integration.md Tailwind typography utilities, prose plugin, customization
internationalization.md RTL languages, Arabic/Hebrew, CJK, bidirectional text

Output Formats

Type System Recommendations

## Type System

### Scale
- Base: [size, e.g., 16px]
- Ratio: [e.g., Minor Third 1.200]
- Rationale: [why this ratio]

### Hierarchy
| Level | Size | Weight | Line Height | Letter Spacing | Use |
|-------|------|--------|-------------|----------------|-----|
| Display | ... | ... | ... | ... | Hero, marketing |
| H1 | ... | ... | ... | ... | Page titles |
| H2 | ... | ... | ... | ... | Section heads |
| Body | ... | ... | ... | ... | Paragraphs |
| Small | ... | ... | ... | ... | Captions, labels |

### Fonts
- Primary: [font] — [rationale]
- Secondary: [font, if applicable]
- Mono: [font, if applicable]

### Implementation
[Ready-to-use CSS/Tailwind]

Typography Audits

## Typography Audit

### Issues
| Element | Problem | Recommendation |
|---------|---------|----------------|
| ... | ... | ... |

### Quick Wins
- [Immediate improvement 1]
- [Immediate improvement 2]

Read the full file on GitHub · 445 lines

Files

What ships with it

7 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. 1mo ago First seen · 445 lines · 69 tokens per session scan A fa63d89a9bcb

Subscribe to this mod's changes

typography is a skill published in the GitHub repository petekp/claude-code-setup (48 stars, last pushed 10d ago), licensed MIT. It adds 69 tokens to every session and 3,170 once invoked, about $0.0003 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-31.