agent-delegation

agent-delegation is a skill for Claude Code, Codex from yeisonrestrepo/code-conductor. It costs 39 tokens per session (374 once invoked), scanned A, original, MIT.

A set of rules for giving larger investigations to helper agents and returning summaries instead of raw file contents. It recommends exploring several files with one helper and running independent tasks in parallel.

In plain words
What is it for?
Use it when a task requires exploring multiple files or handling separate implementation tasks that do not share state.
Why use it?
It keeps the main coding conversation focused and limits the amount of intermediate output it must hold. It also defines when delegation is appropriate and how much each helper should return.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it when a task requires exploring multiple files or handling separate implementation tasks that do not share state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yeisonrestrepo/code-conductor/agent-delegation
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 yeisonrestrepo/code-conductor --skill agent-delegation
Clone the repo
git clone --depth 1 https://github.com/yeisonrestrepo/code-conductor

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/yeisonrestrepo/code-conductor/agent-delegation/github.svg)](https://agentmods.dev/skills/yeisonrestrepo/code-conductor/agent-delegation)
Your own site
<a href="https://agentmods.dev/skills/yeisonrestrepo/code-conductor/agent-delegation"><img src="https://agentmods.dev/badge/skills/yeisonrestrepo/code-conductor/agent-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.

agentmods 80×15 button for agent-delegation

Your own site · 80×15
<a href="https://agentmods.dev/skills/yeisonrestrepo/code-conductor/agent-delegation"><img src="https://agentmods.dev/badge/skills/yeisonrestrepo/code-conductor/agent-delegation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 374 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 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.00039 $0.00374
Opus 5.5 $0.00016 $0.00150
Sonnet 5 $0.00008 $0.00075
Haiku 4.5 $0.00004 $0.00037

Measured 4d ago against content hash 4f781a26adc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-27, from the pricing page.

Security

Grade A, and why

agent-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 4d 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/agent-delegation/SKILL.md · 45 lines

What it actually says

Agent Delegation

Keep the main context clean. Raw file contents, grep output, and intermediate data never enter the main context. Sub-agents process data and return summaries only.

When to Spawn

Explore Sub-Agent

Condition: Task requires reading 3+ files to answer one question, or codebase exploration precedes implementation.

// Use the Agent tool with these parameters:
Agent({
  subagent_type: "Explore",
  description: "<10-word description of the lookup>",
  prompt: "<question>. Search across relevant files. Return a summary of ≤200 words. Do not include raw file contents."
})

Parallel Agents

Condition: 2+ implementation tasks with no shared state, each describable independently.

Send both Agent calls in a single message so they run in parallel:

// Use the Agent tool twice in the same message — they run in parallel:
Agent({ description: "Task A", prompt: "... Return a summary of ≤200 words." })
Agent({ description: "Task B", prompt: "... Return a summary of ≤200 words." })

Output Contract

  • Every sub-agent returns ≤200 words to the main context.
  • The main context acts only on summaries, not raw data.
  • If a sub-agent needs user input, it surfaces one question to the main context and stops.

When NOT to Spawn

  • Single Grep or Glob can answer the question.
  • Answer is already in .claude/memory/project.md.
  • Task requires back-and-forth with the user (stay inline).
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. 4d ago First seen · 45 lines · 39 tokens per session scan A 4f781a26adc9

Subscribe to this mod's changes

agent-delegation is a skill published in the GitHub repository yeisonrestrepo/code-conductor (7 stars, last pushed yesterday), licensed MIT. It adds 39 tokens to every session and 374 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-23.

Related

Other skills, from other repositories

digest

Restructure a rambling ticket, email, pasted note, file, or Jira issue - prose the user received - into the fixed digest brief (TL;DR, Next action, Breakdown, Priority). Trigger on an explicit /squirrel:digest invocation, or an explicit request to digest or restructure a named piece of prose into that brief. An…

thgMatajs/squirrel-mode · 188 tokens

session-audit

Audit Claude Code session logs (/.claude/projects) for token waste and produce a ranked, attributed efficiency report (habit / skillfile / config). Use when the user asks to audit session efficiency, analyze token waste or cost blowups, review Claude Code usage cost, or asks "where are my tokens going".

foyzulkarim/skills · 67 tokens

create-cmd-instruct

Reshape my PREVIOUS message using extra instructions, then save it as a slash command.

fayis672/slash-IT · 17 tokens

status

Use this skill when the user asks "where am I", "what's the current task", "what's blocking me", "show status", "what needs sign-off", or "what's next". Prints a snapshot of the active plan, gate, sign-off progress, and next action. Reads only — writes nothing.

lantisprime/claude-sdlc · 67 tokens

list-cmds

List all my custom slash commands with their descriptions. Use when the user wants to see, browse, or review the custom slash commands they have saved.

fayis672/slash-IT · 30 tokens

whats-next

Suggest what to work on next based on recent activity and current context. Use when the user is between tasks, at a decision point, wants direction on where to focus, or asks what to do next.

autographical/claude-code-plugins · 41 tokens