better-typography

better-typography is a skill for Claude Code from oyi77/1ai-skills. It costs 31 tokens per session (3,300 once invoked), scanned A, original, MIT.

An interface typography guide for type sizes, spacing, font features, wrapping, truncation, punctuation, and text rendering. It includes concrete CSS declarations and matching Tailwind utilities.

In plain words
What is it for?
Use it to review type scales, line spacing, font loading, truncation, punctuation, changing-number displays, and text behavior in responsive interfaces.
Why use it?
It helps prevent text from wrapping badly, being cut off, or rendering inconsistently across browsers and real content lengths.

Skill for Claude Code

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

Part of the 1ai-skills plugin — 250 skills, 4 commands shipped together

Good fit Use it to review type scales, line spacing, font loading, truncation, punctuation, changing-number displays, and text behavior in responsive interfaces.

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

Made for: Claude Code.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 250 skills, 4 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 better-typography

README.md
[![agentmods](https://agentmods.dev/badge/skills/oyi77/1ai-skills/better-typography/github.svg)](https://agentmods.dev/skills/oyi77/1ai-skills/better-typography)
Your own site
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/better-typography"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-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/oyi77/1ai-skills/better-typography"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/better-typography.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,300 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.00031 $0.03300
Opus 5.5 $0.00012 $0.01320
Sonnet 5.5 $0.00006 $0.00660
Haiku 4.5 $0.00003 $0.00330

Measured 26d ago against content hash 8197c05c108d, 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 26d 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.

content/better-typography/SKILL.md · 218 lines

How it starts

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

Typography

Overview

Sets and reviews type scale, spacing, font features, wrapping, truncation, and punctuation with concrete CSS declarations. Maps every declaration to its Tailwind utility in the cheat sheet.

When to Use

Type scale is ad-hoc, wrapping or truncation breaks at real content lengths, or text renders inconsistently across browsers.

This skill sets and reviews how text renders, from the type scale and spacing to font loading, wrapping and punctuation. It writes every fix in the project's styling system, and the cheat sheet maps each declaration to its Tailwind utility.

The words belong to better-writing, semantic heading structure to better-accessibility and spatial RTL layout to better-layout. Measure contrast with better-colors; whether it passes is better-accessibility's.

Measured, not preferred

Some values here are exact. Unitless line-height, weight 400 or heavier below 18px, a 60–75 character measure, 16px inputs on iOS and tabular-nums on changing values are findings when missed.

Letter-spacing, pairing and scale ratios are heuristics. Report them only where they break the project's own scale. Never propose a new typeface, paid or free, unless the task asks for a type change.

Fewer fonts, sizes and weights

Rarely use more than three fonts; marketing pages can carry more than apps. Weight and size carry hierarchy, so each extra one dilutes it. Pair for contrast. A serif headline over a sans body reads as deliberate, two near-identical sans-serifs read as a mistake.

Below 18px, use weight 400 or heavier. Weights 100–300 belong at 28px and up, checked against the background even there. Categories, Display and Text cuts, formats and fallback stacks are in choosing-fonts.md.

Load the faces the design uses

Browsers synthesize a weight or style the family doesn't ship, distorting the face. Load every face the design uses. Disable synthesis only after verifying the fallback stack, and only the unwanted mode. The synthesis longhands show how.

Read the full file on GitHub · 218 lines

Files

What ships with it

6 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. 26d ago First seen · 218 lines · 31 tokens per session scan A 8197c05c108d

Subscribe to this mod's changes

better-typography is a skill published in the GitHub repository oyi77/1ai-skills (19 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 3,300 once invoked, about $0.0001 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-11-04.

Related

better-typography compared with skills from other repositories

better-typography next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
better-typographyoyi77/1ai-skillsSkill19todayMITA31Claude Code
empty-statesDragoon0x/product-skillsSkill48mo agononeA49Claude Code
living-ui-blockskirodotdev/KiroCrewSkill5.1ktodayApache-2.0A41Claude Code, Codex
proto-bot-getting-startedmakecindy/cindySkill11ktodayApache-2.0A43Claude Code, Codex
proto-bot-opsmakecindy/cindySkill11ktodayApache-2.0A38Claude Code, Codex
web-typographywondelai/skillsSkill2.8k9d agoMITA128Claude Code, Codex
genuiLodyAI/LodySkill1.9ktodayApache-2.0A66Claude Code, Codex