delegate-task

A workflow for giving one complex coding task to a single subagent and checking the work in two stages before accepting it.

In plain words
What is it for?
Use it for high-risk changes, multi-file refactors, security work, or other tasks where one agent should work sequentially under review.
Why use it?
It adds defined success criteria, verification commands, and human oversight to delegated work. This helps catch incomplete or incorrect results before they are merged.

Skill for Claude CodeCodex

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/danielvm-git/bigpowers/delegate-task
Any agent
npx skills add danielvm-git/bigpowers --skill delegate-task
Clone the repo
git clone --depth 1 https://github.com/danielvm-git/bigpowers

Made for: Claude Code, Codex.

Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 883 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 $0.00069 $0.00883
Opus 5 $0.00034 $0.00441
Sonnet 5 $0.00014 $0.00177
Haiku 4.5 $0.00007 $0.00088

Measured 3d ago against content hash 1ec07ee77d9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

delegate-task 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 3d 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.

.cline/skills/delegate-task/SKILL.md · 92 lines

How it starts

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

story: e45s30

Delegate Task

HARD GATEHARD GATE — Delegated work must have clear success criteria and verification commands. The delegate must be able to verify completion independently.

Delegate a single complex task to a subagent with a two-stage review gate before accepting the result. Use when oversight of a single task matters more than speed.

Distinct from dispatch-agents: This skill runs one subagent sequentially with a mandatory review. dispatch-agents runs multiple subagents in parallel without inter-task review gates.

Subagent depth tiers (e45s30)

Select brief depth from task risk: and skill effort: before spawning:

Tier When Brief includes
full_maturity P0 stories, multi-file refactors, security work Full template + CONVENTIONS excerpts + threat model if present
standard Default implementation tasks Goal, scope, out-of-bounds, constraints, verify, prior decisions
minimal_decisive Light probes, read-only audits Goal, verify, explicit file list (≤15 lines total)

State depth: <tier> in the Agent tool description field.

Process

1. Define the task

Before spawning the agent, read specs/state.yaml if it exists. Then write a minimal self-contained brief using this template (brief size directly controls token cost and hallucination risk — do not pad):

Goal: [one sentence — specific, measurable outcome]
In scope: [explicit file or module list]
Out of bounds: [what NOT to do]
Constraints: [relevant CONVENTIONS.md rules, existing patterns, test requirements]
Verify: [runnable command]
Prior decisions: [relevant entries from specs/state.yaml — omit section if none apply]

Do not include full file contents, full conversation history, or decisions unrelated to this task.

2. Spawn the subagent (iterative retrieval, max 3 cycles)

Use the Agent tool with a fresh context per spawn. Pass prior decisions only via specs/state.yaml.

Cycle: dispatch → evaluate output vs goal → refine brief → re-spawn if needed (max 3 cycles).

Read the full file on GitHub · 92 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. 3d ago First seen · 92 lines · 69 tokens per session scan A 1ec07ee77d9c

Subscribe to this mod's changes

delegate-task is a skill published in the GitHub repository danielvm-git/bigpowers (156 stars, last pushed 26d ago), licensed MIT. It adds 69 tokens to every session and 883 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.