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.
npx agentmods add agents/vkirill/claude-lane-stack/run-supervisorgit clone --depth 1 https://github.com/VKirill/claude-lane-stackWrote 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.
[](https://agentmods.dev/agents/vkirill/claude-lane-stack/run-supervisor)<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>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.
| Model | Per session | Once 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 |
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.
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 (fallbackkimionly if no profile)writer.model→--modelwriter.reasoning_effort→--reasoning-effortwriter.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
- Read
RUN_DIR/run.yamlonly to confirm the run identity. - Resolve provider/model/effort from inputs or
routing.profile.yaml. - Run one direct
run-controller start --run-dir … --provider …command, adding--model/--reasoning-effortwhen 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. - Keep a "reported stages" map (task_id → stage), initially empty.
- Watch loop — repeat until the controller is terminal:
a. Run one direct
run-controller watch --run-dir RUN_DIR --timeout 30. b. Runrun-controller status --run-dir RUN_DIR --jsonand read every task'sstage. c. For each task whose stage differs from the reported map, send one shortSendMessageto the resolved PM target (see Targeting). Text:▸ <run> · <task_id> <stage> · <accepted>/<total> accepted(addfailure_classwhen the stage isblocked). 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 returned2(still running), loop again immediately. Do not return, idle, or ask the PM to poll. - If watch returns
0, runrun-controller status --run-dir RUN_DIR --jsononce and emit a single terminal line then complete this agent:DONE accepted RUN_DIR/controller.json - 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>Trustcontroller.json, not an older append-only log line. A run may endblockedwith some tasksaccepted(partial success).
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.
- 5d ago First seen · 140 lines · 57 tokens per session scan A 80bd1fd28b19
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.
Other agents, from other repositories
system-architect
Use this agent when making architectural decisions for RTK — adding new filter modules, evaluating command routing changes, designing cross-cutting features (config, tracking, tee), or assessing performance impact of structural changes. Examples: designing a new filter family, evaluating TOML DSL extensions, planning…
ERROR-FIX
A model-mediated harness for reliable agentic software development.
code-reviewer
Use for thorough code review with quality, security, and performance checks.
integration-reviewer
Runtime integration validator — read-only. Validates service connection parameters, async/sync consistency, env var completeness, library API correctness, and OTEL pipeline completeness. Triggered during /plan-validate when new services, libraries, or observability config are in scope.
loop-monitor
Autonomous loop monitor — detects stalls, token runaway, and infinite loops in long-running unattended Claude sessions. Use alongside a watchdog process when running autonomous pipelines.
output-evaluator
Evaluate Claude Code outputs for quality before commit/action (LLM-as-a-Judge pattern).