subagent-driven-delegation

subagent-driven-delegation is a skill for Claude Code, Codex from PyModel/claude-architect. It costs 66 tokens per session (3,337 once invoked), scanned A, original, MIT.

A multi-step coding workflow that gives each task to a separate implementation worker, checks the result independently, and reviews the completed branch. Each worker operates in an isolated copy of the project.

In plain words
What is it for?
Use it to carry out a plan with several coding tasks, with separate implementation, verification, and review stages for each task and for the finished branch.
Why use it?
It reduces the risk of accepting untested or misinterpreted code from an implementation worker. It also keeps task reviews and the final branch review organized.

Skill for Claude CodeCodex

Part of the claude-architect plugin — 3 skills, 3 agents, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/pymodel/claude-architect/subagent-driven-delegation
Any agent
npx skills add PyModel/claude-architect --skill subagent-driven-delegation
Clone the repo
git clone --depth 1 https://github.com/PyModel/claude-architect

Made for: Claude Code, Codex.

Or install claude-architect, the plugin that ships this one along with the rest of its 3 skills, 3 agents, 1 MCP server.

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-delegation

README.md
[![agentmods](https://agentmods.dev/badge/skills/pymodel/claude-architect/subagent-driven-delegation.svg)](https://agentmods.dev/skills/pymodel/claude-architect/subagent-driven-delegation)
Your own site
<a href="https://agentmods.dev/skills/pymodel/claude-architect/subagent-driven-delegation"><img src="https://agentmods.dev/badge/skills/pymodel/claude-architect/subagent-driven-delegation.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,337 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00066 $0.03337
Opus 5 $0.00033 $0.01669
Sonnet 5 $0.00013 $0.00667
Haiku 4.5 $0.00007 $0.00334

Measured 5d ago against content hash 1d0f36670ba7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

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

skills/subagent-driven-delegation/SKILL.md · 142 lines

How it starts

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

Subagent-Driven Delegation

PROTOCOL_VERSION: 2.0.0

Superpowers subagent-driven-development (SDD) dispatches a fresh implementer subagent per task, reviews each task, and reviews the whole branch at the end. This skill runs that same loop with one substitution: the implementer is a Claude Architect delegation, not a generic subagent. Each task becomes a versioned Delegation Spec executed by an untrusted Producer in an isolated worktree, frozen as a Candidate Artifact, and independently verified by the runtime before any reviewer sees it.

Always present this skill as /claude-architect:subagent-driven-delegation.

Use /claude-architect:delegate for a single delegation. Use this skill when a plan has multiple tasks and you want the SDD ledger, per-task review, and final whole-branch review on top of verified delegation.

What the substitution buys

Upstream SDD's task reviewer reads a diff and the implementer's report; it trusts that the implementer ran the tests it claims. Here that trust is removed:

SDD stage Generic subagent Verified delegation
Implement Subagent edits the branch Producer edits an isolated worktree it cannot escape
Test evidence Implementer's report Runtime re-runs verification on frozen bytes
Task review Reviews a diff Reviews the exact anchored candidate, never the implementer's context
Complete Controller marks done The configured runtime authority records acceptance, then integration is hash-matched

The Producer's self-report is never evidence. It is a correlation aid and a summary; every reviewable fact comes from runtime evidence.

Where this diverges from upstream SDD

Follow upstream SDD except on these four points, where a trust invariant governs. Do not "restore" the upstream behavior.

  1. No implementer resume. Upstream says fix rounds 1–3 resume the original implementer with its context intact. Claude Architect forbids it: every attempt starts with fresh context in a fresh worktree. Every fix round is therefore a new attempt carrying the findings in a revised spec. The report file, not conversational memory, is the continuity.
  2. The controller never marks a task complete directly. Upstream lets the controller close a task after a clean review. Here a task closes only after decideCandidate records accepted under the configured authority and integrateCandidate reports applied.
  3. Implementer self-review is not a review. Upstream's implementer self-reviews before handing off. A Producer may summarize, but the gate is runtime verification plus reviewCandidate. Never let a self-report shorten the review.
  4. The controller never fixes findings. Upstream already says this to protect controller context; here it is also a trust rule. The architect authors specs and reviews bytes. It does not edit Producer output into shape.

Read the full file on GitHub · 142 lines

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. 5d ago First seen · 142 lines · 66 tokens per session scan A 1d0f36670ba7

Subscribe to this mod's changes

subagent-driven-delegation is a skill published in the GitHub repository PyModel/claude-architect (19 stars, last pushed today), licensed MIT. It adds 66 tokens to every session and 3,337 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

delegation-core

Delegates execution to eight CLIs (Gemini, Qwen, MiniMax, GLM, Muse, Codex, OpenCode, Glimmer). Use for execution tasks. Do not use for secrets.

athola/claude-night-market · 46 tokens

opencode-delegation

Delegates tasks to OpenCode (opencode run) via delegation-core. Use when delegation-core selects OpenCode or a provider-agnostic harness is wanted.

athola/claude-night-market · 38 tokens

system-boot

Auto-activating session startup - reads memory, orients Claude, announces status. Triggers on session start or when user says "continue", "weiter", "resume".

primeline-ai/evolving-lite · 39 tokens

smart-git-commit

Use this skill for ANY git operation — commits, pushes, PRs, releases, or version tagging. Triggers on: "commit", "push", "save my changes", "create a PR", "open a pull request", "ship this", "make a release", "tag this version", "checkpoint my work", or any request to record or publish code changes. Produces…

Zarl-prog/Smart-git-commit · 148 tokens

evolution-guide

Explains how Evolving Lite works when the user asks about the system, its features, or how to use it. Triggers on questions like "how does this work", "what is evolving lite", "what hooks are running", "explain the system".

primeline-ai/evolving-lite · 57 tokens

AI Agent Review Readiness

Checks whether AI-assisted work defines review criteria, accessible context, explicit review loop, human judgment boundary, and feedback capture before delegating to an agent.

s977043/river-review · 36 tokens