turborepo-monorepo

turborepo-monorepo is a skill for Claude Code, Codex from monkilabs/opencastle. It costs 42 tokens per session (550 once invoked), scanned A, original, MIT.

A set of Turborepo workflows for a monorepo, which is one repository containing multiple apps or packages. It covers task pipelines, caching, and running work only for affected packages.

In plain words
What is it for?
Use it to configure build and test pipelines, enable local or remote caching, inspect task dependencies, and run tasks for selected or changed packages.
Why use it?
It helps keep builds, tests, and linting consistent across a large repository while avoiding unnecessary work. It also prevents commands that skip Turborepo's dependency handling and cache.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to configure build and test pipelines, enable local or remote caching, inspect task dependencies, and run tasks for selected or changed packages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monkilabs/opencastle/turborepo-monorepo
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 monkilabs/opencastle --skill turborepo-monorepo
Clone the repo
git clone --depth 1 https://github.com/monkilabs/opencastle

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 turborepo-monorepo

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/monkilabs/opencastle/turborepo-monorepo"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/turborepo-monorepo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 550 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.00042 $0.00550
Opus 5.5 $0.00017 $0.00220
Sonnet 5.5 $0.00008 $0.00110
Haiku 4.5 $0.00004 $0.00055

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

Security

Grade A, and why

turborepo-monorepo 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.

src/orchestrator/plugins/turborepo/skills/turborepo-monorepo/SKILL.md · 59 lines

What it actually says

Turborepo Monorepo

Commands

turbo run build                       # Build all packages
turbo run build --filter=web          # One package
turbo run build --filter=./apps/*     # All apps
turbo run build test lint --affected  # Only packages changed vs the default branch (CI)
turbo run build --dry-run             # Preview what would run
turbo run build --graph               # Visualize task graph
turbo run build --force               # Ignore cache, rebuild all

Run tasks through turbo run (or a root script that wraps it). cd apps/web && npm test skips caching and dependency order.

Pipeline Configuration (turbo.json)

{
  "$schema": "https://turbo.build/schema.json",
  "tasks": {
    "build": {
      "dependsOn": ["^build"],
      "outputs": ["dist/**", ".next/**"]
    },
    "test": {
      "dependsOn": ["build"],
      "inputs": ["src/**", "test/**"]
    },
    "lint": {
      "dependsOn": ["^build"]
    },
    "dev": {
      "cache": false,
      "persistent": true
    }
  }
}
  • ^build — run build in dependencies first (topological)
  • outputs — files to cache; leave them out and a cache hit restores no files
  • inputs — files hashed for the cache key (default: all tracked files in the package)
  • cache: false + persistent: true — long-running tasks (dev servers)

Caching

The local cache lives in .turbo/cache (Turborepo 2.0+). Keys hash task inputs, declared env vars, dependencies' outputs and turbo.json. An env var the build reads but env does not declare causes stale hits; one that changes every run causes constant misses.

Remote cache: turbo login and turbo link locally; in CI set TURBO_TOKEN and TURBO_TEAM and a plain turbo run reads and writes it. Persistent misses → check inputs/outputs/env in turbo.json, then compare runs with --dry-run=json.

Never commit .turbo/.

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 · -73 lines · -16 tokens per session 902d43272094
  2. 1mo ago First seen · 132 lines · 58 tokens per session scan A 7d4ea80240f5

Subscribe to this mod's changes

turborepo-monorepo is a skill published in the GitHub repository monkilabs/opencastle (82 stars, last pushed 10d ago), licensed MIT. It adds 42 tokens to every session and 550 once invoked, about $0.0002 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-10-04.

Related

turborepo-monorepo compared with skills from other repositories

turborepo-monorepo next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
turborepo-monorepomonkilabs/opencastleSkill8210d agoMITA42Claude Code, Codex
spring-boot-scaffoldingrrezartprebreza/spring-boot-skillsSkill37013d agoMITA47Claude Code, Codex
gh-fix-cirojim666/SztuCodeSkill11019d agoMITA72Codex
orchardcore-dockerCrestApps/CrestApps.AgentSkillsSkill148d agoMITA175Claude Code
databricks-developer-platformVincentChuWaiChow/vanguard-frontier-agenticSkill26yesterdayApache-2.0A92Claude Code
databricks-lakeflow-pipeline-engineeringVincentChuWaiChow/vanguard-frontier-agenticSkill26yesterdayApache-2.0A102Claude Code
environment-to-production-release-protocolVincentChuWaiChow/vanguard-frontier-agenticSkill26yesterdayApache-2.0A128Claude Code