본문으로 건너뛰기
cccskills
무료GitHub에 공개

fleet-manager

Manage Codewhale fleet runs by inspecting workers, the agents carrying out tasks, and reviewing logs and artifacts. Classify failures, choose a supported recovery action or draft a request for human review, and summarize evidence and follow-up ownership.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Use when managing, triaging, restarting, escalating, or summarizing Codewhale fleet runs and workers.

연동 도구Slack
설치 방법 보기

이럴 때 유용합니다

  • Checking workers in a Codewhale fleet run
  • Assessing whether a temporary failure warrants a restart
  • Resuming a run after a manager restart
  • Drafting a request for human review

포함된 파일(1)

  • SKILL.md4.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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

  1. 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.
  2. Inspect the worker with codewhale fleet inspect <worker-id> or the matching Runtime API worker endpoint (GET /v1/fleet/workers/{worker_id}).
  3. Review bounded evidence with 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.
  4. 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.
  5. 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.
  6. 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>

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

batch

무료

Split a large goal into clearly bounded tasks that can run in parallel. Coordinate existing agent and worktree tools, then combine and verify the results. The skill starts only when explicitly requested.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Splitting a large goal into parallel tasks
  • Coordinating work across multiple agents
  • Running tasks in separate worktrees
codewhale-hq/Codewhale4.1만2026년 10월 19일 업데이트

best-of-n

무료

Generate independent options for design, implementation, explanations, or debugging, then compare them using one shared rubric. Code candidates use separate working copies and undergo independent verification before a winner is presented for review.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Comparing several plausible design approaches
  • Evaluating independent implementations of the same task
  • Comparing explanations or debugging approaches
codewhale-hq/Codewhale4.1만2026년 10월 19일 업데이트

Check Codewhale release readiness through ordered tests, builds, version checks, and manual terminal checks. Record command results and observed behavior, including responsiveness, route isolation, and follow-up input handling, while explicitly identifying any skipped checks.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Run automated checks on the actual release branch
  • Check whether a PR merges into the release branch
  • Manually test terminal responsiveness and input behavior
codewhale-hq/Codewhale4.1만2026년 10월 19일 업데이트

Operate desktop apps and isolated browsers on registered computers by inspecting interface controls, entering information, and checking results. The skill also covers screenshots and recording, with separate routing for the user's signed-in Chrome through Chromewhale.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Entering information through a desktop app interface
  • Working in an isolated browser session
  • Capturing screenshots or recordings for a task
codewhale-hq/Codewhale4.1만2026년 10월 19일 업데이트

Check a local Codewhale checkout before contributing: inspect branch and sync status, build the CLI, and run the repository’s CI checks. Present recent commits and changelog entries from local files, with clear status for each step.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Checking a checkout before contributing
  • Reviewing local changes and sync status
  • Running the build and CI verification commands
codewhale-hq/Codewhale4.1만2026년 10월 19일 업데이트

Builds and installs Codewhale with a source revision identifier, then verifies the installed version in a fresh shell. It guides hands-on runtime checks for interface behavior, routing, approvals, and other changes that automated tests may miss.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Verifying terminal interface changes in the actual product
  • Installing and checking a local release build
  • Checking model routing and approval behavior
codewhale-hq/Codewhale4.1만2026년 10월 19일 업데이트

codewhale-hq의 스킬 모두 보기

이 스킬의 문제 신고