context-supervisor

context-supervisor is an agent for Claude Code from oliver-kriska/claude-elixir-phoenix. It costs 36 tokens per session (980 once invoked), scanned A, original, MIT.

A helper that collects results from several coding agents and turns them into shorter summaries for the main agent.

In plain words
What is it for?
Use it after sub-agents complete to review their output files, keep the details relevant to given priorities, and save consolidated summaries.
Why use it?
It reduces the amount of information the main agent must keep in context after parallel work finishes.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions subagents; names the NotebookEdit tool.

Part of the phx plugin — 50 skills, 26 agents, 8 hooks shipped together

Good fit Use it after sub-agents complete to review their output files, keep the details relevant to given priorities, and save consolidated summaries.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/oliver-kriska/claude-elixir-phoenix/context-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/oliver-kriska/claude-elixir-phoenix

Made for: Claude Code.

Or install phx, the plugin that ships this one along with the rest of its 50 skills, 26 agents, 8 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 context-supervisor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/oliver-kriska/claude-elixir-phoenix/context-supervisor"><img src="https://agentmods.dev/badge/agents/oliver-kriska/claude-elixir-phoenix/context-supervisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 980 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.00036 $0.00980
Opus 5.5 $0.00014 $0.00392
Sonnet 5.5 $0.00007 $0.00196
Haiku 4.5 $0.00004 $0.00098

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

Security

Grade A, and why

context-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 2mo 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.

plugins/elixir-phoenix/agents/context-supervisor.md · 138 lines

How it starts

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

Context Supervisor

You compress multi-agent output into consolidated summaries, preventing orchestrator context exhaustion. Like an OTP Supervisor that manages workers without doing their work, you manage information flow between sub-agents and their parent.

Inputs (provided via prompt)

You receive three inputs:

  1. input_dir — directory containing worker output files
  2. output_dir — directory for consolidated summaries
  3. priority_instructions — what to extract (varies by caller)

Workflow

Step 1: Inventory

Glob {input_dir}/*.md (or the pattern the caller names) and read each worker output file, noting its filename, topic, and approximate size (characters / 4 ≈ tokens).

Step 2: Strategy Selection

Choose compression strategy based on total token count across all input files:

Total Tokens Strategy Target Description
Under 8k Index ~100% File list + 1-line summary each
8k–30k Compress ~40% Extract key items per priority
Over 30k Aggressive ~20% Highest-priority items only

Step 3: Extract by Priority

Apply the priority_instructions from the caller to decide what to keep. Each orchestrator provides different priorities:

Planning orchestrator priorities:

  • Decisions with rationale (KEEP ALL)
  • File paths with line numbers (KEEP ALL)
  • Risks and unknowns (KEEP ALL, mark with warning)
  • Architectural patterns found (COMPRESS)
  • Code examples (AGGRESSIVE: keep 1 per pattern)

Review orchestrator priorities:

  • BLOCKER findings (KEEP ALL with affected files)
  • WARNING findings (KEEP ALL, deduplicate across reviewers)
  • SUGGESTION findings (COMPRESS: group similar)
  • Positive feedback (1-2 sentences max)

Investigation orchestrator priorities:

  • Root cause analysis (KEEP ALL)
  • Reproduction steps (KEEP ALL)
  • Impact scope and severity (KEEP ALL)
  • Fix options with trade-offs (COMPRESS)
  • Background context (AGGRESSIVE)

Call tracing orchestrator priorities:

Read the full file on GitHub · 138 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. 2mo ago Changed · -1 lines 88f5d51f0cce
  2. 2mo ago Changed · -9 lines 1055ff258257
  3. 3mo ago First seen · 148 lines · 36 tokens per session scan A abc1f4e76406

Subscribe to this mod's changes

context-supervisor is an agent published in the GitHub repository oliver-kriska/claude-elixir-phoenix (579 stars, last pushed 2d ago), licensed MIT. It adds 36 tokens to every session and 980 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-08-30.

Related

context-supervisor compared with agents from other repositories

context-supervisor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
context-supervisoroliver-kriska/claude-elixir-phoenixAgent5792d agoMITA36Claude Code
craft-plannermichtio/craftcms-claude-skillsAgent91yesterdayMITA71Claude Code
craft-gate-writermichtio/craftcms-claude-skillsAgent91yesterdayMITA65Claude Code
craft-review-checkermichtio/craftcms-claude-skillsAgent91yesterdayMITA0Claude Code
craft-code-reviewer-deepmichtio/craftcms-claude-skillsAgent91yesterdayMITA76Claude Code
pipeline-auto-brainkardebadas/claude-pluginAgent316d agoApache-2.0A73Claude Code
architecture-discoverykardebadas/claude-pluginAgent316d agoApache-2.0A68Claude Code