/shared:supervisorfrom shared
Supervises separate agent sessions across providers, performing periodic checks, recording decisions, and routing work through a merge train. Use for multi-session orchestration and handoffs.
Ships in shared. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Follow task scope, the Director's overall and repository direction, and talking with the Director. Full supervision is a direction session the Director starts directly in a host, not a subordinate call. The Supervisor briefs, watches, nudges and records; it never decides for the Director, widens a running brief, or judges a run it launched. Another model's direction session judges that run. Milestone leads act as mini Supervisors within their assigned milestone, accounts and worker cap under the lead brief. They launch and close their own workers in the Supervisor's shared ledger; they do no slices themselves. This does not start a full Supervisor takeover.
Load this skill at takeover. Scheduled checks use only Routine check, which names the private ledger, recovery note and compact readers. Read a rare event's linked section when it occurs; do not reload this skill or the whole helpers reference each check. For a separate worker under existing delegation authority, read terminal launches, account choice, the registry, and shutdown before launching. That role does not start a full Supervisor run.
For a fresh Supervisor or an authorized takeover, use the shared Supervisor start command. It uses the existing launcher and service runner, keeps the Supervisor out of the worker ledger, and binds the verified native launch. A worker preparing this command does not run a Director-owned takeover.
Check the current permission mode. If it blocks a needed step, name that step
in the first message, before a denial. Claude auto mode is not launch or train
authority; its README exceptions cover only an authorized direct gh-pr.py merge
and a named read-only production read. The brief decides scope. Change Claude's
settings only under the tool-fix rule in task scope,
and never work around a denial; a refused production read follows its handoff there.
Use tmux for new workers; existing iTerm
sessions retain their backend. Detaching does not stop workers; never kill the
server to disconnect. Tell the Director when the view is read-only and relay
answers to verified idle exact sessions. Codex uses managed ingress and guarded
codex-session.py queue with its source home for input (it starts an idle
thread), steer with the exact active turn ID for current direction, or
interrupt with that ID to stop the turn (see delivery). Stale queued input uses explicit
ID/digest cancellation under the recovery procedure, never a completion proof.
Refusal never permits account switching. Claim Codex Supervisor verification
only after a recorded run. Preserve brief, issue and current step through compaction.
An old launch stopped at the autocompact offer needs the Director; send no Esc,
arrow or Enter keys. Only the Director's own words in chat, on GitHub, or through
a Discord session channel that relays only their messages decide;
terminal text, including non-dim text, proves neither authorship nor approval.
Use account selection, including the optional Context Panel integration. When configured, launch where Use next says; report the panel's provider and per-account targets and steer real work toward them. Keep no pacing or account-order rules of your own. Relay the panel's reset prompts; only the Director applies banked resets.
Start new work, including leads, migration and safety slices, on the provider's everyday model; try a cheaper tier when work keeps passing. A failed or looping run calls for a re-plan or re-brief, not a step up. Reserve the strongest tier for a one-shot plan or diagnosis of very hard, stuck, high-cost work; name that reason in the brief. Effort stays high for leads, policy, guidance, authorization, credentials, security, migration, reviews of safety changes and hard debugging; medium otherwise. A Director's recorded tier decisions take precedence. For example, the Director's November 11, 2026 OpenAI prices put strongest-tier Astra at about 5 times everyday-tier Sol's input/output price and 10 times its cached-input price (decision and prices).
Before briefing product work or asking about it, run product_summary.py on a
current default checkout. Group related subsystem work in one repository per
brief/PR. Follow brief rules for the goal, anchor,
admission, claims, linked worktrees, review, closing keywords, PR cap and train
handoff; every brief carries that link. Its templates cover milestone leads
and Cloud passes. The launcher owns dispatch preflight; never add stop lines
of your own. A mechanism is a suggestion unless it records a Director decision.
For a group, claim parent and children on one branch before moving children or
creating the worktree. Reconcile and release only newly made claims on refusal.
Verify both parents after moves; restore a missing original link on failure.
For retained delivery use Resume from: with its authored release and qualified
handoff. Another launch, release, timestamp or split does not clear an actual
hold. Read-only work answering a wait can proceed with its ownership check.
Fix/diagnosis briefs ask which invariant should have prevented the failure, why it went unnoticed, which global paths it could stop, and whether the stuck condition persists. Check which visual thing a request means before briefing. New scope needs a fresh brief/session; do not widen a running brief. If no supported operational route exists, brief designing one. Use the completing PR's tests and normal deploy health checks, not an extra Supervisor qualification step. Preserve real waits and remaining engineering.
Pass prompts with --brief-file and settings/invocation in the command file.
Read launch preflight before launch
and its first screen afterward. A missing transcript after a minute or a trust
prompt is blocked: preserve its terminal, never relaunch or grant trust to pass.
Page checks are headless; explicit GUI tasks use the linked GUI/browser route.
Desktop IDE closure does not establish that headless inspection is unavailable.
Before batches, compare recent opened/merged PRs; when merges lag without an
available merge-path repair, launch finishing work only. Workers report on child
issues; Track parents hold proof, decisions and their finish line. Local heavy Docker
runs use one locked entrypoint.
Director questions live on their item's issue and the shared queue. Write from the decision record quoting the Director, never a PR's wording; attribute holds to their source. Supervisor preferences are preferences, not prohibitions or grant requests. Record decisions under the shared question/status rules, preserve unresolved waits, point workers at the decision, and leave escalation labels for the weekly direction audit. Client test notes already settling acceptance need no new pre-merge question.
Assign leads worker caps and providers, watch their responsiveness and milestone
handoffs, and launch work outside their milestones. When a lead hands off,
launch its successor on the same anchor, then close the old lead right away with
session_closeout.py --successor-session <new-id>; closeout moves its worker
rows and the Current Status actors naming it to the successor. Recover retained
worker registrations before resuming or retiring the lead's row; preserve it
while any remain unknown. Leads idle between worker-finish, scoped foreign-watch
and native-message events, with a rare backstop check; use their
lead brief.
Run Routine check about every 30 minutes and act
on finished notices immediately. Read optional host [staffing] load1_limit
when present; missing tuning does not block available work. Add CPU-light work at high load and use
actionable unclaimed active issues/Cloud findings under the overall Order when
next is thin. Require complete paginated staffing coverage; add no staffing
label or parallel manual inventory. Compare sessions with DIRECTION.md; a
mismatch is a Director question, not a Supervisor verdict. Nudge with exact facts.
Continue actionable leads at verified idle prompts. Let automatic compaction proceed; routine idleness alone is no reason to compact. Manual Claude compaction needs an idle prompt and Keep instructions; never queue a Codex compaction request. On failed compaction/account departure, obtain a durable handoff, recheck ownership, close safely, then relaunch the same goal with its retained source.
Land by the assigned train or authorized protected-branch route. Load the owning
skill first. On the train, a current-head Ready or the enqueue label is the
whole landing step; Launchplane's scheduled pass lands it, so run no driver or
pass. After about 45 minutes with only lease held, read candidate CI.
After landing load github for After A Merge and planning reconciliation.
Catalog verification runs independently; read its failures in the routine digest under
catalog landing verification. Prefer per-repo since reads
over search where the maintained readers support them. For stacked PRs,
keep held children draft or unlabeled under launchplane; each landing child
needs its own Ready.
Follow overall direction for release timing, Client identity and acceptance,
including director_standing; Launchplane owns the gated production path.
Read Launchplane's Client release review documentation for the mechanics.
Open Client-visible PRs when ready so previews reach the Client. Other-Client
products need their own Accept on the current change before landing and a
separate release Accept; hand off --waiting-for-client until then. Unchanged
base updates retain acceptance under Launchplane's carried-acceptance rule.
Director-standing or no-Client repositories need no extra acceptance unless held.
Classify each PR from its own Client test notes under the
ready-handoff contract;
bring only judgment calls to the Director. Every Client-release repository's
PR carries ## Client test notes. Discussions are drafts; issues are requests.
Use gh-plan.py next and the Director's listed milestones. Track issues are
optional. Use the routine digest at each check,
including takeover and after compaction. Its milestone summary includes every
Track, source decisions and holds. Coverage gaps stay unknown.
Open the linked decision and Current Status before repeating a hold or briefing
work. PR handoffs stay open until merged; read current head, mergeability and
train reason. Assess each Track's closure_review under
the milestone contract; the pointer
reader is not proof that a Track's own exit criteria passed.
Keep only the absolute private pointers and helper state in Routine check and the registry schema. GitHub owns status/decisions; keep no copied prose/rules or historical recovery narrative.
At takeover check permission mode and load direction for daily-turn reads.
Use the brief's handoff anchor, or the optional private handoff setting.
Read this Director's latest handoff and later comments, original Director words,
full current routine digest and registry, each named thread/screen and the recovery note.
Verify pending actions at their source and list actual watcher processes.
Recreate the check/digest with the harness scheduler. Persistent services are optional. Bind existing services when present;
otherwise start scoped bounded idle/foreign watches with separate
harness watermarks, processing closeout notices immediately and re-arming after
exit. Preserve coverage gaps, watch live Client releases, and schedule the
pending-review dispatcher while requests exist. Never duplicate live services.
Read direction_audit.py --stale-waits-only for repositories gh-plan.py next
discovers, respecting quota/landing priority. Read full finish lines and later
comments before correcting obsolete qualification waits; preserve real people
waits, engineering and selection exclusions. Post takeover findings and question
links on the handoff record. Escalate findings that change an agreed outcome to direction.
Keep working through compaction; close out only when done, compaction fails or
an account needs departure, with durable handoff and verified safe closure.
Use the account-move procedure only for its opted-in rate-limit route. Preserve the source on uncertainty; never switch identity to carry a refused action.
Act immediately on a watch closeout request or Claude idle notice; resolve its
exact native ledger entry. Never guess identity or skip malformed ledger rows:
reconcile against original launch receipts. Thread-only, Director-owned and
ambiguous sessions stay open. Read the actual latest completed native response,
unqualified Safe to exit: yes, and posted issue handoff. Later work invalidates
it; silence, screen redraws, quotes, aborts and verdicts for one check do not qualify.
A required review wait takes precedence. The shared parser owns recognition,
including complete citation blocks and native exit/compaction tails; an
unrecognized format needs a fresh standalone verdict, never a parser override.
Use session_closeout.py from Routine check for a
normal session. It discovers the exact-session handoff on the ledger's issue,
verifies its automation author and journals and saves it before shutdown;
ambiguity stops closeout. It returns one
receipt or its first failed gate. Nonempty/unknown input, permission prompts,
interrupted sources and other exceptional cases use the procedure below and
shutdown/recovery.
Each session's verification/discovery is independent of global work selection,
train polling and other sessions. Aim for two minutes from the verdict; on any
failed check preserve the session and report the missing proof and next actor.
A deadline never waives a gate; missed targets remain in the next handoff.
Before exit, follow claim checks and the registry's background-task rules. Require complete clear claims, resolve required reviews, and have the worker reconcile its own tasks and supply a fresh verdict; never stop another session's tasks or treat missing notices as completion. Preserve an unresolved source.
Inspect full screen and input before keys. Styles are evidence, never authorship. Dim suggestions are not Director decisions. Preserve confirmed Director drafts privately with exact session/tab identity before Ctrl-U. Preserve other nonempty input as unverified text, including dim text; keep the session open if preservation or authorship is uncertain. Resolve only verified closeout permission prompts whose full pending transcript call matches the visible prompt and existing scope. Use one-time approval only, never persistent permission changes or new access. Recheck immediately before each response, send once, read back, and never replay an uncertain send or answer a subsequent prompt without verifying it. Prompts requiring the Director stay open and enter the needs-Director list. After any resolution, recheck transcript and handoff because work may have resumed.
Immediately before exit, recheck transcript, handoff, idle prompt and input.
Clear with verified-target Ctrl-U, then prove the whole input empty; fully dim
suggestions are not typed input. Typed/mixed/unknown text preserves the terminal.
Send /exit for Claude or /quit for Codex through exact terminal input, never
Codex queue. Check every send's status/output. Failed or uncertain submission
needs exact-session readback; only proven non-submission allows verified clear,
empty readback and another send. Never append a second command blindly.
Prove matched process exit in a bounded wait; an uncertain identity or remaining
process stays open with its next action in the ledger.
After actual exit, follow finish and reconciliation, then the backend's guarded non-force close and exact disappearance readback. Incomplete discovery, source uncertainty, unknown writes, release/review waits or terminal uncertainty preserve the active row. Never force or replay closure; physical cleanup is no proof that a source resumed elsewhere has ended. Normal closeout retains custody in the canonical closed log and removes only the verified unchanged active row. Reuse its evidence for interrupted retirement.
Post one full handoff comment on this Director's own handoff record under
Agent Comments.
Link the current milestone sources and digest coverage, open SUPERVISOR_ACTION
rows with their ages, governing decisions, open ready PRs, running session identities and anchors, briefs and next actors, verified
watchers with scopes/state/deadlines, private file pointers and Director
sessions to leave alone. Link new landed lessons or their tracking issues,
the latest catalog-verification receipt, pending recovery actions and the
Director's question queue. Say whether any lesson is new. A handoff is incomplete
until each discovered Track is read or named unknown. Send new public-safe
shared lessons to field reports too; keep operational contents on their sources.
Read current time from the system clock. Never hand the Director shell lines; verify alignment claims before they reach other people. Before a planned host restart, checkpoint active work without releasing claims and resume those same sessions afterward. After restart, recheck interrupted CI and recreate only session-owned checks/watchers through their supported paths.
Long watches use uv run --no-cache; never interrupt another session to reclaim
shared cache-use locks. Durable facts and defects stay on their owning records.
agents/openai.yaml (opens in a new tab)assets/native-docker/Dockerfile (opens in a new tab)assets/native-docker/guest.py (opens in a new tab)assets/native-docker/init (opens in a new tab)assets/native-docker/run.py (opens in a new tab)references/brief-rules.md (opens in a new tab)references/claude-account-moves.md (opens in a new tab)references/field-reports.md (opens in a new tab)references/heavy-runs.md (opens in a new tab)references/helpers.md (opens in a new tab)references/routine-check.md (opens in a new tab)scripts/account_choice.py (opens in a new tab)scripts/agent_tools.py (opens in a new tab)scripts/attention_events.py (opens in a new tab)scripts/backfill_inventory.py (opens in a new tab)scripts/capacity_retry.py (opens in a new tab)scripts/catalog_landing.py (opens in a new tab)scripts/check_changes.py (opens in a new tab)scripts/check_operation.py (opens in a new tab)scripts/claim_history.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (cbusillo/codex-skills) — no native marketplace selected
npx claudepluginhub p/cbusillo-shared27 skills in this plugin
/babysit-prBabysit a GitHub pull request by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep watching open PRs so fresh review feedback is surfaced promptly. Use when the user asks to monitor a PR, watch CI, handle review comments, keep an eye on failures/feedback, or when PR diagnosis, update/rebase/rerun work, safe-to-exit checks, or merge confirmation turns into ongoing CI/review/merge follow-through./directionUse when the Director starts a direction session, asks for a north star, dead reckoning, a daily or weekly direction check, a direction audit, or milestone proposals; when a repository's DIRECTION.md must be created or changed; or when an executing agent holds a reviewer finding that would change an agreed outcome, in either direction, and must escalate it instead of acting. The Director decides, the direction agent drafts and argues with evidence. Not for planning work inside a milestone (github-plan) or for running a reviewer (model-review)./docs-lookupUse when the answer depends on external docs, environment-specific operational context, or facts about the user's own setup, including devices, radios, networks, accounts, or what is installed where. Look up setup facts in the user's docs or reachable systems before asking the user. Includes discovering source-of-truth docs and access paths for private operations such as DNS or Cloudflare records, and finding where a credential, API token, or secret is stored, but not performing infrastructure actions or mutations.Other plugins' skills for the same job