layout

A command for choosing a page's overall layout pattern from a catalogue of specialised structures.

In plain words
What is it for?
Use it during project setup or when adding pages such as property showcases, product launches, brand stories, or other surfaces that need a specific section order.
Why use it?
It gives unusual page types a considered structure instead of forcing every page into the same basic template.

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/layout
Clone the repo
git clone --depth 1 https://github.com/alwkala/tidyfactor-design

Made for: Codex.

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 976 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.00976
Opus 5 $0.00000 $0.00488
Sonnet 5 $0.00000 $0.00195
Haiku 4.5 $0.00000 $0.00098

Measured 2d ago against content hash 2620a03e7c7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

.agents/skills/tidyfactor-design/references/commands/layout.md · 82 lines

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 init to select the page's macrostructure
  • When adding a new page type that doesn't fit standard page or dashboard
  • When the user describes a surface type (e.g., "real estate showcase", "app launch page", "product showcase")

Dispatch Steps

  1. Load memory/13-layout-archetypes.md — full archetype specifications.
  2. Run the fit test (from brief) to narrow the archetype choice.
  3. Load references/memory/architecture.md — locked file tree rules.
  4. 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

Read the full file on GitHub · 82 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. 2d ago First seen · 82 lines · 0 tokens per session scan A 2620a03e7c7f

Subscribe to this mod's changes

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.