/superbeads:subagent-driven-developmentfrom superbeads
Use when executing a validated implementation graph with independent tasks in the current session, especially when fresh task contexts or parallel workers are requested
Ships in superbeads. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Apply the shared technical writing policy to human-readable manifest text, reports, reviews, handoffs, and user updates.
Execute each graph task in one fresh context, bound to a trusted Context Manifest. The controller owns coordination, Beads state, merges, reviews, and acceptance. A worker owns exactly one task identity.
Core principle: minimal context must still be complete context. Give the worker the authoritative task, immutable governing revisions, outcome IDs, resources, write boundaries, and verification—not the whole planning history.
Use this skill only when:
Use superbeads:executing-plans for a separate execution session. Return to brainstorming or writing-plans when the work is not yet decision-complete.
Before dispatch:
bd swarm validate <epic-id>..internal/sdd/<task-id>-manifest.json from the graph task's Files, outcomes, and resources with prepare; supply only runtime facts and immutable artifact revisions. Inspect the output, then validate it:python3 "$PWD/skills/subagent-driven-development/scripts/sdd-manifest.py" prepare \
--graph GRAPH --task-key TASK_KEY --task-id TASK_ID <runtime-and-artifact-options> \
--output MANIFEST
python3 "$PWD/skills/subagent-driven-development/scripts/sdd-manifest.py" validate MANIFEST
The schema, hash boundary, platform truth table, and handshake are in references/context-lifecycle.md. Validation failure stops dispatch.
The default mode is the execution spine below and applies whenever codex mode was not explicitly requested. Codex mode is available only when the controller is running in a Claude Code session and the user explicitly invokes this skill in codex mode; it keeps the same manifests, Beads ownership, worktrees, reviews, and acceptance gates but runs leaf workers through Codex CLI processes. When that condition is met, read references/codex-mode.md before dispatch. An explicit codex request on another host is unavailable and must be reported rather than silently replaced with default mode.
For each ready task:
./implementer-prompt.md, manifest path, task ID, and worktree. Do not paste the raw graph, entire product contract, design history, or previous task transcripts. The worker may pull a named governing artifact or reviewed dependency only when needed.CONTRACT_READY: identity, outcome IDs, invariants, interfaces, and confirmation that no implementation-changing decision remains open.NEEDS_CONTEXT: missing/conflicting field, evidence conflict, affected choices, and decision owner. It must not edit.CONTRACT_READY, the worker follows the task-specific skills, changes only the allowed write set, verifies the named criteria, commits if authorized, and writes only the generated report paths named separately in the manifest.sdd-manifest.py check-diff on each exact BASE..HEAD range before packaging review. Dispatch one task independently, or batch up to three completed independent low-risk packages into a bounded review wave; preserve per-task contracts, findings, evidence, and verdicts. Authority, protocol, security, and recovery work receives complementary review. Before any correction dispatch, run the reference's check-dispatch gate with the persisted outcome lineage; a failed gate requires diagnosis rather than a replacement task that resets the budget. Follow references/review-evidence.md.When more than one task is ready, route through references/scheduling.md. Do not load that reference for a single ready task.
Wait on the worker's completion signal. Do not poll a healthy worker. Record a phase
budget at dispatch. Inspect worker state only after a phase-overrun event or a failed
completion signal. At a stable slice boundary, hand off before context pressure makes
the controller lose transition state.
Context identity is:
(task_id, contract_hash, base_commit, worktree, workflow_version, graph_hash)
Before every edit turn, bind the received identity:
python3 "$PWD/skills/subagent-driven-development/scripts/sdd-manifest.py" bind \
--identity IDENTITY.json --manifest MANIFEST
A correction may return to the same worker only when all six values are unchanged; append a correction lineage entry. Any changed task, contract, base, worktree, workflow version, or graph hash requires a fresh manifest and fresh worker. After two failed review rounds on one finding, stop recycling the context: diagnose whether the task, evidence, model capability, or contract is wrong and escalate the decision.
When a legitimate correction needs a new path, use sdd-manifest.py amend with the graph task, exact path, and rationale. It rejects overlap with another task, records the amendment, recalculates write_scope_hash and contract_hash, and therefore requires a fresh context. Keep ordinary correction beads shallow beneath the owning task; only a diagnosed independent outcome or contract split creates another implementation task. Never broaden scope with an adjacent-file or directory wildcard.
DONE: proceed to task review.DONE_WITH_CONCERNS: resolve correctness or scope concerns before review; record non-blocking observations.NEEDS_CONTEXT: controller resolves the named fact or decision, issues a revised manifest if identity changes, and freshly dispatches when required.BLOCKED: distinguish missing context, insufficient capability, task size, environmental failure, and invalid plan. Do not retry unchanged inputs.Blocker-bead stamp:
bd create "[spec] <title>" -t task --parent <epic-id> --notes "Severity:/Confidence:/Evidence:"— seeverification-before-completion→ Agent-Filed Bead Discipline.
Task review proves the task diff; outcome review proves the user-visible product. They are separate gates.
./task-reviewer-prompt.md for one read-only spec-compliance and code-quality review per task../outcome-reviewer-prompt.md at declared outcome checkpoints and before epic closure.PASS satisfies an outcome ID. FAIL, BLOCKED, or UNTESTED leaves the acceptance gate and epic open.Beads is the durable ledger; .internal/sdd/ holds per-worktree manifests, reports, and regenerable review packages. After compaction, recover with bounded bd reads and Git commit ranges. Never create a parallel markdown progress ledger.
Keep the common path small:
Before this workflow's first Beads read/write or claim decision, read Beads Read/Write Economy and Claim Boundary; do not load it when no tracker operation is needed.
When this workflow closes after producing durable insights, read Durable Memory and apply it; otherwise do not load it.
superbeads:using-git-worktrees for isolated task workspaces.superbeads:writing-plans for the validated graph and Slice Contracts.superbeads:dispatching-parallel-agents only when scheduling selects multiple workers.superbeads:receiving-code-review for technically evaluating findings.superbeads:finishing-a-development-branch after task and outcome gates pass.superbeads:systematic-debugging only for an unexpected failure, not as ambient reading.The controller continues without routine check-ins until all tasks finish or a genuine user-owned decision blocks progress.
implementer-prompt.md (opens in a new tab)outcome-reviewer-prompt.md (opens in a new tab)references/codex-mode.md (opens in a new tab)references/context-lifecycle.md (opens in a new tab)references/review-evidence.md (opens in a new tab)references/scheduling.md (opens in a new tab)scripts/review-package (opens in a new tab)scripts/sdd-evidence.py (opens in a new tab)scripts/sdd-manifest.py (opens in a new tab)scripts/sdd-scheduler.py (opens in a new tab)scripts/sdd-workspace (opens in a new tab)task-reviewer-prompt.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub the-inconvenience-store/superbeads --plugin superbeads23 skills in this plugin
/brainstormingUse when shaping a feature, component, or behavior change into an approved solution design./dispatching-parallel-agentsUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies/document-releaseUse when committed code is awaiting merge and its project documentation may be stale./executing-plansUse when a validated implementation graph must run without isolated subagents.