fleet-runs — скилл для Claude Code: мониторинг Workflow-флотов
Скилл fleet-runs для Claude Code и Codex, который читает журналы Workflow-флотов из Agent Monitor и показывает статус каждого запуска с разбором по агентам.
MIT ★ 1 198 обновлён 2026-10-23
/plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor
/plugin install ccam-workflows@claude-code-agent-monitor-pluginsЧто делает fleet-runs
Fleet-runs суммирует запуски Workflow-флотов, которые не генерируют хуки — вместо этого данные берутся из журналов на диске. Скилл выдаёт два режима: список последних запусков с количеством агентов и статусом, или детальный разбор одного запуска. Для каждого агента видны тип, время выполнения, статус и заметки об ошибках.
Данные поступают из четырёх API-эндпоинтов: список флотов с временем, детали одного запуска, текущее состояние флота, состояние отдельного агента. Скилл сверяет журналы с live-состоянием — если данные разошлись, это заметно сразу. Если Dashboard недоступен, нужно запустить его командой npm start из корня репозитория.
Длительность отображается в удобных единицах (например, 3м 04с). Скилл никогда не выдумывает запуски или агентов — только то, что вернул API. Если флотов нет, об этом говорит прямо.
Какие задачи решает
- отследить статус всех агентов в Workflow-флоте за один раз
- найти, какой агент работает дольше всех и почему
- сверить журналы флотов с текущим состоянием в live API
- диагностировать ошибки в массовых запусках без хуков
Примеры запросов агенту
- Покажи последние запуски флота
- Разбери запуск
run-2024-11-15-001— какие агенты там сломались - Показать деталь последнего запуска: сколько агентов и как долго каждый работал
Как установить fleet-runs
1Через маркетплейс плагинов
/plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor/plugin install ccam-workflows@claude-code-agent-monitor-pluginsКоманда ставит плагин ccam-workflows целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill fleet-runs -a claude-code3Вручную: положить файлы
~/.claude/skills/fleet-runs/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/fleet-runs/
1Через Skills CLI (Vercel)
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill fleet-runs -a codex2Вручную: положить файлы
.agents/skills/fleet-runs/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill fleet-runs -a cursor2Вручную: положить файлы
.cursor/skills/fleet-runs/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install hoangsonww/Claude-Code-Agent-Monitor plugins/ccam-workflows/skills/fleet-runs2Вручную: положить файлы
.github/skills/fleet-runs/SKILL.md1Через Skills CLI (Vercel)
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill fleet-runs -a gemini-cli2Командой платформы
gemini skills install https://github.com/hoangsonww/Claude-Code-Agent-Monitor --path plugins/ccam-workflows/skills/fleet-runsВручную: положить файлы
.devin/skills/fleet-runs/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о fleet-runs
Как установить fleet-runs в Claude Code?
Выполните по порядку: /plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor, затем /plugin install ccam-workflows@claude-code-agent-monitor-plugins, потом npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill fleet-runs -a claude-code. После этого скилл будет в ~/.claude/skills/fleet-runs/SKILL.md.
Что делает fleet-runs?
Читает журналы Workflow-флотов из Agent Monitor (те, что без хуков), показывает список недавних запусков или разбирает один запуск по агентам. Для каждого агента видны тип, статус, время и ошибки, если есть.
Зачем нужны журналы, если есть live API?
Флоты Workflow() не генерируют хуки, поэтому данные сохраняются только в журналах на диске. Скилл сверяет журналы с live-состоянием, чтобы поймать, если что-то разошлось.
Исходный текст
SKILL.md · MIT
---
name: fleet-runs
description: >
Summarize Workflow-tool fleet runs from the Agent Monitor — these fleets emit
no hooks and are ingested from on-disk run journals. List recent runs with
status and agents-per-run, then drill into a single run's per-agent detail.
Reconciles against the live run-state endpoints. Use when reviewing Workflow()
fleets rather than hook-instrumented interactive sessions.
---
# Fleet Runs
Summarize Workflow-tool (Workflow()) fleet runs and drill into one run's agents.
## Input
The user provides: **$ARGUMENTS**
- Empty → list the most recent fleet runs.
- A run ID → drill into that single run.
- `latest` → drill into the most recent run.
These fleets emit **no hooks**; the dashboard ingests them from on-disk Workflow-tool run journals, so this data is independent of the hook event stream.
## Data Sources
| Endpoint | Returns |
|----------|---------|
| `GET /api/workflows/runs` | List of ingested fleet run journals: run id, status, agent count, timing |
| `GET /api/workflows/runs/{runId}` | One run in detail: per-agent status, timing, type, and outputs |
| `GET /api/run` | Live run state across the fleet (current/active runs) |
| `GET /api/run/{id}` | Live state for one run, to reconcile against the journal |
## Report Sections
### 1. Runs Overview (when listing)
| Run ID | Status | Agents | Started | Duration |
|--------|--------|--------|---------|----------|
Sort most recent first. Add a one-line status mix below (e.g. `8 runs: 5 completed, 2 running, 1 error`).
### 2. Run Detail (when a run ID / `latest` is given)
From `GET /api/workflows/runs/{runId}`, reconciled with `GET /api/run/{id}`:
- Header: run id, status, total agents, wall-clock duration.
- Per-agent table:
| Agent | Type | Status | Duration | Notes |
|-------|------|--------|----------|-------|
- Call out the longest-running agent and any agent with an error/failed status.
### 3. Status & Health
Completion rate (completed / total agents), any stalled or errored agents, and whether the journal and the live run-state endpoint agree (flag drift if they do not).
## Output
- Markdown tables; status mix as a single summary line.
- Durations in human units (e.g. `3m 04s`).
- Make explicit that these runs come from run journals (no hooks), so hook-derived metrics do not apply.
- Cite only runs and agents returned by the API; never invent runs.
- If there are no fleet runs, say so plainly.
- If the dashboard is unreachable, tell the user to start it with `npm start` from the repo root.
© Son Nguyen · MIT · hoangsonww/Claude-Code-Agent-Monitor