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.
npx skills add louisbrulenaudet/monorepo-template --skill monorepo-agent-setupgit 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/skills/louisbrulenaudet/monorepo-template/monorepo-agent-setup)<a href="https://agentmods.dev/skills/louisbrulenaudet/monorepo-template/monorepo-agent-setup"><img src="https://agentmods.dev/badge/skills/louisbrulenaudet/monorepo-template/monorepo-agent-setup/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/skills/louisbrulenaudet/monorepo-template/monorepo-agent-setup"><img src="https://agentmods.dev/badge/skills/louisbrulenaudet/monorepo-template/monorepo-agent-setup.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.00076 | $0.02486 |
| Opus 5.5 | $0.00030 | $0.00994 |
| Sonnet 5.5 | $0.00015 | $0.00497 |
| Haiku 4.5 | $0.00008 | $0.00249 |
Grade B, and why
monorepo-agent-setup scanned grade B with 1 finding 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
| Hooks wiring | [`.claude/settings.json`](../../../.claude/settings.json) | [`.cursor/hooks.json`](../../../.cursor/hooks.json) | How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Monorepo agent setup
Canonical layout and sync policy for Cursor and Claude Code in this repo.
Memory layout
| Layer | Claude Code | Cursor |
|---|---|---|
| Global instructions | CLAUDE.md (@AGENTS.md) |
AGENTS.md |
| Path-scoped rules | .claude/rules/ (*.md) |
.cursor/rules/ (*.mdc) |
| Hooks wiring | .claude/settings.json |
.cursor/hooks.json |
| Hook scripts | hooks/ (shared) |
hooks/ (shared) |
| Subagents | .claude/agents/ |
.cursor/agents/ |
| Domain reviews | /review under .agents/skills/review/ (symlink) - protocol in SKILL.md, reviewer contract in reviewer.md, one file per domain in domains/<id>.md |
Same |
| Stack reviews | /review-stack under .agents/skills/review-stack/ (symlink) - protocol in SKILL.md, one companion per dependency in deps/<dep>.md |
Same |
| Deep skills | Symlinks → .agents/skills/ |
.agents/skills/ (source of truth) |
| Nested app guides | CLAUDE.md per app/package |
AGENTS.md per app/package |
- Claude: nested
CLAUDE.mdloads on demand; debug withtail -f hooks/logs/instructions-loaded.log. - Cursor: nested
AGENTS.mdby directory;.mdcrules attach viaglobs/alwaysApply. Debug: Customize → Hooks. - Rule folders (
core,frontend,backend,contracts,quality,tests,ops) organize only; scoping is frontmatter (pathsvsglobs/alwaysApply).
See hooks/AGENTS.md for hook authoring.
Content taxonomy (what belongs where)
Put instructions in the layer that matches how often agents need them. Path-scoped rules save context; alwaysApply / rules without paths cost the same as root AGENTS.md.
| Layer | Put here | Examples |
|---|---|---|
Root AGENTS.md |
Always-on project map for almost every task | Overview, worker prefixes, where-to-put, essential pnpm scripts, architecture decision bullets, pointers |
Path-scoped rules (mirrored .cursor / .claude) |
Only when editing matching files | Ports / inspectorPort / strictPort, Worker secrets (bindings.secret()), contract workflow, oxlint style, TSConfig presets |
Nested app/package AGENTS.md |
Package-local workflows | apps/front-app, worker-api, dtos-common |
| Skills | Deep / on-demand procedures | monorepo-agent-setup, turborepo, hono, review skills |
README.md |
Human-facing docs | Architecture diagram, onboarding, scaffold checklist, human-only /review and /review-stack usage |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · +2 lines ac53da1fa230
- 1mo ago Changed a37f5203f843
- 1mo ago Changed d7932c82ab41
- 2mo ago Changed 7a35334e89ae
- 2mo ago Changed 0ab2cf38b09f
- 2mo ago Changed · +1 lines 8d4ba1faad71
- 2mo ago Changed · -6 lines 0be6fac5b3a0
- 2mo ago Changed · -18 lines 54bf0df66598
- 3mo ago First seen · 101 lines · 76 tokens per session scan B a268eba8c6c2
monorepo-agent-setup is a skill published in the GitHub repository louisbrulenaudet/monorepo-template (19 stars, last pushed 8d ago), licensed Apache-2.0. It adds 76 tokens to every session and 2,486 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
monorepo-agent-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| monorepo-agent-setuplouisbrulenaudet/monorepo-template | Skill | 19 | 8d ago | Apache-2.0 | B | 76 | Claude Code, Codex |
| gsap-corecalesthio/OpenMontage | Skill | 84k | 14d ago | AGPL-3.0 | A | 128 | Claude Code, Codex |
| gsap-scrolltriggercalesthio/OpenMontage | Skill | 84k | 14d ago | AGPL-3.0 | A | 68 | Claude Code, Codex |
| playwright-recordingcalesthio/OpenMontage | Skill | 84k | 14d ago | AGPL-3.0 | A | 53 | Claude Code, Codex |
| seedance-2-5calesthio/OpenMontage | Skill | 84k | 14d ago | AGPL-3.0 | A | 117 | Claude Code, Codex |
| threejs-fundamentalscalesthio/OpenMontage | Skill | 84k | 14d ago | AGPL-3.0 | A | 51 | Claude Code, Codex |
| threejs-geometrycalesthio/OpenMontage | Skill | 84k | 14d ago | AGPL-3.0 | A | 46 | Claude Code, Codex |