subagent-runner

subagent-runner is a skill for Claude Code, Codex from AlekseiUL/sprut-agent-kit. It costs 47 tokens per session (1,669 once invoked), scanned B, original, MIT.

A coordinator for running multiple helper agents on separate parts of a larger task. A subagent is a helper process that handles one focused piece of work.

In plain words
What is it for?
Use it when a task has two or more independent parts, such as research, writing, or design work that can run in parallel.
Why use it?
It reduces the time needed for independent work by splitting suitable tasks and collecting the results.

Skill for Claude CodeCodex

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 skills/alekseiul/sprut-agent-kit/subagent-runner
Any agent
npx skills add AlekseiUL/sprut-agent-kit --skill subagent-runner
Clone the repo
git clone --depth 1 https://github.com/AlekseiUL/sprut-agent-kit

Made for: Claude Code, Codex.

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 subagent-runner

README.md
[![agentmods](https://agentmods.dev/badge/skills/alekseiul/sprut-agent-kit/subagent-runner.svg)](https://agentmods.dev/skills/alekseiul/sprut-agent-kit/subagent-runner)
Your own site
<a href="https://agentmods.dev/skills/alekseiul/sprut-agent-kit/subagent-runner"><img src="https://agentmods.dev/badge/skills/alekseiul/sprut-agent-kit/subagent-runner.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,669 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00047 $0.01669
Opus 5 $0.00023 $0.00834
Sonnet 5 $0.00009 $0.00334
Haiku 4.5 $0.00005 $0.00167

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

Security

Grade B, and why

subagent-runner scanned grade B with 2 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat ~/.claude/claudeclaw/subagents/$TASK_ID.txt

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST http://localhost:4632/api/subagent/run \
skills/subagent-runner/SKILL.md · 209 lines

How it starts

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

Subagent Runner

Автоматический запуск субагентов для параллельной обработки сложных задач.

Когда использовать

Используй когда:

  • Задача разбивается на 2+ независимых подзадачи
  • Нужна параллельная обработка (исследование + написание + дизайн)
  • Большой объём работы, который можно распараллелить
  • Разные части задачи требуют разных специализаций

НЕ используй когда:

  • Задача простая, выполнима за 1-2 шага
  • Подзадачи зависят друг от друга (нужна последовательность)
  • Результат одной подзадачи нужен для начала другой

Workflow

1. Анализ задачи

Определи:

  • Можно ли разбить на независимые части?
  • Сколько субагентов нужно? (обычно 2-4)
  • Какая специализация у каждого?

2. Запуск субагентов

Используй HTTP API daemon-а (localhost:4632):

# Отправь progress сообщение
bun ~/.claude/plugins/cache/claudeclaw/claudeclaw/1.0.0/commands/progress.ts "🤖" "Запускаю 3 субагента для задачи: [название]"

# Запусти субагента через REST API
curl -X POST http://localhost:4632/api/subagent/run \
  -H "Content-Type: application/json" \
  -d '{"name": "researcher", "prompt": "Исследуй тему X, найди 5 источников"}'

# Получи task_id из ответа:
# {"ok":true,"taskId":"uuid-here","name":"researcher","prompt":"..."}

Сохрани task_id для мониторинга:

TASK_ID="полученный-uuid"

3. Мониторинг

Проверяй статус через API:

# Получи статус субагента
curl http://localhost:4632/api/subagent/status/$TASK_ID

# Ответ:
# {"ok":true,"status":{"id":"uuid","name":"researcher","status":"running|completed|failed",...}}

# Или дождись результата (блокирующий вызов, таймаут 60 сек по умолчанию)
curl "http://localhost:4632/api/subagent/wait/$TASK_ID?timeout=120000"

# Ответ при успехе:
# {"ok":true,"result":"текст результата субагента"}

Альтернатива - читай файлы напрямую:

# Проверь все запущенные субагенты
ls -la ~/.claude/claudeclaw/subagents/

# Читай результаты по мере готовности
cat ~/.claude/claudeclaw/subagents/$TASK_ID.txt

Read the full file on GitHub · 209 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 · 209 lines · 47 tokens per session scan B 31ff5745d6b0

Subscribe to this mod's changes

subagent-runner is a skill published in the GitHub repository AlekseiUL/sprut-agent-kit (63 stars, last pushed 3mo ago), licensed MIT. It adds 47 tokens to every session and 1,669 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.