Install
$ agentstack add skill-tommylower-cortex-muller-brockmann-grid-systems ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Muller-Brockmann Grid Systems
Opt-in design system for rigorous Swiss editorial web layouts. Use it when the user wants a modular grid that actually structures the page, not Swiss-flavored surface styling.
Use Only When Asked
Use when the user explicitly asks for:
- Muller-Brockmann, Josef Muller-Brockmann, or Grid Systems in Graphic Design
- Swiss or International Typographic Style grid systems
- magazine spreads, editorial layouts, reports, or longform pages
- visible grid overlays, baseline grids, modular grids, or strict grid alignment
- proof that a layout aligns to its grid
Do not apply this system automatically to ordinary SaaS, dashboard, or marketing work.
Core Discipline
- Define columns, gutters, margins, row modules, and baseline rhythm before placing content.
- Start web layouts with 12 columns, 24px gutters, 64-72px side margins, an 8px baseline, and 24px leading unless the project needs a different field.
- Place text, images, captions, rules, and numerals on explicit column lines and baseline multiples.
- Use grotesque sans type, flush-left ragged-right text, a small type scale, and strong hierarchy jumps.
- Use white paper, near-black ink, one accent color, and no decorative gradients.
- Prefer asymmetry, generous margins, large numerals or data, narrow body measures, and clear folios/captions.
Web Implementation Rules
- Keep one source of truth in CSS variables:
--mb-cols,--mb-gutter,--mb-margin,--mb-baseline,--mb-leading, and--mb-max-width. - Put content and grid guides inside the same positioned wrapper. The overlay must inherit the same max width, margins, columns, and gaps as the content.
- Use
.mb-gridfor the spread and.mb-bandfor each horizontal row. Place child elements withgrid-columnvalues such as1 / 6or7 / 13. - Use subgrid where supported, with a repeat-column fallback for browsers without subgrid.
- Lock vertical rhythm. Line heights, padding, margins, rules, and media heights must be multiples of the baseline or leading.
- Use pixel line heights for large display type so its layout box does not drift off the baseline.
- Optically align large display text by measuring the first glyph after fonts load and nudging the box so visible ink lands on the column line.
- Provide an inspectable grid toggle. A button plus the
Gkey should reveal column fields, margin lines, and baseline lines.
Helper Scripts
Run the scaffold generator from a project root:
python3 cortex/design/systems/muller-brockmann-grid-systems/scripts/grid_tokens.py --scaffold > index.html
Useful flags:
python3 cortex/design/systems/muller-brockmann-grid-systems/scripts/grid_tokens.py \
--cols 12 --baseline 8 --gutter 24 --margin 72 --maxw 1296 --accent '#e4002b'
Verify a built page with Puppeteer:
CHROME=/path/to/chrome node cortex/design/systems/muller-brockmann-grid-systems/scripts/verify_grid.js ./index.html --widths=1440,1180,900
Install puppeteer or puppeteer-core in the project, or set PUP=/absolute/path/to/puppeteer.
Build Workflow
- Choose the subject, imagery, and editorial hierarchy.
- Generate or copy the scaffold, then replace sample content with real spreads.
- Build each spread from
.mb-bandrows and explicit column-line spans. - Keep every vertical measurement on the 8px baseline.
- Add
data-mb-opticalto mastheads, big numerals, and section headlines that need visible-ink alignment. - Toggle the grid at desktop and mobile widths; the overlay must sit exactly on the content.
- Run
verify_grid.jsacross widths above and below the max content width.
Preflight
- Every visible content element is placed by column line, not by eye.
- The overlay and content share the same wrapper and grid variables.
- Text tops and media heights respect the baseline rhythm.
- Display type is optically aligned by visible ink, not only by its layout box.
- The page uses one accent and avoids warm beige defaults, decorative cards, and gradient-heavy styling.
- Mobile collapses intentionally without horizontal scroll.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: tommylower
- Source: tommylower/cortex
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.