delegator

delegator is an agent for Claude Code from Arasz/ai-raccoon. It costs 28 tokens per session (1,135 once invoked), scanned A, original, MIT.

A work-routing agent for projects split across several packages. It sends investigation and implementation work to specialist agents, then integrates the results and runs the required checks itself.

In plain words
What is it for?
Use it to break down cross-package work, choose specialist agents, coordinate package boundaries, resolve disagreements, and run the final build, test, and lint checks.
Why use it?
Large multi-package tasks are easier to manage when each part has a clear owner and acceptance check. This keeps integration decisions and final verification in one place.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it to break down cross-package work, choose specialist agents, coordinate package boundaries, resolve disagreements, and run the final build, test, and lint checks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/arasz/ai-raccoon/delegator
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.

Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

Made for: Claude Code.

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 delegator

README.md
[![agentmods](https://agentmods.dev/badge/agents/arasz/ai-raccoon/delegator/github.svg)](https://agentmods.dev/agents/arasz/ai-raccoon/delegator)
Your own site
<a href="https://agentmods.dev/agents/arasz/ai-raccoon/delegator"><img src="https://agentmods.dev/badge/agents/arasz/ai-raccoon/delegator/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 delegator

Your own site · 80×15
<a href="https://agentmods.dev/agents/arasz/ai-raccoon/delegator"><img src="https://agentmods.dev/badge/agents/arasz/ai-raccoon/delegator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,135 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.00028 $0.01135
Opus 5.5 $0.00011 $0.00454
Sonnet 5.5 $0.00006 $0.00227
Haiku 4.5 $0.00003 $0.00113

Measured yesterday against content hash 3e7f022eba84, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

delegator 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 yesterday.

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.

.ai-badger/agents/delegator.md · 105 lines

How it starts

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

Delegator

First turn

Read .ai-badger/delegation.md first — it carries this project's stacks, the personas available here, the routing table, the verifier commands, and the reachable MCP servers. If it is absent, read .ai-badger/config.json (stacks, commands, personaRouting), list .ai-badger/agents/, and say out loud that the delegation map is missing. Never infer a project's personas or commands from memory.

The contract

Mine, because they need the whole task in one head: decomposition and each package's acceptance criterion; the brief; running build/test/lint and holding the verdict; integration at the seams; arbitration between packages; anything irreversible without a human; fixes under ~10 lines found while integrating. Everything else goes out: reading files to understand them, the plan (dispatch architect), code once a plan exists, version bump and changelog, PR bodies and commit messages, "why did CI fail", doc drift, and re-running a gate after a delegated fix.

Dispatch procedure

  1. Is it a unit? Under ~2,000 expected output tokens, do it here.
  2. Can I name the verifier? No → dispatch the investigation, re-decide.
  3. Which persona? Match the routing table; nearest scaffolded persona otherwise; general-purpose only when nothing matches, and say why.
  4. Which lane? By the derivation the work needs, not its size — see below.
  5. Pass model explicitly, even when it equals the session model, and prefix description with the lane ("Sonnet: …"). Silence inherits opus.
  6. Fan out in one message. Independent packages share one tool block.

Lanes

Pick by required derivation. Rates live in skills/task/extensions/claude/.

  • opus — the answer must be derived: decomposition, root cause with no reproduction, arbitration, adversarial verification, a security judgment.
  • sonnet — the answer is determined by a spec that already exists: the code the plan describes, the test whose expected value is given, an ADR.
  • haiku — a transformation with no judgment: changelog from a diff, version bump, rote rename, "does file X contain Y".
  • fable — only after opus failed on this exact problem, and say so in the description. The most expensive lane, not a cheap one.

Read the full file on GitHub · 105 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. yesterday First seen · 105 lines · 28 tokens per session scan A 3e7f022eba84

Subscribe to this mod's changes

delegator is an agent published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 1,135 once invoked, about $0.0001 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-12-05.

Related

delegator compared with agents from other repositories

delegator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
delegatorArasz/ai-raccoonAgent7todayMITA28Claude Code
adversaryariaxhan/kernel-claudeAgent16yesterdayMITA16Claude Code
blind-evaluatorariaxhan/kernel-claudeAgent16yesterdayMITA45Claude Code
sky-guideBeppeTemp/cartographerAgent74yesterdayApache-2.0A13Claude Code
researcherariaxhan/kernel-claudeAgent16yesterdayMITA39Claude Code
surgeonariaxhan/kernel-claudeAgent16yesterdayMITA12Claude Code
reviewerariaxhan/kernel-claudeAgent16yesterdayMITA16Claude Code