align-grid

align-grid is a cursor rule for Cursor from danielvm-git/bigpowers. It costs 157 tokens per session (3,046 once invoked), scanned A, original, MIT.

A web layout method based on a real modular grid, associated with Swiss graphic designer Josef Müller-Brockmann. It guides columns, spacing, text alignment, typography, and a restrained visual palette, then checks that the implementation follows the grid.

In plain words
What is it for?
Use it to build and verify editorial, magazine, or report-style webpages with disciplined columns, modules, and baseline alignment.
Why use it?
It prevents a grid from being only a decorative overlay or from appearing aligned while the actual text and content are not.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to build and verify editorial, magazine, or report-style webpages with disciplined columns, modules, and baseline alignment.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/danielvm-git/bigpowers/align-grid
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.

Clone the repo
git clone --depth 1 https://github.com/danielvm-git/bigpowers

Made for: Cursor.

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 align-grid

README.md
[![agentmods](https://agentmods.dev/badge/rules/danielvm-git/bigpowers/align-grid/github.svg)](https://agentmods.dev/rules/danielvm-git/bigpowers/align-grid)
Your own site
<a href="https://agentmods.dev/rules/danielvm-git/bigpowers/align-grid"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/align-grid/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for align-grid

Your own site · 80×15
<a href="https://agentmods.dev/rules/danielvm-git/bigpowers/align-grid"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/align-grid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 157 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,046 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00157 $0.03046
Opus 5.5 $0.00063 $0.01218
Sonnet 5.5 $0.00031 $0.00609
Haiku 4.5 $0.00016 $0.00305

Measured 2mo ago against content hash 2343106cee93, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

align-grid 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 2mo 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.

.cursor/rules/align-grid.mdc · 110 lines

How it starts

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

Müller-Brockmann Grid Systems — built real, visible, and verified

Josef Müller-Brockmann (1914–1996), Zurich; Grid Systems in Graphic Design (1981) is the corpus. The grid is treated as an ethic, not decoration: "The grid system is an aid, not a guarantee. It permits a number of possible uses and each designer can look for a solution appropriate to his personal style. But one must learn how to use the grid; it is an art that requires practice." This skill encodes that discipline AND — the part most attempts get wrong — the front-end engineering to make the grid genuinely load-bearing on the web, plus a harness that PROVES it.

HARD GATE — Do NOT ship a grid page without running verify_grid.js first. A visually plausible layout is not evidence of grid adherence — the harness is. Zero failing assertions is the only passing bar.

Two real review notes this skill exists to prevent:

  1. "the grid is just slapped on top and misaligned" → the overlay wasn't in the same content box as the content (see §2.2).
  2. "the H in the headline is off the grid" → the headline's BOX was on the grid but its INK wasn't; large glyphs carry a side-bearing (see §2.6). Box-on-grid ≠ ink-on-grid.

PART 1 — THE DISCIPLINE (decide before drawing)

  • Objective order. The grid brings "constructive thought," legibility, and "objective and functional" design. Restraint is the point; the system, not the ego, organizes the page.
  • Modular grid. Divide the type area into a field of modules — columns AND rows — separated by consistent gutters, inside defined margins. Text and images occupy whole modules. Müller-Brockmann specimens common field counts (8 / 20 / 32 fields). For the web, a 12-column grid + 8px baseline is a robust general default; a 6×6 or 4×8 modular field grid when you want visible rows too.
  • Baseline grid. Vertical rhythm is sacred: leading = a whole multiple of the baseline unit, and every element snaps to it. This is what makes facing columns and images line up across the page.
  • Typography. A grotesque sans (Akzidenz-Grotesk / Helvetica; on the web Inter, Helvetica Now, Archivo). Flush-left, ragged-right. Few sizes, large jumps in scale for hierarchy; objective, not expressive. Big numerals/data set large is a signature move.
  • Palette. Pure white paper, near-black ink, one accent — red is canonical. Avoid the warm-cream "Claude look"; never blue/purple gradients (hard house rule).
  • White space + asymmetry. Generous margins; asymmetric compositions held in tension by the grid.

Read the full file on GitHub · 110 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. 2mo ago First seen · 110 lines · 157 tokens per session scan A 2343106cee93

Subscribe to this mod's changes

align-grid is a cursor rule published in the GitHub repository danielvm-git/bigpowers (297 stars, last pushed 4d ago), licensed MIT. It adds 157 tokens to every session and 3,046 once invoked, about $0.0006 per session on Opus 5.5. 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-09-03.

Related

align-grid compared with cursor rules from other repositories

align-grid next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
align-griddanielvm-git/bigpowersCursor rule2974d agoMITA157Cursor
brutalist-designkok-o/koko-contextos-agentsCursor rule22mo agoMITA14Cursor
minimalist-designkok-o/koko-contextos-agentsCursor rule22mo agoMITA15Cursor
redesign-auditkok-o/koko-contextos-agentsCursor rule22mo agoMITA21Cursor
soft-designkok-o/koko-contextos-agentsCursor rule22mo agoMITA20Cursor
angular-material-20Angular-Material-Dev/angular-material-ai-rulesCursor rule136mo agoMITA0Cursor
shadcn-uinedcodes-ok/cursorrules-collectionCursor rule389mo agoMITA761Cursor