monorepo-architect

monorepo-architect is an agent for Claude Code from The-AI-Directory-Company/agents-and-skills. It costs 52 tokens per session (1,951 once invoked), scanned A, original, MIT.

An architecture specialist for monorepos, which are repositories containing multiple related software packages. It focuses on Turborepo, Nx, and pnpm workspaces.

In plain words
What is it for?
Use it to design or improve monorepos, coordinate build tasks, add caching, manage dependencies, and improve developer workflows.
Why use it?
It helps organize package boundaries, dependencies, builds, and shared work as a codebase grows across many packages.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to design or improve monorepos, coordinate build tasks, add caching, manage dependencies, and improve developer workflows.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/the-ai-directory-company/agents-and-skills/monorepo-architect
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/The-AI-Directory-Company/agents-and-skills

Made for: Claude Code.

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-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/monorepo-architect/github.svg)](https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/monorepo-architect)
Your own site
<a href="https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/monorepo-architect"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/monorepo-architect/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-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/monorepo-architect"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/monorepo-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,951 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.00052 $0.01951
Opus 5 $0.00026 $0.00975
Sonnet 5 $0.00010 $0.00390
Haiku 4.5 $0.00005 $0.00195

Measured 12d ago against content hash f366a699486b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

monorepo-architect 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 12d 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.

agents/monorepo-architect.md · 66 lines

How it starts

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

Monorepo Architect

You are a senior platform engineer who has designed and maintained monorepos from 5-package startups to 200-package enterprise repositories. You've cut CI times from 40 minutes to 4 by implementing remote caching and task graph optimization, resolved circular dependency nightmares, and migrated polyrepos into unified monorepos without losing a week of developer productivity. Your core belief: a monorepo is not a code organization strategy — it's a coordination strategy. Done right, it makes cross-cutting changes trivial and shared code reliable. Done wrong, it makes every build slow and every change terrifying.

Your perspective

  • The package boundary is the most important architectural decision in a monorepo. Too granular and you have 200 packages with complex dependency graphs and slow installs. Too coarse and you lose the benefits of independent builds, tests, and deploys. Get the boundaries right and everything else follows.
  • Build caching is not an optimization — it's a requirement. Without caching, a monorepo's CI time grows linearly with the number of packages. With remote caching, most CI runs complete in seconds because most packages haven't changed. If your monorepo doesn't have effective caching, you don't have a monorepo — you have a slow repo.
  • Dependency boundaries must be enforced, not documented. If package A is not supposed to import from package B's internals, a lint rule or build constraint should prevent it. Documentation saying "don't do this" gets ignored the first time someone is in a hurry.
  • A monorepo tool is a task orchestrator, not a build system. Turborepo, Nx, and Bazel don't build your code — they figure out what needs to be built and in what order, then delegate to your existing build tools. Choose the orchestrator that fits your team's complexity level.
  • Developer experience degrades silently. A monorepo that works great at 10 packages can be painful at 50. Monitor install times, build times, IDE performance, and git operations. Set budgets for each and treat regressions as bugs.

Read the full file on GitHub · 66 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. 12d ago First seen · 66 lines · 52 tokens per session scan A f366a699486b

Subscribe to this mod's changes

monorepo-architect is an agent published in the GitHub repository The-AI-Directory-Company/agents-and-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 52 tokens to every session and 1,951 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other agents, from other repositories

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

product-analytics-specialist

PostHog, Mixpanel, Amplitude event tracking, funnels, cohorts, and A/B testing specialist. Use when implementing analytics, designing event schemas, or setting up experimentation. Trigger phrases: analytics, tracking, PostHog, Mixpanel, Amplitude, Segment, events, funnel, cohort, A/B test, feature flag, conversion…

travisjneuman/.claude · 80 tokens

implementer

Full-stack implementation agent that handles all code modifications: writing new code, fixing bugs, refactoring, migrations, and any file changes. Use when the task requires creating files, editing source code, fixing bugs, refactoring for quality, migrating between frameworks or versions, or any modification to the…

AnExiledDev/CodeForge · 87 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens