Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/darellchua2/opencode-config-templatenpx agentmods add skills/darellchua2/opencode-config-template/monorepo-management-skillWrote 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/darellchua2/opencode-config-template/monorepo-management-skill)<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/monorepo-management-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/monorepo-management-skill.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 9 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Rogue Agent · line 154 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium MCP Rug Pull · line 350 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 351 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 482 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 483 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 484 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 490 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 491 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 492 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.00036 | $0.03194 |
| Opus 5 | $0.00018 | $0.01597 |
| Sonnet 5 | $0.00007 | $0.00639 |
| Haiku 4.5 | $0.00004 | $0.00319 |
Grade A, and why
monorepo-management-skill 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 494 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What I do
I help you set up and manage JavaScript/TypeScript monorepos:
- Turborepo: Configuration, pipeline design, caching strategies
- Nx: Workspace setup, generators, affected commands
- pnpm Workspaces: Package management, dependency hoisting
- Package Boundaries: ESLint rules for import restrictions
- Shared Configs: Centralized ESLint, TypeScript, and Tailwind configs
- Build Caching: Local and remote cache configuration
- Changesets: Version management and changelog generation
- OpenCode LSP Integration: Root-level
opencode.jsonenabling typescript + eslint LSP across all packages
When to use me
Use this skill when:
- Setting up a new monorepo (Turborepo, Nx, or pnpm workspaces)
- Configuring build pipelines and caching
- Implementing package boundary enforcement
- Creating shared configurations across packages
- Managing inter-package dependencies
- Setting up changesets for versioning
- Troubleshooting monorepo build or dependency issues
- Migrating from a single repo to monorepo structure
Related Skills
- typescript-dry-principle-skill: Code deduplication within monorepo packages
- nextjs-standard-setup-skill: Next.js app setup within monorepo packages
- python-ruff-linter-skill: Python monorepos (this skill focuses on JS/TS)
Step 1: Tool Selection
| Tool | Best For | Learning Curve | Build Speed |
|---|---|---|---|
| Turborepo | Next.js apps, simple pipelines | Low | Very fast |
| Nx | Complex dependency graphs, generators | Medium | Fast |
| pnpm workspaces | Simple package management | Low | Standard |
Recommendation: Start with Turborepo + pnpm workspaces for Next.js projects. Use Nx if you need generators or complex affected-graph calculations.
Step 2: Turborepo Setup
Project Structure
monorepo/
├── turbo.json
├── package.json
├── pnpm-workspace.yaml
├── packages/
│ ├── ui/ # Shared component library
│ │ ├── package.json
│ │ └── src/
│ ├── config/ # Shared configurations
│ │ ├── eslint-config/
│ │ ├── typescript-config/
│ │ └── tailwind-config/
│ └── utils/ # Shared utilities
│ ├── package.json
│ └── src/
├── apps/
│ ├── web/ # Next.js app
│ │ ├── package.json
│ │ └── src/
│ └── api/ # API server
│ ├── package.json
│ └── src/
└── .changeset/
└── config.json
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.
- 4d ago First seen · 494 lines · 36 tokens per session scan A 90cd2faa0ade
monorepo-management-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2d ago), licensed Apache-2.0. It adds 36 tokens to every session and 3,194 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
batch
Research and plan a large-scale change, then execute it in parallel across 5–30 isolated worktree agents that each open a PR.
gsd-complete-milestone
Archive completed milestone and prepare for next version.
github-cli
Default GitHub skill for the action agent. Use githubcli for any GitHub request — create/list/view/close issues and PRs, assign, labels, repos, releases, checks, github.com/owner/repo URLs, or gh api. Prefer over shellrun/!gh. Run these with githubcli in the current agent turn.
github
Drive GitHub via the official gh CLI — repos, issues, pull requests, releases, gists, Actions runs, and raw REST through gh api. Use when the user asks to inspect or manage GitHub.
testdino-releases
Use when the user wants to browse, inspect, create, or update releases/milestones in a TestDino project. Covers listreleases, getrelease, createrelease, and updaterelease. Accepts counter-style IDs like MS-12.
create-milestone
Create a GitHub milestone for an upcoming release. Suggests the next version based on the latest release, gathers all merged PRs and closed issues since that release, presents a draft with two tables (Issues and PRs) for user approval, then creates the milestone and assigns all approved items.