delegation-protocol

delegation-protocol is a skill for Claude Code from jeroromano/claude-code-orchestration-template. It costs 89 tokens per session (4,599 once invoked), scanned B, original, MIT.

A procedure for handing implementation, investigation, or review work to another AI agent. It requires a small written task specification covering allowed files, exclusions, acceptance checks, validation commands, and expected changes.

In plain words
What is it for?
Use it before delegating work, when asking another agent to review a branch, when implementing an approved specification, or when a coding tool reaches an error or usage limit.
Why use it?
It reduces vague delegation and limits agents to the intended scope. It also provides a way to choose between cheaper or deeper workers and to trigger review when changes are risky or a coding command fails.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Good fit Use it before delegating work, when asking another agent to review a branch, when implementing an approved specification, or when a coding tool reaches an error or usage limit.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeroromano/claude-code-orchestration-template/delegation-protocol"><img src="https://agentmods.dev/badge/skills/jeroromano/claude-code-orchestration-template/delegation-protocol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,599 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00089 $0.04599
Opus 5.5 $0.00036 $0.01840
Sonnet 5.5 $0.00018 $0.00920
Haiku 4.5 $0.00009 $0.00460

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

Security

Grade B, and why

delegation-protocol scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| Pre-merge review of a Claude-authored branch (every behavioral branch) | `/codex:review --base <base> --background` on GPT-6.1 Sol (unavailable -> the fallback row below, §5) - no per-invocation model/effort flags: it
.claude/skills/delegation-protocol/SKILL.md · 74 lines

How it starts

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

Delegation protocol

Delegation is only cheaper than main-thread work if (a) the noisy work happens in someone else's context and (b) the task spec is smaller than the work itself. This protocol enforces both.

1. Task spec template (mandatory for any writing delegation)

GOAL: <one sentence, observable outcome>
ALLOWED FILES: <explicit paths or globs - the writer may touch nothing else>
NON-GOALS: <what must NOT change; include "no refactors" by default>
ACCEPTANCE: <verifiable criteria, bullet list>
VALIDATION: <exact commands: test / lint / build - from CLAUDE.md project commands>
RISK PATH: <yes/no, per CLAUDE.md risk paths. If yes: adversarial review is mandatory>
EXPECTED DIFF SHAPE: <files x approximate size - lets any reviewer spot drift instantly>

If VALIDATION cannot be filled, the project commands in CLAUDE.md are missing: ask the human to fill them before delegating. A spec without validation commands is decorative.

2. Routing table

