recompose: Skill for Claude Code

.agents/skills/monorepo-management/SKILL.md

monorepo-management is a skill for Claude Code, Codex from recomposesh/recompose. It costs 54 tokens per session (1,392 once invoked), scanned C, a copy of monorepo-management, MIT.

Guidance for managing a monorepo, a single code repository containing multiple applications or packages, with tools such as Turborepo, Nx, and pnpm workspaces.

In plain words
What is it for?
Setting up or migrating monorepos, sharing packages, improving build and test performance, configuring CI/CD, and publishing packages.
Why use it?
It helps coordinate shared code, dependencies, builds, tests, and development standards across related projects in one repository.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is recomposesh/recompose's own configuration. It tells Claude Code and Codex how to work on recompose itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything recompose configures →

Reuse

Borrowing it

Nothing to install: this file belongs to recomposesh/recompose. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/recomposesh/recompose/main/.agents/skills/monorepo-management/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/recomposesh/recompose

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/recomposesh/recompose/monorepo-management/github.svg)](https://agentmods.dev/skills/recomposesh/recompose/monorepo-management)
Your own site
<a href="https://agentmods.dev/skills/recomposesh/recompose/monorepo-management"><img src="https://agentmods.dev/badge/skills/recomposesh/recompose/monorepo-management/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-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/recomposesh/recompose/monorepo-management"><img src="https://agentmods.dev/badge/skills/recomposesh/recompose/monorepo-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,392 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00054 $0.01392
Opus 5.5 $0.00022 $0.00557
Sonnet 5.5 $0.00011 $0.00278
Haiku 4.5 $0.00005 $0.00139

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

Security

Grade C, and why

monorepo-management scanned grade C 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

"clean": "turbo run clean && rm -rf node_modules"
Origin

This is a copy

100% identical to monorepo-management — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/monorepo-management/SKILL.md · 218 lines

How it starts

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

Monorepo Management

Build efficient, scalable monorepos that enable code sharing, consistent tooling, and atomic changes across multiple packages and applications.

When to Use This Skill

  • Setting up new monorepo projects
  • Migrating from multi-repo to monorepo
  • Optimizing build and test performance
  • Managing shared dependencies
  • Implementing code sharing strategies
  • Setting up CI/CD for monorepos
  • Versioning and publishing packages
  • Debugging monorepo-specific issues

Core Concepts

1. Why Monorepos?

Advantages:

  • Shared code and dependencies
  • Atomic commits across projects
  • Consistent tooling and standards
  • Easier refactoring
  • Simplified dependency management
  • Better code visibility

Challenges:

  • Build performance at scale
  • CI/CD complexity
  • Access control
  • Large Git repository

2. Monorepo Tools

Package Managers:

  • pnpm workspaces (recommended)
  • npm workspaces
  • Yarn workspaces

Build Systems:

  • Turborepo (recommended for most)
  • Nx (feature-rich, complex)
  • Lerna (older, maintenance mode)

Turborepo Setup

Initial Setup

# Create new monorepo
npx create-turbo@latest my-monorepo
cd my-monorepo

# Structure:
# apps/
#   web/          - Next.js app
#   docs/         - Documentation site
# packages/
#   ui/           - Shared UI components
#   config/       - Shared configurations
#   tsconfig/     - Shared TypeScript configs
# turbo.json      - Turborepo configuration
# package.json    - Root package.json

Configuration

// turbo.json
{
  "$schema": "https://turbo.build/schema.json",
  "globalDependencies": ["**/.env.*local"],
  "pipeline": {
    "build": {
      "dependsOn": ["^build"],
      "outputs": ["dist/**", ".next/**", "!.next/cache/**"]
    },
    "test": {
      "dependsOn": ["build"],
      "outputs": ["coverage/**"]
    },
    "lint": {
      "outputs": []
    },
    "dev": {
      "cache": false,
      "persistent": true
    },
    "type-check": {
      "dependsOn": ["^build"],
      "outputs": []
    }
  }
}

Read the full file on GitHub · 218 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 First seen · 218 lines · 54 tokens per session scan C d34706cfb810

Subscribe to this mod's changes

monorepo-management is a skill published in the GitHub repository recomposesh/recompose (30 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 1,392 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). It is 100% identical to monorepo-management, differing in 7 lines, and is treated as a copy.