subagent-driven-development

subagent-driven-development is a skill for Claude Code from CarbeneAI/Forge. It costs 87 tokens per session (3,039 once invoked), scanned A, original, MIT.

A development workflow that assigns each independent implementation task to a fresh coding agent and checks the result in two review stages.

In plain words
What is it for?
Use it to carry out planned independent coding tasks, including work organised with TDD, or test-driven development.
Why use it?
It limits confusion between tasks and adds checks for both following the specification and maintaining code quality.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

Good fit Use it to carry out planned independent coding tasks, including work organised with TDD, or test-driven development.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/carbeneai/forge/subagentdrivendev
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 CarbeneAI/Forge --skill subagentdrivendev
Clone the repo
git clone --depth 1 https://github.com/CarbeneAI/Forge

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 subagent-driven-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/carbeneai/forge/subagentdrivendev/github.svg)](https://agentmods.dev/skills/carbeneai/forge/subagentdrivendev)
Your own site
<a href="https://agentmods.dev/skills/carbeneai/forge/subagentdrivendev"><img src="https://agentmods.dev/badge/skills/carbeneai/forge/subagentdrivendev/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 subagent-driven-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/carbeneai/forge/subagentdrivendev"><img src="https://agentmods.dev/badge/skills/carbeneai/forge/subagentdrivendev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,039 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.00087 $0.03039
Opus 5 $0.00044 $0.01520
Sonnet 5 $0.00017 $0.00608
Haiku 4.5 $0.00009 $0.00304

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

Security

Grade A, and why

subagent-driven-development 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 7d 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.

.claude/skills/SubagentDrivenDev/SKILL.md · 512 lines

How it starts

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

Subagent-Driven Development

Execute plans by dispatching a fresh subagent per task, with mandatory two-stage review to ensure spec compliance and code quality.

🎯 Load Full CORE Context

read ${PAI_DIR}/skills/CORE/SKILL.md

When to Activate This Skill

Decision Tree:

Do you have a plan?
├─ No → Use WritingPlans skill first
└─ Yes → Are tasks independent?
    ├─ No → Execute sequentially yourself
    └─ Yes → Can tasks be done in same session?
        ├─ No → User should open separate sessions (parallel execution)
        └─ Yes → USE THIS SKILL

Use this skill when:

  • ✅ You have written plan (from WritingPlans or similar)
  • ✅ Tasks are independent (Task B doesn't need Task A's output)
  • ✅ All tasks can be done in same session (same codebase, same context)
  • ✅ You want isolated context per task (prevents confusion)
  • ✅ You want mandatory review checkpoints

Core Philosophy

Why Fresh Subagent Per Task?

Traditional approach: One agent does all tasks sequentially, carrying forward all context and decisions.

Problems:

  • Context pollution: Earlier decisions affect later tasks inappropriately
  • Assumption drift: Agent assumes things from earlier tasks apply to later ones
  • Inconsistent quality: Agent gets tired/sloppy as session progresses
  • No review: Agent reviews their own work (bias)

Subagent-Driven Approach: Fresh subagent for each task, two independent reviewers.

Benefits:

  • ✅ Clean slate: Each implementer sees only their task spec
  • ✅ Consistent quality: No fatigue effect across tasks
  • ✅ Independent review: Reviewers haven't implemented, see with fresh eyes
  • ✅ Natural TDD: Fresh context encourages test-first thinking
  • ✅ Parallel potential: Tasks can be dispatched in parallel if needed

The Process

Step 1: Extract Tasks from Plan

Your job as orchestrator:

  1. Read the plan document
  2. Extract discrete tasks (each should be 2-5 minutes of work)
  3. Verify tasks are independent
  4. Create task list

Read the full file on GitHub · 512 lines

Files

What ships with it

3 files 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. 7d ago First seen · 512 lines · 87 tokens per session scan A 7245a3849123

Subscribe to this mod's changes

subagent-driven-development is a skill published in the GitHub repository CarbeneAI/Forge (9 stars, last pushed 1mo ago), licensed MIT. It adds 87 tokens to every session and 3,039 once invoked, about $0.0004 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.