fleet-control
БесплатноБез исполняемых скриптовНе проверенOperate managed Aeon instances from memory/instances.json - health-check, dispatch, and status snapshots (control), plus a fleet scorecard of runs, tokens…
от aeonfun★ 801 звезда на GitHubОб этом скилле
${var} — Command / view selector. Empty (or unrecognized) → Health Check (default control view).
status→ full Status Mode (control view).dispatch <instance|*> <skill> [var=<value>]→ Dispatch Mode: trigger a skill on one child or all healthy/degraded children (control view).scorecard→ Scorecard Mode: fleet-wide runs/tokens/cost/reliability scorecard with day-over-day deltas + alerts (scorecard view).
Today is ${today}. Operate the fleet of Aeon instances registered in memory/instances.json. The control view (health/status/dispatch) is decision-ready: every run leads with a verdict, then a delta vs prior check, then per-instance lines that name the next concrete action. The scorecard view publishes the daily fleet-wide cost/reliability scorecard.
The fleet is discovered at runtime, never hardcoded: it is this repo ("self") plus every non-archived entry in memory/instances.json (the registry fleet-control and spawn-instance maintain). With zero managed instances the scorecard simply covers the single self repo — still useful.
Shared preamble (every run)
Read memory — read
memory/MEMORY.mdfor high-level context and scan the last ~3 days ofmemory/logs/for recent activity; don't re-report a signal already logged there.Voice — if
soul/SOUL.mdandsoul/STYLE.mdexist and are populated, read them and match the operator's voice in every notification. If they are empty templates or absent, use a clear, direct, neutral tone — terse, lowercase, no fluff.Parse
${var}→ mode:- empty / unrecognized → Health Check Mode (control view; default)
- exactly
status→ Status Mode (control view) - starts with
dispatch→ Dispatch Mode (control view) - exactly
scorecard→ Scorecard Mode (scorecard view)
Route:
- Health Check / Status / Dispatch → run the Control-view pre-flight below, then the matching mode section. These modes make live
ghcalls. - Scorecard → skip the control-view pre-flight entirely and jump straight to Scorecard Mode, which gathers its own data in-run via
node scripts/fleet-scorecard.mjs.
- Health Check / Status / Dispatch → run the Control-view pre-flight below, then the matching mode section. These modes make live
Control-view pre-flight (health / status / dispatch only)
Verify gh auth —
gh auth statusmust succeed. If not, logFLEET_NO_AUTHtomemory/logs/${today}.mdand notifyFleet Control: gh auth missing — check GITHUB_TOKEN secret.Stop.Check rate limit - run
gh api rate_limit --jq '.resources.core.remaining'as its own Bash call (see Shell shape in the Network note); it printsREMAINING. IfREMAINING < 50, logFLEET_RATE_LIMITED:remaining=${REMAINING}and notify a one-line warning, then stop.Load the registry — read
memory/instances.json. If the file is missing, write{"instances": []}to bootstrap. If.instancesis absent or[]:- Log
FLEET_EMPTY: no managed instancestomemory/logs/${today}.md. - Stop. Do NOT notify.
- Log
Load prior state — read
memory/state/fleet-control-state.json(create the directory and file with{"instances": {}, "last_full_summary_date": ""}if missing). Shape:{ "instances": { "<name>": { "health": "<status>", "last_checked": "<ISO>", "consecutive_unreachable": 0 } }, "last_full_summary_date": "YYYY-MM-DD" }
Health Check Mode (default — control view)
For each registered instance, skip rows with archived: true from per-instance work (count them separately). Make the three calls per instance as three separate Bash calls with the instance's owner/repo written in literally as <REPO>, and read each result from the call's own output (stdout, or the error it prints). To run them in parallel, put several of these calls in one response instead of & + wait (keep ≤16 concurrent calls to stay under rate limit).
First get the 24h window start once, as its own call:
date -u -d '24 hours ago' +%Y-%m-%dT%H:%M:%SZ
It prints SINCE, written in literally below.
a. Repo metadata:
gh api "repos/<REPO>" \
--jq '{full_name, pushed_at, archived, default_branch, open_issues_count}'
b. Workflow runs in last 24h (precise window, not "last 5"):
gh api "repos/<REPO>/actions/runs?created=><SINCE>&per_page=100&exclude_pull_requests=true" \
--jq '{total_count, runs:[.workflow_runs[]|{name,status,conclusion,created_at,html_url}]}'
c. Cron-state from child:
gh api "repos/<REPO>/contents/memory/cron-state.json" --jq '.content' | base64 -d
Classify each instance with precise thresholds:
- unreachable — repo metadata call returned non-zero (404/403/etc.)
- archived — repo metadata returns
archived: true - pending_secrets —
runs.total_count == 0for the 24h window AND
Установить fleet-control в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл fleet-control?
Operate managed Aeon instances from memory/instances.json - health-check, dispatch, and status snapshots (control), plus a fleet scorecard of runs, tokens, cost, and reliability (scorecard).
Как установить скилл fleet-control?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fleet-control запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic