better-typography

better-typography is a skill for Claude Code, Codex from boraoztunc/skills. It costs 163 tokens per session (2,914 once invoked), scanned A, a copy of better-typography, MIT.

A guide to making text on websites easy to read and visually well organised, from font choices and spacing to wrapping and accessibility.

In plain words
What is it for?
It helps choose and pair fonts, set text scales, style interface text, handle truncation, and review how text behaves on screen.
Why use it?
It helps prevent awkward line breaks, uncomfortable reading, unclear headings, and text that works poorly at different sizes.

Skill for Claude CodeCodex

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

Good fit It helps choose and pair fonts, set text scales, style interface text, handle truncation, and review how text behaves on screen.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/boraoztunc/skills/better-typography"><img src="https://agentmods.dev/badge/skills/boraoztunc/skills/better-typography.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 163 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,914 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 100% copy Near-identical to another mod 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.00163 $0.02914
Opus 5.5 $0.00065 $0.01166
Sonnet 5.5 $0.00033 $0.00583
Haiku 4.5 $0.00016 $0.00291

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

Security

Grade A, and why

better-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 3mo 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.

Origin

This is a copy

100% identical to better-typography — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

better-typography/SKILL.md · 137 lines

How it starts

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

Great typography

Good typography is mostly restraint. A sensible scale, comfortable spacing and enough contrast beat any clever effect. A label, a table cell, a marketing headline and an article paragraph should not share one set of rules. Apply these principles when building or reviewing anything with text in it.

When reviewing, read the page instead of scanning the code: squint to check the hierarchy holds, read one full paragraph for comfort, and resize the viewport to catch bad wrapping, widows and truncation at real content lengths.

The words themselves (button labels, error messages, empty states) are covered by the better-writing skill; semantic heading structure by better-accessibility; spatial RTL layout and logical CSS properties by better-layout; rendered-pair contrast measurement and color remediation by better-colors. This skill owns how text renders, wraps, and behaves in mixed-direction content.

Write every fix in the project's own idiom: the styling system already in use, never a second one alongside it. The cheat sheet maps each declaration to its Tailwind equivalent.

Quick Reference

Category When to use Reference
Choosing fonts Font categories, pairing, formats, typeface anatomy choosing-fonts.md
Variable fonts & OpenType Axes, weights, tabular numbers, stylistic sets variable-fonts-and-opentype.md
Spacing & sizing Type scale, heading hierarchy, line-height, letter-spacing, text trimming spacing-and-sizing.md
Wrapping & punctuation Measure, wrapping, truncation, smart punctuation, RTL wrapping-and-punctuation.md
Details & accessibility Underlines, selection, forms, decorative text, contrast details-and-accessibility.md
CSS cheat sheet Quick lookup of every property covered, with Tailwind equivalents css-cheat-sheet.md
Review output format Severity scale, findings table, verification, verdict review-output.md

Read the full file on GitHub · 137 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. 3mo ago First seen · 137 lines · 163 tokens per session scan A 551ef128ded6

Subscribe to this mod's changes

better-typography is a skill published in the GitHub repository boraoztunc/skills (500 stars, last pushed yesterday), licensed MIT. It adds 163 tokens to every session and 2,914 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to better-typography, differing in 0 lines, and is treated as a copy.

Related

better-typography compared with skills from other repositories

better-typography next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
better-typographyboraoztunc/skillsSkill500yesterdayMITA163Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
prototype-webnexu-io/html-anythingSkill17k3d agoApache-2.0A24Claude Code, Codex
baseline-uivercel-labs/open-agentsSkill5.9kyesterdayMITA48Claude Code, Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex