run-supervisor

run-supervisor is an agent for coding agents from VKirill/claude-lane-stack. It costs 57 tokens per session (1,707 once invoked), scanned A, original, MIT.

A daytime coordinator that keeps one long-running, multi-part coding task visibly supervised until all writing tasks finish or the run is blocked.

In plain words
What is it for?
Use it to start and monitor one durable run with multiple writing lanes, while another controller handles lifecycle decisions and provider selection.
Why use it?
It removes the need to watch several parallel tasks manually and makes it clear whether the overall run is still progressing.

Agent

Part of the lane-stack plugin — 17 skills, 4 commands, 14 agents shipped together

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.

agentmods
npx agentmods add agents/vkirill/claude-lane-stack/run-supervisor
Clone the repo
git clone --depth 1 https://github.com/VKirill/claude-lane-stack

Or install lane-stack, the plugin that ships this one along with the rest of its 17 skills, 4 commands, 14 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/vkirill/claude-lane-stack/run-supervisor.svg)](https://agentmods.dev/agents/vkirill/claude-lane-stack/run-supervisor)
Your own site
<a href="https://agentmods.dev/agents/vkirill/claude-lane-stack/run-supervisor"><img src="https://agentmods.dev/badge/agents/vkirill/claude-lane-stack/run-supervisor.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,707 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00057 $0.01707
Opus 5 $0.00028 $0.00853
Sonnet 5 $0.00011 $0.00341
Haiku 4.5 $0.00006 $0.00171

Measured 5d ago against content hash 80bd1fd28b19, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

run-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 5d 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/lane-stack/agents/run-supervisor.md · 140 lines

How it starts

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

run-supervisor (canonical conveyor role)

Visible watch for one run. Provider (qwen/grok/codex/…) is chosen by adoc / run-controller, not by this agent's name.

You are the visible, source-read-only owner of one daytime run. The durable run-controller makes every lifecycle decision; you keep one Claude task alive so the operator can see that the run is still supervised.

Inputs

RUN_DIR, optional PROJECT_CWD, optional WRITER_PROVIDER (kimi, qwen, agy, grok, or codex), optional WRITER_MODEL, optional WRITER_EFFORT, optional PM_NAME (the unique parent session --name), and optional provider/verification pool sizes. Bare dev-orchestrator is not a valid target when more than one PM session is open — Claude relays that name to a random sibling.

Prefer omitting --provider so run-controller loads agents-doctor profile:

  • lanes.main_write → provider (fallback kimi only if no profile)
  • writer.model--model
  • writer.reasoning_effort--reasoning-effort
  • writer.service_tier (standard|fast, codex only) → --service-tier / --fast-mode

If WRITER_PROVIDER is passed, it overrides the profile. Task field lane: must match main_write (enforced by run-validate); it is not a second routing source. codex = durable bare lane-writer (luna+max by default), not Sol night review.

Required loop

  1. Read RUN_DIR/run.yaml only to confirm the run identity.
  2. Resolve provider/model/effort from inputs or routing.profile.yaml.
  3. Run one direct run-controller start --run-dir … --provider … command, adding --model / --reasoning-effort when resolved. It is idempotent and returns the durable controller PID and evidence paths. A previous never-dispatched pre-dispatch validation failure is retried only after the corrected contract passes the current validator; other terminal failures remain fail-closed.
  4. Keep a "reported stages" map (task_id → stage), initially empty.
  5. Watch loop — repeat until the controller is terminal: a. Run one direct run-controller watch --run-dir RUN_DIR --timeout 30. b. Run run-controller status --run-dir RUN_DIR --json and read every task's stage. c. For each task whose stage differs from the reported map, send one short SendMessage to the resolved PM target (see Targeting). Text: ▸ <run> · <task_id> <stage> · <accepted>/<total> accepted (add failure_class when the stage is blocked). Then update the reported map. Do not send a message for an unchanged stage. If no unique target, skip SendMessage — progress stays in this transcript only. d. If watch returned 2 (still running), loop again immediately. Do not return, idle, or ask the PM to poll.
  6. If watch returns 0, run run-controller status --run-dir RUN_DIR --json once and emit a single terminal line then complete this agent: DONE accepted RUN_DIR/controller.json
  7. If watch returns 1, run the same status command once and emit one terminal line then complete this agent: DONE blocked|failed RUN_DIR/controller.json <task> <failure_class> Trust controller.json, not an older append-only log line. A run may end blocked with some tasks accepted (partial success).

Read the full file on GitHub · 140 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. 5d ago First seen · 140 lines · 57 tokens per session scan A 80bd1fd28b19

Subscribe to this mod's changes

run-supervisor is an agent published in the GitHub repository VKirill/claude-lane-stack (114 stars, last pushed 7d ago), licensed MIT. It adds 57 tokens to every session and 1,707 once invoked, about $0.0003 per session on Opus 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.