subagent-driven-development

subagent-driven-development is a skill for Claude Code from pengzhangzhi/superpowers-ml. It costs 17 tokens per session (2,787 once invoked), scanned A, a copy of subagent-driven-development, MIT.

A way to carry out an implementation plan by giving each independent task to a fresh coding agent. Each task receives a requirements review and then a code-quality review.

In plain words
What is it for?
Use it when you have a plan with mostly independent coding tasks and want to execute them in the same session. It is intended for continuous work until the tasks are complete or genuinely blocked.
Why use it?
It keeps each piece of work focused and gives it independent checking. This reduces the chance that one task's assumptions or mistakes spread through the rest of the implementation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; names the TodoWrite tool.

Part of the superpowers-ml plugin — 17 skills, 1 hook shipped together

Good fit Use it when you have a plan with mostly independent coding tasks and want to execute them in the same session. It is intended for continuous work until the tasks are complete or genuinely blocked.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pengzhangzhi/superpowers-ml/subagent-driven-development
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 pengzhangzhi/superpowers-ml --skill subagent-driven-development
Clone the repo
git clone --depth 1 https://github.com/pengzhangzhi/superpowers-ml

Made for: Claude Code.

Or install superpowers-ml, the plugin that ships this one along with the rest of its 17 skills, 1 hook.

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/pengzhangzhi/superpowers-ml/subagent-driven-development.svg)](https://agentmods.dev/skills/pengzhangzhi/superpowers-ml/subagent-driven-development)
Your own site
<a href="https://agentmods.dev/skills/pengzhangzhi/superpowers-ml/subagent-driven-development"><img src="https://agentmods.dev/badge/skills/pengzhangzhi/superpowers-ml/subagent-driven-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,787 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 97% 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.00017 $0.02787
Opus 5 $0.00009 $0.01393
Sonnet 5 $0.00003 $0.00557
Haiku 4.5 $0.00002 $0.00279

Measured 8d ago against content hash 13873b3f6f50, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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.

Origin

This is a copy

97% identical to subagent-driven-development — 18 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.

skills/subagent-driven-development/SKILL.md · 280 lines

How it starts

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

Subagent-Driven Development

Execute plan by dispatching fresh subagent per task, with two-stage review after each: spec compliance review first, then code quality review.

Why subagents: You delegate tasks to specialized agents with isolated context. By precisely crafting their instructions and context, you ensure they stay focused and succeed at their task. They should never inherit your session's context or history — you construct exactly what they need. This also preserves your own context for coordination work.

Core principle: Fresh subagent per task + two-stage review (spec then quality) = high quality, fast iteration

Continuous execution: Do not pause to check in with your human partner between tasks. Execute all tasks from the plan without stopping. The only reasons to stop are: BLOCKED status you cannot resolve, ambiguity that genuinely prevents progress, or all tasks complete. "Should I continue?" prompts and progress summaries waste their time — they asked you to execute the plan, so execute it.

When to Use

digraph when_to_use {
    "Have implementation plan?" [shape=diamond];
    "Tasks mostly independent?" [shape=diamond];
    "Stay in this session?" [shape=diamond];
    "subagent-driven-development" [shape=box];
    "executing-plans" [shape=box];
    "Manual execution or brainstorm first" [shape=box];

    "Have implementation plan?" -> "Tasks mostly independent?" [label="yes"];
    "Have implementation plan?" -> "Manual execution or brainstorm first" [label="no"];
    "Tasks mostly independent?" -> "Stay in this session?" [label="yes"];
    "Tasks mostly independent?" -> "Manual execution or brainstorm first" [label="no - tightly coupled"];
    "Stay in this session?" -> "subagent-driven-development" [label="yes"];
    "Stay in this session?" -> "executing-plans" [label="no - parallel session"];
}

vs. Executing Plans (parallel session):

  • Same session (no context switch)
  • Fresh subagent per task (no context pollution)
  • Two-stage review after each task: spec compliance first, then code quality
  • Faster iteration (no human-in-loop between tasks)

Read the full file on GitHub · 280 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. 8d ago First seen · 280 lines · 17 tokens per session scan A 13873b3f6f50

Subscribe to this mod's changes

subagent-driven-development is a skill published in the GitHub repository pengzhangzhi/superpowers-ml (8 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 2,787 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to subagent-driven-development, differing in 18 lines, and is treated as a copy.

Related

Other skills, from other repositories

hugging-face-paper-publisher

Publish and manage research papers on Hugging Face Hub. Supports creating paper pages, linking papers to models/datasets, claiming authorship, and generating professional markdown-based research articles.

patchy631/ai-engineering-hub · 42 tokens

citation-audit

A verification tool for checking whether a paper's bibliography entries are real, correctly described, and used to support the claims they accompany.

wanshuiyin/Auto-claude-code-research-in-sleep · 86 tokens

paper-illustration

A workflow for generating academic illustrations, such as architecture diagrams and method visuals, with image generation and repeated review. Claude plans and checks the figure during the process.

wanshuiyin/Auto-claude-code-research-in-sleep · 67 tokens

research-refine

A research-planning guide that turns a broad research idea into a specific method and a small validation plan.

wanshuiyin/Auto-claude-code-research-in-sleep · 101 tokens

resubmit-pipeline

A workflow for adapting an already polished research paper for submission to a different publication venue. It makes text-only edits under restrictions such as no new experiments, bibliography changes, or framework changes.

wanshuiyin/Auto-claude-code-research-in-sleep · 103 tokens

slides-polish

Per-page Codex review + targeted python-pptx / Beamer fixes for academic talk slides. Use AFTER /paper-slides (or any externally generated PPTX/Beamer) when the deck looks 'mostly OK' but the user wants a final pass that aligns visual weight with a reference, bumps PPTX fonts to projector-readable size, kills italic…

wanshuiyin/Auto-claude-code-research-in-sleep · 136 tokens