monorepo-agent-setup

monorepo-agent-setup is a skill for Claude Code, Codex from louisbrulenaudet/monorepo-template. It costs 76 tokens per session (2,486 once invoked), scanned B, original, Apache-2.0.

Rules for organizing coding-agent settings for Cursor and Claude Code in this monorepo. They define where instructions, path-specific rules, hooks, subagents, skills, and application guides belong, and how the two setups stay synchronized.

In plain words
What is it for?
Use it when editing agent configuration, rules, hooks, skills, MCP connections, subagents, slash commands, or the shared Cursor and Claude setup.
Why use it?
It prevents agent instructions from being placed in the wrong location or becoming inconsistent between tools. That makes project-specific behavior easier to maintain and debug.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Good fit Use it when editing agent configuration, rules, hooks, skills, MCP connections, subagents, slash commands, or the shared Cursor and Claude setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/louisbrulenaudet/monorepo-template/monorepo-agent-setup
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.

Any agent
npx skills add louisbrulenaudet/monorepo-template --skill monorepo-agent-setup
Clone the repo
git clone --depth 1 https://github.com/louisbrulenaudet/monorepo-template

Made for: Claude Code, Codex.

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 monorepo-agent-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/louisbrulenaudet/monorepo-template/monorepo-agent-setup/github.svg)](https://agentmods.dev/skills/louisbrulenaudet/monorepo-template/monorepo-agent-setup)
Your own site
<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.

agentmods 80×15 button for monorepo-agent-setup

Your own site · 80×15
<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>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,486 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00076 $0.02486
Opus 5.5 $0.00030 $0.00994
Sonnet 5.5 $0.00015 $0.00497
Haiku 4.5 $0.00008 $0.00249

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

Security

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) |
.agents/skills/monorepo-agent-setup/SKILL.md · 80 lines

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.md loads on demand; debug with tail -f hooks/logs/instructions-loaded.log.
  • Cursor: nested AGENTS.md by directory; .mdc rules attach via globs / alwaysApply. Debug: Customize → Hooks.
  • Rule folders (core, frontend, backend, contracts, quality, tests, ops) organize only; scoping is frontmatter (paths vs globs/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

Read the full file on GitHub · 80 lines

Files

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.

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. 1mo ago Changed · +2 lines ac53da1fa230
  2. 1mo ago Changed a37f5203f843
  3. 1mo ago Changed d7932c82ab41
  4. 2mo ago Changed 7a35334e89ae
  5. 2mo ago Changed 0ab2cf38b09f
  6. 2mo ago Changed · +1 lines 8d4ba1faad71
  7. 2mo ago Changed · -6 lines 0be6fac5b3a0
  8. 2mo ago Changed · -18 lines 54bf0df66598
  9. 3mo ago First seen · 101 lines · 76 tokens per session scan B a268eba8c6c2

Subscribe to this mod's changes

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.

Related

monorepo-agent-setup compared with skills from other repositories

monorepo-agent-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
monorepo-agent-setuplouisbrulenaudet/monorepo-templateSkill198d agoApache-2.0B76Claude Code, Codex
gsap-corecalesthio/OpenMontageSkill84k14d agoAGPL-3.0A128Claude Code, Codex
gsap-scrolltriggercalesthio/OpenMontageSkill84k14d agoAGPL-3.0A68Claude Code, Codex
playwright-recordingcalesthio/OpenMontageSkill84k14d agoAGPL-3.0A53Claude Code, Codex
seedance-2-5calesthio/OpenMontageSkill84k14d agoAGPL-3.0A117Claude Code, Codex
threejs-fundamentalscalesthio/OpenMontageSkill84k14d agoAGPL-3.0A51Claude Code, Codex
threejs-geometrycalesthio/OpenMontageSkill84k14d agoAGPL-3.0A46Claude Code, Codex