Work Route Why
Mechanical, fully specified fast-worker agent; for a trivial edit (a rename, a formatting pass) the orchestrator may pass model: haiku on that one invocation - the per-invocation model overrides the agent's frontmatter pin (Claude Code docs, October 2026) - and a result rejected against its spec re-delegates on the pinned model cheapest capable writer, isolated context
Scoped implementation with an approved spec Codex rescue, background: /codex:rescue --fresh --background --model gpt-6.1-sol --effort medium <approved spec>; raise to --effort high only for hard bugs or multi-module work. Sol implements specs; it never authors them. Astra never implements - rescues pin gpt-6.1-sol on risk paths too. GPT-6.1 Sol needs Codex CLI 0.159.0 or newer and account access: if the CLI rejects the model, fall back to fast-worker (§5) - never rerun without --model, whose CLI default may resolve to Astra separate quota pool + cross-family perspective
One hard scoped question, no writing deep-reasoner agent premium reasoning without premium main thread
Escalation: deep-reasoner insufficient, or one decision's stakes justify premium spend premium-reasoner agent - requires human authorization; include PREMIUM-APPROVED in the prompt top-tier one-shot reasoning, spend-gated; premium tiers draw shared limits at a multiple of default models - verify with /usage
Pre-merge review of a Claude-authored branch (every behavioral branch) /codex:review --base <base> --background on GPT-6.1 Sol (unavailable -> the fallback row below, §5) - no per-invocation model/effort flags: it inherits Codex's RESOLVED config (its model is review_model when set, else model - §5 preflights both), which is the repo-local .codex/config.toml only when that file exists and the repo is trusted, and otherwise the global ~/.codex/config.toml (§4). Effort: the highest the path exposes (§5); on the direct path the raw CLI can additionally pin per invocation - codex review --commit <sha> -c model_reasoning_effort="max" (verified August 2026) - a SINGLE-COMMIT form: it reviews that commit only, never everything a merge would introduce, so it does not substitute for a branch-level review; for a branch, pin max in the resolved config and use the flagless command. Delivered via the review transport (§6): on native Windows auto ships this same review as an inline-task instead - the direct command hangs there until the per-machine sandbox fix (§6) cross-family, read-only, cheap on quota
Pre-merge review of a Codex-authored branch diff-reviewer agent or a human - never Codex no agent approves its own authorship
Risk-path change review, Claude-authored branch /codex:adversarial-review --base <base> plus a focus instruction from CLAUDE.md risk paths, on GPT-6 Astra - the costlier frontier tier, reserved for this pass (the slash command takes no model flag, so §5 preflights the resolved model; Astra unavailable -> GPT-6.1 Sol, disclosed) - at the same MAXIMUM effort as every other review (§5): max is the highest ALLOWED rung (ultra sits above it and is Codex Ultra - banned), and the ceiling is set by the invocation path (the companion's --effort flag stops at xhigh; the TOML and the raw CLI accept max). Same transport rule (§6): under inline-task this pass ships inline with the focus text in the prompt, --model gpt-6-astra, and no --effort pin unless preflight (§5) shows the resolved config below the ceiling or at ultra decorrelated failure modes where bugs are most expensive
Risk-path change review, Codex-authored branch diff-reviewer agent (or a human) with the CLAUDE.md risk-path focus text - never Codex the adversarial pass obeys the same rule: no agent approves its own authorship
Codex route unavailable for a Claude-authored diff: plugin absent, quota exhausted, model rejected (§5), dispatch failed or expired (§6) standard review: Grok Build (§7) when its plugin is installed, its check reports ready, the whole committed tree may leave the machine and - on native Windows - the human OKs the run - otherwise diff-reviewer agent; risk-path adversarial pass: diff-reviewer with the CLAUDE.md risk-path focus text (when the cause is an unavailable model, after the §5 Astra -> Sol degradation) - never Grok Grok keeps the second pass cross-family; diff-reviewer keeps it and will note the weaker same-family decorrelation
Code that must stay local, or a Codex-authored diff diff-reviewer agent keeps the second pass; on Claude-authored diffs it will note the weaker same-family decorrelation

Read the full file on GitHub · 74 lines

Files

What ships with it

2 files 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 Changed · -16 lines bf9e526b4945
  2. 1mo ago Changed · +12 lines 4907883db089
  3. 2mo ago Changed 2f75b686eca7
  4. 3mo ago First seen · 78 lines · 89 tokens per session scan B cc2d22b1862e

Subscribe to this mod's changes

delegation-protocol is a skill published in the GitHub repository jeroromano/claude-code-orchestration-template (1 stars, last pushed 1mo ago), licensed MIT. It adds 89 tokens to every session and 4,599 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

delegation-protocol compared with skills from other repositories

delegation-protocol next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
delegation-protocoljeroromano/claude-code-orchestration-templateSkill11mo agoMITB89Claude Code
code-reviewerforyourhealth111-pixel/Vibe-SkillsSkill3.9k27d agoApache-2.0A58Claude Code, Codex
vibe-reviewKhazP/vibe-coding-prompt-templateSkill3.3k18d agoMITA22Claude Code
local-vco-rolesforyourhealth111-pixel/Vibe-SkillsSkill3.9k27d agoApache-2.0A28Claude Code, Codex
deslopforyourhealth111-pixel/Vibe-SkillsSkill3.9k27d agoApache-2.0A0Claude Code, Codex
kn-reviewknowns-dev/knownsSkill2584d agoMITA19Claude Code
kn-docknowns-dev/knownsSkill2584d agoMITA20Claude Code, Codex