typography

typography is a command for Codex from alwkala/tidyfactor-design. It costs 0 tokens per session (1,153 once invoked), scanned A, original, MIT.

A command for choosing and configuring font combinations based on a project's mood, page structure, and language needs.

In plain words
What is it for?
Use it when starting a project, changing its visual direction, adding a language, or adjusting Arabic font weights and font settings.
Why use it?
It avoids using the same fonts for every project and helps keep Latin, Arabic, and right-to-left text readable and visually appropriate.

Command for Codex

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.

agentmods
npx agentmods add commands/alwkala/tidyfactor-design/typography
Clone the repo
git clone --depth 1 https://github.com/alwkala/tidyfactor-design

Made for: 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/commands/alwkala/tidyfactor-design/typography.svg)](https://agentmods.dev/commands/alwkala/tidyfactor-design/typography)
Your own site
<a href="https://agentmods.dev/commands/alwkala/tidyfactor-design/typography"><img src="https://agentmods.dev/badge/commands/alwkala/tidyfactor-design/typography.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,153 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.01153
Opus 5 $0.00000 $0.00576
Sonnet 5 $0.00000 $0.00231
Haiku 4.5 $0.00000 $0.00115

Measured 4d ago against content hash 8c64c3825963, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

.agents/skills/tidyfactor-design/references/commands/typography.md · 88 lines

How it starts

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

Command: typography — Mood-Routed Typography Pairing

Runtime entry point for selecting and configuring typography pairings based on project mood, layout archetype, and language requirements. Part of the Foundation lifecycle phase.

When to use

  • During init or brand when choosing fonts
  • When the default pair (El Messiri + Tajawal) doesn't match the project mood
  • When switching between layout archetypes that call for different type registers
  • When adding a new locale or adjusting Arabic typography weight

Dispatch Steps

  1. Load memory/12-typography-matrix.md — the mood → pairing matrix.
  2. Load memory/08-arabic-bilingual.md — Arabic/RTL base rules.
  3. Identify the project mood from brief output or user description.
  4. Route to the matching pairing row.
  5. Update brand.json typography.families and googleFontsUrl.

The Mood → Typography Matrix

Mood Arabic Heading Arabic Body Latin Accent Best Layouts Avoid For
Default luxury (safe, warm) El Messiri Tajawal Cormorant Garamond any
Editorial / literary Markazi Text IBM Plex Sans Arabic Fraunces story (editorial) app (too soft for UI chrome)
Art-Deco / high fashion Jomhuria (display ≥48px only) Cairo Bodoni Moda film (fullbleed) creator (too loud for quiet page)
Modern minimal / tech Cairo Cairo (weight-differentiated) Marcellus app (interface), creator (minimal) space (reads cold for real estate)
Warm hospitality / travel El Messiri Almarai Prata space (spatial)
E-Commerce & conversion El Messiri Tajawal Cormorant Garamond product, store
Automotive / performance El Messiri + Oswald (numerals) Tajawal Oswald film, story (auto use case) non-automotive builds

Font Rules

Hard constraints (from memory/06-quality-bar.md)

  • Never Amiri for headings above ~24px — too calligraphic for display text
  • Never manuscript/Naskh faces above ~24px, regardless of which pair is chosen
  • Display-only faces (e.g., Jomhuria) must NOT be used for body copy or long captions
  • All fonts must be Google Fonts (CDN-only, no self-hosting, no build step)

Read the full file on GitHub · 88 lines

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. 4d ago First seen · 88 lines · 0 tokens per session scan A 8c64c3825963

Subscribe to this mod's changes

typography is a command published in the GitHub repository alwkala/tidyfactor-design (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,153 tokens. 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.