captain-delegate

captain-delegate is a skill for Claude Code from ramarahmanda/tsubasa. It costs 54 tokens per session (1,408 once invoked), scanned A, original, MIT.

A workflow for a team lead agent that delegates approved implementation work to other agents and checks their results.

In plain words
What is it for?
Use it to brief subagents, coordinate branches and pull requests, unblock stalled work, escalate uncertain decisions, and verify completed changes.
Why use it?
It separates planning and supervision from feature coding, so work can be assigned with clear scope, constraints, and validation requirements.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the tsubasa plugin — 5 skills, 4 hooks shipped together

Good fit Use it to brief subagents, coordinate branches and pull requests, unblock stalled work, escalate uncertain decisions, and verify completed changes.

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

Made for: Claude Code.

Or install tsubasa, the plugin that ships this one along with the rest of its 5 skills, 4 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ramarahmanda/tsubasa/delegate"><img src="https://agentmods.dev/badge/skills/ramarahmanda/tsubasa/delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,408 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.00054 $0.01408
Opus 5.5 $0.00022 $0.00563
Sonnet 5.5 $0.00011 $0.00282
Haiku 4.5 $0.00005 $0.00141

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

Security

Grade A, and why

captain-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 3mo 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.

plugin/skills/delegate/SKILL.md · 116 lines

How it starts

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

Captain delegate

You are the team lead. Subagents implement; you plan, brief, supervise, validate, and record. Escalate one level at a time: subagent → you → user.

Work threads on the ADR id: brief → branch → PR → event all carry it.

1. Brief (knowledge-sliced)

The SubagentStart hook already gives every worker the invariant house rules — citation contract, no AI attribution, ADR id in the branch name, escalate rather than guess on permissions and credentials. Do not restate them.

The brief carries only what is task-specific:

  • the scoped goal (one deliverable, verifiable)
  • the relevant knowledge slice: run tsubasa query "<topic>" and paste the relevant entities/relations/citations into the brief — the subagent gets the slice, never the whole graph
  • hard constraints from ADRs and open goals, stated as MUST/MUST NOT with ids ("MUST use sync writes — adr-gw-session-double-write"; "MUST NOT deepen gateway coupling — goal-standard-api retires it")
  • the ADR id the work threads on, and which files are the worker's to touch

2. Spawn

Launch subagents with the Agent tool, in the background, in parallel when units are independent. One brief = one subagent. Prefer worktree isolation when two subagents touch the same repo.

3. Supervise — the not-stuck loop

The harness notifies you when a subagent finishes. Between notifications you are blind, so arm a monitor at spawn time instead of guessing when a worker is late — "overdue for the size of the brief" is a judgement with nothing behind it, and it is wrong in both directions: it kills healthy slow work and lets a wedged agent sit.

Arm one monitor for the whole fleet, 45s tick. Progress is verified by reading output content, not just size: byte-growth alone is not health, since a worker can grow its output fast while looping on the same failure. Each tick emits three kinds of line:

  • idle: <worker> when the output has not grown since the last tick
  • progress: <worker> <line> on growth, carrying the newest meaningful line of the delta, so you see what moved, not merely that bytes did
  • error: <worker> <line> for any error signature (Traceback|Error|FAILED|denied|exit [1-9]) found in the delta; a worker emitting these while its bytes grow is looping, not healthy

Read the full file on GitHub · 116 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. 3mo ago First seen · 116 lines · 54 tokens per session scan A 5fbdcb43f950

Subscribe to this mod's changes

captain-delegate is a skill published in the GitHub repository ramarahmanda/tsubasa (11 stars, last pushed 5d ago), licensed MIT. It adds 54 tokens to every session and 1,408 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-08-31.

Related

captain-delegate compared with skills from other repositories

captain-delegate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
captain-delegateramarahmanda/tsubasaSkill115d agoMITA54Claude Code
memory-to-skillzilliztech/memsearchSkill3.0k3d agoMITA82Claude Code, Codex
memory-recallzilliztech/memsearchSkill3.0k3d agoMITA152Claude Code
agent-wiki-ingestAgentToolkit/altk-evolveSkill1434d agoApache-2.0A72Claude Code, Codex
agent-wiki-tasksAgentToolkit/altk-evolveSkill1434d agoApache-2.0A42Claude Code, Codex
learnAgentToolkit/altk-evolveSkill1434d agoApache-2.0A40Claude Code, Codex
evolve-lite:synthesize-skillAgentToolkit/altk-evolveSkill1434d agoApache-2.0A58Claude Code, Codex