Use when managing, triaging, restarting, escalating, or summarizing Codewhale fleet runs and workers.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-fleet-manager-a76c276fa4eb ,按照其中的说明把「fleet-manager」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Use this skill when acting as a manager agent for Codewhale fleet runs. Your job is to classify worker state, choose the narrowest safe typed action, and leave a ledgered receipt or a safe escalation draft.
codewhale fleet status,
inspect, logs, artifacts, interrupt, restart, resume, stop
(stop requires --all), and the Runtime API endpoints..codewhale/fleet.jsonl, host logs, or remote files directly
unless the typed command or API is missing required evidence.codewhale fleet status.codewhale fleet inspect <worker-id> or the
matching Runtime API worker endpoint (GET /v1/fleet/workers/{worker_id}).codewhale fleet logs <worker-id> and
codewhale fleet artifacts <worker-id>, or the Runtime API equivalents
(GET /v1/fleet/runs/{run_id}/receipts/{task_id}/evidence and
GET /v1/fleet/runs/{run_id}/events/replay). Summarize artifact refs,
not full payloads.transient failure: transport error, timeout, stale heartbeat, host
unavailable, or retryable provider/network failure.task failure: worker completed the task but the result is wrong,
missing required artifacts, or reports a domain error.verifier failure: scorer/verifier failed or disagrees with the worker
result.needs-human: missing authority, unsafe secret boundary, destructive
action, repeated restart exhaustion, ambiguous product decision, or
conflict between artifacts and verifier.codewhale fleet resume <run-id> (idempotent reconcile).codewhale fleet restart <worker-id>.Restart only when all of these are true:
Escalate when any of these are true:
Use this shape for Slack/PagerDuty drafts. Keep logs to three short lines or an artifact ref.
Codewhale fleet needs attention
Run: <run-id>
Worker: <worker-id>
Task: <task-id or unknown>
Classification: <transient failure | task failure | verifier failure | needs-human>
Reason: <one sentence, no secrets>
Latest typed evidence: codewhale fleet inspect <worker-id>; codewhale fleet artifacts <worker-id>
Safe log excerpt: <3 lines max or "see artifact <ref>">
Requested decision: <restart approval | verifier review | task owner review | permission decision>
End every Fleet Manager response with a compact receipt:
Fleet receipt
Run: <run-id>
Workers checked: <count/list>
Classification: <state>
Action: <restart/interrupt/stop/resume/escalation draft/no-op>
Ledger expectation: <typed action should be recorded | draft only, no send>
Artifacts reviewed: <refs>
Follow-up owner: <manager | task owner | human>