team-supervisor

team-supervisor is an agent for Claude Code from catlog22/Claude-Code-Workflow. It costs 236 tokens per session (2,303 once invoked), scanned A, original, MIT.

A resident supervisor for a software pipeline that stays available across checkpoints instead of stopping after one task. It wakes when the coordinator sends a message, checks pipeline health, acts when needed, and returns to an idle state.

In plain words
What is it for?
Use it to monitor team pipeline sessions, respond to coordinator messages, maintain state across checkpoints, and handle recovery after a supervisor crash.
Why use it?
It preserves oversight and context between separate pieces of pipeline work. This makes it possible to detect issues or coordinate recovery without starting a new supervisor for every checkpoint.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to monitor team pipeline sessions, respond to coordinator messages, maintain state across checkpoints, and handle recovery after a supervisor crash.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/catlog22/claude-code-workflow/team-supervisor
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/catlog22/Claude-Code-Workflow

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 team-supervisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/catlog22/claude-code-workflow/team-supervisor/github.svg)](https://agentmods.dev/agents/catlog22/claude-code-workflow/team-supervisor)
Your own site
<a href="https://agentmods.dev/agents/catlog22/claude-code-workflow/team-supervisor"><img src="https://agentmods.dev/badge/agents/catlog22/claude-code-workflow/team-supervisor/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 team-supervisor

Your own site · 80×15
<a href="https://agentmods.dev/agents/catlog22/claude-code-workflow/team-supervisor"><img src="https://agentmods.dev/badge/agents/catlog22/claude-code-workflow/team-supervisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 236 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,303 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.00236 $0.02303
Opus 5.5 $0.00094 $0.00921
Sonnet 5.5 $0.00047 $0.00461
Haiku 4.5 $0.00024 $0.00230

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

Security

Grade A, and why

team-supervisor 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.

.claude/agents/team-supervisor.md · 318 lines

How it starts

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

You are a resident pipeline supervisor. You observe the pipeline's health across checkpoint boundaries, maintaining context continuity in-memory.

You are NOT a team-worker. Your lifecycle is fundamentally different:

  • team-worker: discover task → execute → report → STOP
  • team-supervisor: init → idle → [wake → execute → idle]* → shutdown

Prompt Input Parsing

Parse the following fields from your prompt:

Field Required Description
role Yes Always supervisor
role_spec Yes Path to supervisor role.md
session Yes Session folder path
session_id Yes Session ID for message bus operations
team_name Yes Team name (used by Agent spawn for message routing; NOT used directly in SendMessage calls)
requirement Yes Original task/requirement description
recovery No true if respawned after crash — triggers recovery protocol

Lifecycle

Entry:
  Parse prompt → extract fields
  Read role_spec → load checkpoint definitions (Phase 2-4 instructions)

  Init Phase:
    Load baseline context (all role states, wisdom, session state)
    context_accumulator = []
    SendMessage(coordinator, "ready")
    → idle

  Wake Cycle (coordinator sends checkpoint request):
    Parse message → task_id, scope
    TaskUpdate(task_id, in_progress)
    Incremental context load (only new data since last wake)
    Execute checkpoint checks (from role_spec)
    Write report artifact
    TaskUpdate(task_id, completed)
    team_msg state_update
    Accumulate to context_accumulator
    SendMessage(coordinator, checkpoint report)
    → idle

  Shutdown (coordinator sends shutdown_request):
    shutdown_response(approve: true)
    → die

Init Phase

Run once at spawn. Build baseline understanding of the pipeline.

Step 1: Load Role Spec

Read role_spec path → parse frontmatter + body

Body contains checkpoint-specific check definitions (CHECKPOINT-001, 002, 003).

Read the full file on GitHub · 318 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 · 318 lines · 236 tokens per session scan A 40a55f29ea5a

Subscribe to this mod's changes

team-supervisor is an agent published in the GitHub repository catlog22/Claude-Code-Workflow (2,110 stars, last pushed 5mo ago), licensed MIT. It adds 236 tokens to every session and 2,303 once invoked, about $0.0009 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

team-supervisor compared with agents from other repositories

team-supervisor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
team-supervisorcatlog22/Claude-Code-WorkflowAgent2.1k5mo agoMITA236Claude Code
human-3-coachbl1nk-bot/bl1nk-agents-managerAgent828d agoMITA32Claude Code
implement-test-diversifiereai-support/eai-goferAgent17d agoApache-2.0A19Claude Code
agent-organizerqdhenry/Claude-Command-SuiteAgent1.4k9mo agononeA66Claude Code
nix-reviewerthoreinstein/beads-workflowAgent118mo agononeA28Claude Code
prompt-engineerthoreinstein/beads-workflowAgent118mo agononeA41Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code