Stop copy-pasting your CLAUDE.md.
Start assembling it.
Groundrules turns agent instruction files into building blocks — assemble battle-tested rules into AGENTS.md, CLAUDE.md, and system prompts.
Try it now
No signup required. Jump straight into the builder.
Save your progress
Create an account to keep your configs forever.
How it works
From blank file to ground rules in four steps.
Pick your blocks
Browse a curated catalog of battle-tested rules — identity, conventions, workflow, constraints — each with the why behind it.
Arrange the canvas
Drag blocks into seven typed slots. One identity, as many rules as your agent needs — the structure keeps it coherent.
Compile to your format
One click renders a clean AGENTS.md or CLAUDE.md — proper headings, canonical order, no copy-paste drift.
Drop it in your repo
Download or copy the file to your repo root. Every agent that reads it now works by your ground rules.
Seven Block Types
Identity to Examples — the full anatomy of an instruction file.
Drag & Drop
Assemble your config like Lego. No blank file, no gist archaeology.
Every Agent, One File
Export as AGENTS.md or CLAUDE.md — Claude Code, Cursor, Codex, Copilot.
Learn as You Build
Every block explains why it makes your agent behave better.
Beyond the file
Prose is the weakest form of agent control. Groundrules goes two steps further.
Install the rail, not just the rule
Guardrail blocks don't just tell the agent — they compile to machine enforcement: Claude Code deny/ask permissions, hooks that block bad commands mid-flight, and ESLint rules. The agent can't talk its way past a permission file.
Prove your rules hold
Every constraint ships with a probe — a message engineered to break it. Fire probes at a live model running your compiled config and watch it refuse, right in the builder.
Optimized for your favorite models
Ready to lay the ground rules?
Assemble your first config in five minutes. No signup, no blank file — just blocks.
Stay in the loop
New blocks, new targets, new rails — roughly monthly. No spam, unsubscribe anytime.