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.
npx skills add shinpr/codex-workflows --skill subagent-delegationgit clone --depth 1 https://github.com/shinpr/codex-workflowsWrote 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.
[](https://agentmods.dev/skills/shinpr/codex-workflows/subagent-delegation)<a href="https://agentmods.dev/skills/shinpr/codex-workflows/subagent-delegation"><img src="https://agentmods.dev/badge/skills/shinpr/codex-workflows/subagent-delegation/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.
<a href="https://agentmods.dev/skills/shinpr/codex-workflows/subagent-delegation"><img src="https://agentmods.dev/badge/skills/shinpr/codex-workflows/subagent-delegation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.00804 |
| Opus 5.5 | $0.00017 | $0.00322 |
| Sonnet 5.5 | $0.00009 | $0.00161 |
| Haiku 4.5 | $0.00004 | $0.00080 |
Grade A, and why
subagent-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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 36 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Subagent Delegation
Apply this skill before delegating work or managing a running subagent. It covers both custom agents and agents created for the current task.
Delegation gives the child a responsibility and the authority to complete it from an isolated context. Pass only the task's minimum input contract; preloading the parent's conclusions, target list, or classifications turns delegation into confirmation work, suppresses independent judgment, and defeats context isolation.
Assignment
Give the child its expected outcome, scope, governing inputs required by its input contract, and the result needed by the next consumer. Pass each source (the user's words, a governing artifact, a review finding, another agent's result) by its path or copied unchanged, and label the parent's own decisions as the parent's. The sources already make the child self-contained, so this takes precedence over writing a delegation prompt out in full: text the parent writes about a source, such as a restatement, summary, reading list, added constraint, estimate, or advice, reaches the child as a requirement no user confirmed and no reviewer checked. It drifts from the source, changes scope without a decision, and overrides the child's judgment of what to read. A gap in a source goes to whoever owns that decision: the child decides in-scope choices, the parent passes its own decisions labeled as such, and any other gap returns to the source's owner instead of being filled. Leave in-scope methods and reversible choices to the child. Tell the child to notify the parent when its decision or intervention is needed or an update is explicitly requested, and otherwise work through to the completed result; include the evidence needed to act.
Accept semantically equivalent wording in natural-language inputs while preserving exact contracts where software parses them.
Choose the delegation level before spawning, based on which decisions the child owns:
| Task type | Default delegation |
|---|---|
| Implementation or fixes within the assigned scope; review or verification against supplied criteria; research with a defined question | Delegate through completion, including the required verification. Receive the completed result or an escalation for a blocker requiring help beyond the child's assigned scope. |
| Exploration or design that needs the parent to settle the objective, selection criteria, or a major decision during the work | Name the decision retained by the parent in the assignment. Have the child request that decision when it becomes necessary, with the evidence needed to answer. |
What ships with it
1 file 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.
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.
- 1mo ago Changed 15b3e136ff71
- 1mo ago Changed 73868050b93e
- 1mo ago Changed 3612440e4b6f
- 2mo ago Changed · +2 lines 3411d6ba270d
- 2mo ago Changed 6c001b03bd56
- 2mo ago Changed · +2 lines · -2 tokens per session c5d2fcf3f047
- 2mo ago First seen · 32 lines · 45 tokens per session scan A 70016e3f4770
subagent-delegation is a skill published in the GitHub repository shinpr/codex-workflows (42 stars, last pushed 3d ago), licensed MIT. It adds 43 tokens to every session and 804 once invoked, about $0.0002 per session on Opus 5.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-09.
subagent-delegation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| subagent-delegationshinpr/codex-workflows | Skill | 42 | 3d ago | MIT | A | 43 | Codex |
| chrome-cdpmattzcarey/shippie | Skill | 2.5k | 1mo ago | MIT | A | 91 | Claude Code, Codex |
| skill-creatorzhayujie/CowAgent | Skill | 48k | today | MIT | A | 61 | Claude Code, Codex |
| ax-agent-rlmax-llm/ax | Skill | 3.0k | today | Apache-2.0 | A | 88 | Claude Code, Codex |
| ax-go-flowax-llm/ax | Skill | 3.0k | today | Apache-2.0 | A | 43 | Claude Code, Codex |
| notificationsvellum-ai/vellum-assistant | Skill | 1.5k | 3d ago | MIT | A | 9 | Claude Code, Codex |
| telegram-setupvellum-ai/vellum-assistant | Skill | 1.5k | 3d ago | MIT | A | 22 | Claude Code, Codex |