fleet-manager
Skill5 starsChanged 17 days agoMITView on GitHub
Use when managing, triaging, restarting, escalating, or summarizing Codewhale fleet runs and workers.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- fagemx/eddatheir own version, first seen Sep 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- fagemx/edda★ 36same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository46 other files it gives its agents.
- batchSkill
- best-of-nSkill
- datavizSkill
- debugSkill
- delegateSkill
- dependency-updateSkill
- documentSkill
- documentsSkill
- docxSkill
- flightsSkill
- forgetSkill
- frontend-designSkill
- githubSkill
- gmailSkill
- goalsSkill
- google-calendarSkill
- handoffSkill
- helpSkill
- image-searchSkill
- implementSkill
- interviewSkill
- mcp-builderSkill
- mcp-discoverySkill
- moneySkill
- pdfSkill
- photosSkill
- planSkill
- plugin-creatorSkill
- podcastSkill
- pptxSkill
- presentationsSkill
- releaseSkill
- researchSkill
- reviewSkill
- security-reviewSkill
- shoppingSkill
- simplifySkill
- skill-creatorSkill
- skill-installerSkill
- spotifySkill
- spreadsheetsSkill
- testSkill
- ttsSkill
- verifySkill
- webapp-testingSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill when acting as a manager agent for Codewhale fleet runs.
- Very specific: line 16
Prefer typed fleet surfaces over shell spelunking: codewhale fleet status, inspect, logs, artifacts, interrupt, restart, resume, stop (stop …
- Very specific: line 19
Do not read .codewhale/fleet.jsonl, host logs, or remote files directly unless the typed command or API is missing required evidence.
- Distinctive: line 21
Do not send Slack, webhook, PagerDuty, email, or chat messages unless the user or run config explicitly authorizes sending.
- Distinctive: line 23
Never include secrets, tokens, webhook URLs, routing keys, full prompts, or oversized logs in a summary or escalation.
- Very specific: line 48
run has orphaned leases after a manager restart: codewhale fleet resume <run-id> (idempotent reconcile).
- Distinctive: line 67
no secret, permission, or destructive action boundary is involved, and
- Distinctive: line 82
Use this shape for Slack/PagerDuty drafts.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fleet Manager
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.
Authority Boundary
- Prefer typed fleet surfaces over shell spelunking:
codewhale fleet status,inspect,logs,artifacts,interrupt,restart,resume,stop(stop requires--all), and the Runtime API endpoints. - Do not read
.codewhale/fleet.jsonl, host logs, or remote files directly unless the typed command or API is missing required evidence. - Do not send Slack, webhook, PagerDuty, email, or chat messages unless the user or run config explicitly authorizes sending. Draft the message instead.
- Never include secrets, tokens, webhook URLs, routing keys, full prompts, or oversized logs in a summary or escalation.
Triage Loop
- Identify the run and worker from the user request, run receipt, or fleet
status output. If no worker is named, start with
codewhale fleet status. - Inspect the worker with
codewhale fleet inspect <worker-id>or the matching Runtime API worker endpoint (GET /v1/fleet/workers/{worker_id}). - Review bounded evidence with
codewhale fleet logs <worker-id>andcodewhale fleet artifacts <worker-id>, or the Runtime API equivalents (GET /v1/fleet/runs/{run_id}/receipts/{task_id}/evidenceandGET /v1/fleet/runs/{run_id}/events/replay). Summarize artifact refs, not full payloads. - Classify the state before acting:
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.
- Choose one typed action:
- run has orphaned leases after a manager restart:
codewhale fleet resume <run-id>(idempotent reconcile). - transient and retry budget remains:
codewhale fleet restart <worker-id>. - transient but unsafe to retry: draft escalation and mark needs-human.
- task failure: preserve artifacts, summarize the failure, and avoid restart unless the task spec says retrying can produce new evidence.
- verifier failure: inspect scorer inputs and artifacts, then escalate if the verifier cannot be corrected through a typed action.
- needs-human: do not restart automatically; draft a concise escalation.
- run has orphaned leases after a manager restart:
- Record the result in the response: classification, action taken or drafted, evidence commands, artifact refs, and next owner.
Restart vs Escalate
Restart only when all of these are true:
- the failure is likely transient,
- the task is idempotent or the run policy allows retry,
- retry budget remains,
- no secret, permission, or destructive action boundary is involved, and
- the previous attempt produced enough receipt data to explain the restart.
Escalate when any of these are true:
- restart budget is exhausted,
- the worker requests secrets or new authority,
- artifacts indicate data loss, corruption, or destructive side effects,
- the verifier and task result conflict in a way you cannot resolve from typed evidence,
- the same failure repeats after a restart, or
- a human product or release decision is required.
Safe Escalation Draft
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>Post-Run Receipt
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>Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

