typography

typography is a skill for Claude Code, Codex from EthanYoQ/Skill-hub. It costs 151 tokens per session (7,112 once invoked), scanned A, original, MIT.

A set of research-based rules for making text easy to read across websites, PDFs, emails, and other documents. It covers choices such as line length, font size, contrast, dark mode, mobile layouts, and Japanese text.

In plain words
What is it for?
Use it when creating or reviewing text-heavy web pages, interfaces, CSS, templates, or documents. It helps set shared typography values, adapt layouts for mobile and dark mode, and account for Japanese text.
Why use it?
It removes guesswork from typography and helps prevent reading problems caused by cramped layouts, poor contrast, or inconsistent text styles.

Skill for Claude CodeCodex

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

Good fit Use it when creating or reviewing text-heavy web pages, interfaces, CSS, templates, or documents. It helps set shared typography values, adapt layouts for mobile and dark mode, and account for Japanese text.

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

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/ethanyoq/skill-hub/typography/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/typography)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/typography"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/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/ethanyoq/skill-hub/typography"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/typography.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,112 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.00151 $0.07112
Opus 5.5 $0.00060 $0.02845
Sonnet 5.5 $0.00030 $0.01422
Haiku 4.5 $0.00015 $0.00711

Measured 1mo ago against content hash 5d35712221c0, 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.

archives/user-installed-skills/typography/bc4e191c9c3dfa07/typography/SKILL.md · 644 lines

How it starts

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

Typography

Research-grounded decisions for every surface where humans read text. The philosophy: the browser renders semantic HTML correctly; every typographic decision on top of that is a bet. This skill records the bets worth making — each grounded in research — and the ones to skip.

The iA Writer principle applies: fewer decisions, made well, applied consistently.


Modes

Generative — New Project

When starting a new page, component, or document:

  1. Establish tokens first. Generate a typography token file (section 6) before writing any component CSS. Every size, color, and spacing value should reference a token.
  2. Detect language. If the project serves Japanese content, apply the Japanese overrides (section 3) from the start — not as a retrofit.
  3. Set the reading container. Every text-bearing surface gets a max-width constraint. No exceptions.
  4. Ship both color schemes. Default to prefers-color-scheme. Never force one mode.
  5. Verify mobile. Viewport meta tag, fluid font sizes via clamp(), touch targets ≥ 44px.
  6. Reader controls. For reading-focused interfaces, provide user-facing font size control (e.g., 3 steps: small/default/large via a --fs-scale CSS variable multiplier). For Japanese content, offer horizontal/vertical mode toggle with per-content persistence.
  7. Write the project ledger. Create TYPOGRAPHY.md in the project root (see section 7).

Review — Existing Project

When auditing existing CSS, HTML, or rendered output:

  1. Line length — is body text constrained to 45–80 CPL (Latin) or 30–40 CPL (Japanese)?
  2. Font size — is body ≥ 16px on mobile, ≥ 18px on desktop?
  3. Line height — is body ≥ 1.5 (Latin) or ≥ 1.65 (Japanese)?
  4. Contrast — does body text meet 4.5:1 minimum? Compute from actual hex values.
  5. Dark mode — is #000 background or #fff text present? Both are violations.
  6. Japanese — is lang="ja" declared? Is line-break: strict set? Is font-style: italic absent?
  7. Type scale — are there more than 6 distinct sizes? Is the ratio consistent?
  8. Mobile — viewport meta present? Touch targets ≥ 44px?
  9. Prohibitions — scan for every item in section 4.
  10. Vertical text — if Japanese content uses writing-mode: vertical-rl: is text-align set to start (not justify)? Is column height capped (~22em)? Is width: max-content set? Is overflow-x: hidden absent from body?
  11. Reader controls — for reading interfaces: is font size adjustable? For Japanese: is writing mode toggleable with persistence?
  12. Write the project ledger. Create or update TYPOGRAPHY.md in the project root (see section 7).

Read the full file on GitHub · 644 lines

Files

What ships with it

4 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 · 644 lines · 151 tokens per session scan A 5d35712221c0

Subscribe to this mod's changes

typography is a skill published in the GitHub repository EthanYoQ/Skill-hub (11 stars, last pushed 3d ago), licensed MIT. It adds 151 tokens to every session and 7,112 once invoked, about $0.0006 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-09-13.

Related

typography compared with skills from other repositories

typography next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
typographyEthanYoQ/Skill-hubSkill113d agoMITA151Claude Code, Codex
designSethGammon/CitadelSkill927yesterdayMITA51Claude Code
ui-designernelson820125/iforgeaiSkill121mo agoMITA0Claude Code, Codex
design-qacoo1white/cool-workflowSkill22d agoBSD-2-ClauseA61Claude Code, Codex
DesignSystemArchitectvignesh2027/Claude-Agentic-Skills2.0-versionSkill42mo agoMITA36Claude Code, Codex
UserResearchOSvignesh2027/Claude-Agentic-Skills2.0-versionSkill42mo agoMITA37Claude Code, Codex
onboarding-designervignesh2027/Claude-Agentic-Skills2.0-versionSkill42mo agoMITA72Claude Code, Codex