delegate

delegate is a skill for Claude Code from fortunto2/rust-code. It costs 88 tokens per session (852 once invoked), scanned A, original, MIT.

A coordinator for sending work to several command-line coding agents, such as Claude, Gemini, Codex, or OpenCode. It can track separate task files and collect the agents’ results.

In plain words
What is it for?
Use it for parallel code changes, analysis, architecture reviews, refactoring, background tasks, and other multi-agent work.
Why use it?
It removes the need to run and monitor multiple agents by hand when a project can be split into parallel tasks.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions Codex.

Good fit Use it for parallel code changes, analysis, architecture reviews, refactoring, background tasks, and other multi-agent work.

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

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 delegate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fortunto2/rust-code/delegate"><img src="https://agentmods.dev/badge/skills/fortunto2/rust-code/delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 852 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00088 $0.00852
Opus 5.5 $0.00035 $0.00341
Sonnet 5.5 $0.00018 $0.00170
Haiku 4.5 $0.00009 $0.00085

Measured 1mo ago against content hash f7bc62f67bfa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

delegate 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.

skills/delegate/SKILL.md · 70 lines

How it starts

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

/delegate — Multi-Agent Orchestration

You are the orchestrator. You run on a cheap/fast model. You delegate complex work to powerful CLI agents and collect results.

Available Agents

Agent Best for Speed Cost
claude Complex code changes, refactoring, multi-file edits Slow $$$
gemini Analysis, architecture review, large context Fast $
codex Focused code tasks, single-file fixes Medium $$
opencode Multi-model tasks (uses its own model config) Medium $$
rust-code Autonomous loops (BigHead mode, --loop 5) Slow $

Reference: references/agent-guide.md

Two Modes

1. Free-text task

delegate_task {agent: "claude", task: "fix the auth bug in src/auth.rs"}

2. Task file (preferred for tracking)

task {operation: "create", title: "fix auth bug", priority: "high"}
delegate_task {agent: "claude", task_path: ".tasks/005-fix-auth-bug.md"}

The agent reads the task file, executes, updates status: done, writes ## Results.

Workflow

  1. Create tasks in .tasks/ for each unit of work
  2. Delegate to the right agent for each task
  3. Monitor with delegate_status (check every 30-60s)
  4. Collect results with delegate_result when done
  5. Review — read .tasks/ files to see what each agent did

Gotchas

  1. Agents inherit CLAUDE.md automatically — don't paste project conventions into the task. Just point to the task file, the agent reads CLAUDE.md on its own.
  2. Check availability first — delegate_task checks if the CLI is installed, but auth issues (expired tokens, missing API keys) only surface at runtime. If a delegate fails immediately, check tmux logs.
  3. task_path > free-text — with task_path, the agent updates the file with results. With free-text, results are only in the tmux buffer (ephemeral). Always prefer task files for anything important.
  4. Don't poll too fast — delegates are multi-minute processes. Poll every 30-60s, not every 5s. Use bash {command: "sleep 30"} between checks.
  5. Gemini CLI adds noise — gemini-cli prints warnings about API keys to stderr. The actual analysis is in the output, ignore the warnings.

Read the full file on GitHub · 70 lines

Files

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.

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. 1mo ago First seen · 70 lines · 88 tokens per session scan A f7bc62f67bfa

Subscribe to this mod's changes

delegate is a skill published in the GitHub repository fortunto2/rust-code (44 stars, last pushed 1mo ago), licensed MIT. It adds 88 tokens to every session and 852 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

hatch3r-cli-toolbox

Category-indexed reference for 34 specialist CLI tools beyond the always-on five (ripgrep, jq, gh, fd, fzf). Use to pick the right tool for HTTP clients, ai-chat, structural-search, sed-style edits, data ops, browser automation, container ops, and more.

hatch3r/hatch3r · 68 tokens

hatch3r-handoff-prepare

Captures mid-work session state into a canonical handoff document at .hatch3r/handoffs/active/. Use when ending a session mid-work, switching tools, or after context-health Orange/Red.

hatch3r/hatch3r · 52 tokens

hatch3r-cleanup

Repo-state cleanup pass — inventories accumulated hatch3r working state (plan files, workspace dirs, review telemetry, findings ledgers, learnings, handoffs, board staleness), asks once with per-category counts and estimated reclaim, dispatches each owned surface to its owning skill or CLI path, and prunes only the…

hatch3r/hatch3r · 77 tokens

hatch3r-customize

Creates and manages customization files for any hatch3r artifact type (agents, commands, rules, skills). Supports model overrides, description changes, scope overrides, enable/disable control, and project-specific markdown instructions.

hatch3r/hatch3r · 49 tokens

maestro-overlay

Create or edit command overlays from natural language, or auto-generate them from workflow deficiency signals.

catlog22/maestro-flow · 22 tokens

maestro-help

A help system for finding commands, browsing skills, recommending workflows, and guiding new users.

catlog22/maestro-flow · 58 tokens