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/layoutgit clone --depth 1 https://github.com/alwkala/tidyfactor-designWhat 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.00976 |
| Opus 5 | $0.00000 | $0.00488 |
| Sonnet 5 | $0.00000 | $0.00195 |
| Haiku 4.5 | $0.00000 | $0.00098 |
Grade A, and why
layout 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 2d 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 — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Command: layout — Surface Layout Archetypes
Runtime entry point for selecting and applying specialized surface layout blueprints. Part of the Architecture lifecycle phase.
When to use
- During
initto select the page's macrostructure - When adding a new page type that doesn't fit standard
pageordashboard - When the user describes a surface type (e.g., "real estate showcase", "app launch page", "product showcase")
Dispatch Steps
- Load
memory/13-layout-archetypes.md— full archetype specifications. - Run the fit test (from
brief) to narrow the archetype choice. - Load
references/memory/architecture.md— locked file tree rules. - Scaffold the page with the selected archetype's section rhythm.
Layout Archetype Catalog
| Archetype | Codename | Best For | Hero Type | Section Rhythm |
|---|---|---|---|---|
| Film | fullbleed |
Physical goods, brand stories, rebrands, fashion, artisan | Product cutout + aura + motes | Hero → Film (600vh canvas) → Product reveal → Lifestyle → CTA |
| Story | editorial |
Specs-heavy products, founders, events, conferences | Split-screen: image + copy | Hero → Film (420vh) → Feature grid → Origin story → CTA |
| Space | spatial |
Real estate, architecture, travel, hospitality, venues | Wide establishing shot, no cutout | Hero → Film walkthrough (500vh) → Space details → Location → CTA |
| App | interface |
SaaS, apps, digital platforms | Device mockup (phone/laptop frame) | Hero → Film (420vh UI flow) → Feature highlights → Social proof → CTA |
| Creator | minimal |
Personal brands, creators, digital products, books | Centered cutout, clean background | Hero → Statement → About → Portfolio grid → CTA |
| Product | product |
Single product high-conversion e-commerce | Hero product + price + WhatsApp CTA | Hero → Optional film (480vh) → Specs → Social proof → Buy CTA |
| Store | store |
Multi-product catalog store | Store banner + WhatsApp CTA | Banner → Category filter → Product grid → Footer CTA |
| Auto | auto |
Automotive & performance magazine showpiece | Hero car + tachometer gauge preloader | Hero → 3D slider stage → HUD spec tooltips → Gallery → CTA |
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.
- 2d ago First seen · 82 lines · 0 tokens per session scan A 2620a03e7c7f
layout 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 976 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
github-issue
Create a GitHub issue from a natural language description.
test
Hello world test command.
discover
Run a full user research cycle — persona creation, empathy mapping, and journey mapping for a product or feature.
coograph-verify
Verify that the described work is complete and correct. Provide evidence for every claim. You verify — you do not implement or fix style.
api-gen
Generate REST API endpoints with routes, validation, error handling, and tests.
component-gen
Generate React or Vue components with prop types, styling, accessibility, and tests.