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.
npx agentmods add commands/alwkala/tidyfactor-design/typographygit clone --depth 1 https://github.com/alwkala/tidyfactor-designWrote 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.
[](https://agentmods.dev/commands/alwkala/tidyfactor-design/typography)<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>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.
| Model | Per session | Once 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 |
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.
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
initorbrandwhen 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
- Load
memory/12-typography-matrix.md— the mood → pairing matrix. - Load
memory/08-arabic-bilingual.md— Arabic/RTL base rules. - Identify the project mood from
briefoutput or user description. - Route to the matching pairing row.
- Update
brand.jsontypography.familiesandgoogleFontsUrl.
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)
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.
- 4d ago First seen · 88 lines · 0 tokens per session scan A 8c64c3825963
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.
Other commands, from other repositories
plan-sprint
Run a design sprint end to end — challenge framing, schedule, exercises, and prototype test plan.
audit-system
Run a comprehensive audit of an existing design system for consistency, completeness, and accessibility.
create-component
Scaffold a full component specification end to end — props, states, variants, accessibility, and documentation.
github-issue
Create a GitHub issue from a natural language description.
build_landing_page
Design & build a conversion-focused landing page end-to-end using SaglitzDesign expertise — generated design system, real code, deterministic audit gate, visual critique loop.
port_to_platform
Take an existing design or implementation to another platform (iOS ↔ Android ↔ macOS ↔ web) — porting the intent and IA, not the components.