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.
git clone --depth 1 https://github.com/louisbrulenaudet/monorepo-templateWrote 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.
[](https://agentmods.dev/rules/louisbrulenaudet/monorepo-template/guardrails)<a href="https://agentmods.dev/rules/louisbrulenaudet/monorepo-template/guardrails"><img src="https://agentmods.dev/badge/rules/louisbrulenaudet/monorepo-template/guardrails/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.
<a href="https://agentmods.dev/rules/louisbrulenaudet/monorepo-template/guardrails"><img src="https://agentmods.dev/badge/rules/louisbrulenaudet/monorepo-template/guardrails.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00846 | $0.00846 |
| Opus 5.5 | $0.00338 | $0.00338 |
| Sonnet 5.5 | $0.00169 | $0.00169 |
| Haiku 4.5 | $0.00085 | $0.00085 |
Grade A, and why
guardrails 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 1mo 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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Guardrails
Hard "don'ts" for every change. When one would be violated, stop and ask.
The first three sections are enforced by .claude/settings.json and hooks/ (hooks/AGENTS.md); change the mechanism there, not only this wording. Claude Code runs every guard; Cursor and Codex run only the git guards, so there the secret-content and generated-file checks are advisory.
Never commit secrets
No credentials, API keys, tokens, private keys, .dev.vars / .env* files, database dumps, or logs containing any of those. A secret generated for local use stays out of version control. Enforced.
Destructive or irreversible actions - ask first
- No history-rewriting or working-tree-destroying command (
git reset --hard,git checkout -- <path>,git clean -f,git push --force, branch/tag deletion) unless the user asked for that exact operation. Prefer additive, reversible steps. - Commit or push only when asked, never directly to the default branch.
- Before deleting or overwriting a file you did not create, read it; if it contradicts how it was described, surface that instead of proceeding.
Partly enforced; "never to the default branch" and "read before overwriting" are advisory.
Generated files are outputs, not sources
Never hand-edit a generated artifact: anything under apps/*/.cloudflare/** (cf Build Output, generated Env types, local dev state), a CHANGELOG.md (written by changeset version in the Release workflow), or any other build output. Change the source and regenerate with the documented command (pnpm types, the app's build); a changelog entry changes through its pending .changeset/*.md. Enforced.
Everything below is advisory. pnpm boundaries backs "Respect the boundaries" at package level only.
Stay within the task's scope
A task scoped to configuration, rules, docs, or agent setup does not drift into application source, cloudflare.config.ts, workflows, migrations, or infrastructure unless the user asks.
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.
- 1mo ago Changed · +28 tokens per session 7c7c270c7604
- 2mo ago Changed · +33 tokens per session f0ed603b7a9b
- 2mo ago Changed · -4 lines · -124 tokens per session 29ad517b6860
- 2mo ago Changed · -2 lines · -17 tokens per session b35e6fbcd3e1
- 2mo ago Changed · +1 lines · +61 tokens per session efbafd5f98cf
- 3mo ago First seen · 66 lines · 865 tokens per session scan A 3fb7cc4f4102
guardrails is a cursor rule published in the GitHub repository louisbrulenaudet/monorepo-template (19 stars, last pushed 8d ago), licensed Apache-2.0. It adds 846 tokens to every session, about $0.0034 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-08-30.
guardrails compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| guardrailslouisbrulenaudet/monorepo-template | Cursor rule | 19 | 8d ago | Apache-2.0 | A | 846 | Cursor |
| paperfitOpenRaiser/PaperFit | Cursor rule | 337 | 26d ago | MIT | A | 0 | Cursor |
| teamJkudjo/oh-my-cursor | Cursor rule | 1 | 17d ago | MIT | A | 13 | Cursor |
| chaosJkudjo/oh-my-cursor | Cursor rule | 1 | 17d ago | MIT | A | 14 | Cursor |
| resumeJkudjo/oh-my-cursor | Cursor rule | 1 | 17d ago | MIT | A | 14 | Cursor |
| git-masterJkudjo/oh-my-cursor | Cursor rule | 1 | 17d ago | MIT | A | 14 | Cursor |
| pipelineJkudjo/oh-my-cursor | Cursor rule | 1 | 17d ago | MIT | A | 16 | Cursor |