/prometheus-skill-pack:kbd-handoff --to <harness> [--phase <name>] [--dry-run]from prometheus-skill-pack
Hand the active KBD phase to another harness (Claude Code, Codex, Kimi Code or OpenCode) by writing one read-only handoff packet with position, repository state, files to read, rules and a start prompt. Use when work moves from one harness to another mid-phase. Lease-free: it never edits progress.json or the waypoint. Do NOT use for stage handoffs between assess, plan and execute (see kbd-process-orchestrator) or to pause a run (see kbd-pause).
Ships in prometheus-skill-pack. 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.
Prepare another harness to continue the active KBD phase. The skill reads canonical state, refuses when a boundary is half-closed, checks that the target harness can run the KBD skills, and writes one packet the operator pastes into the target harness.
KBD has no writer lease. The append-only journal lock serializes each
prometheus kbd command, so a handoff moves no ownership: the sending harness
stops issuing commands and the receiving harness verifies state and continues.
This skill never calls a lease command and never edits progress.json,
current-waypoint.json, position.json or task checkboxes.
The script prints both signals; relay them verbatim:
Starting kbd-handoff — <phase> to <harness>
Completed kbd-handoff — <phase> packet <path>
A dry run ends with Completed kbd-handoff — <phase> dry run (no packet written).
A refusal prints no Completed signal.
"$KBD_ORCHESTRATOR_ROOT/skills/kbd-handoff/kbd-handoff.sh" --to kimi-code
"$KBD_ORCHESTRATOR_ROOT/skills/kbd-handoff/kbd-handoff.sh" --to codex --phase agent-backend-settings --dry-run
"$KBD_ORCHESTRATOR_ROOT/skills/kbd-handoff/kbd-handoff.sh" --to claude-code --repo ../ipfs-webui
| Argument | Meaning |
|---|---|
--to <harness> | Required. One of claude-code, codex, kimi-code, opencode (aliases claude, kimi). Anything else exits 2. |
--phase <name> | Phase to hand off. Default: the deepest existing node of the waypoint path. |
--repo <path> | Extra repository to report (repeatable), e.g. a fork the phase also edits. |
--dry-run | Print the packet and the paths it would write; write nothing. |
Run it under a timeout with stdin closed, as every KBD command:
timeout 120 kbd-handoff.sh --to kimi-code </dev/null. External commands
inside the script are bounded by KBD_HANDOFF_TIMEOUT (default 30 seconds).
prometheus kbd --path <root> status --json: revision, plan revision,
lifecycle, active path, boundaryObligations, blockers, decisions..kbd-orchestrator/current-waypoint.json and position-reminder.txt.progress.json (completion.implementation is the N of T
counter), and plan.md, assessment.md, execution.md when present.AGENTS.md (hard rules), .prometheus/gotchas.md, and
.agent-team/project-routing.json with its team manifest.git state of the project and every --repo.~/<harness skills dir>.| Condition | Result |
|---|---|
Open task obligation (begin without end) | Refuse, exit 1, print the repair command (see below). |
Open change or phase obligation the runtime marks complete or does not know (an interrupted close) | Refuse, exit 1, print the repair command. |
| Open obligation on the active phase path, or on the active change while it is not complete | Ignored; these stay open while the work runs. |
Open change or phase obligation outside the active position, started and not finished | Warn as carried work; the packet lists it. |
| No phase, or no phase directory | Refuse, exit 1. |
No .kbd-orchestrator/ | Refuse, exit 1; run kbd-init. |
prometheus kbd status fails | Fall back to the projections; warn, and the packet records that obligations were not checked. |
| Dirty or unpushed worktree, no upstream | Warn and list the entries; the packet records them. |
The repair command for each open obligation, with its own boundary and subject:
timeout 30 prometheus kbd --path <root> guard evaluate --boundary <boundary> \
--edge after --subject <subject> --json --repair-projections </dev/null
~/<skills dir>/kbd-* entry must resolve. A dangling symlink, such as
a kbd-handoff link left from the removed lease skill, is reported as
broken with its target. Missing kbd-apply, kbd-status or
kbd-process-orchestrator is reported too..claude/agents/<role>.md,
.codex/agents/<role_with_underscores>.toml, .kimi-code/agents/<role>.md
or .opencode/agents/<role>.md. Missing files are listed.Findings are warnings, not refusals: they land in "Open prerequisites" for the operator to decide.
.kbd-orchestrator/phases/<phase>/harness-handoffs/<harness>-<UTC>.md
.kbd-orchestrator/phases/<phase>/harness-handoffs/<harness>-<UTC>.json
harness-handoffs/ is separate from handoffs/, which holds stage handoffs
under their own schema. The JSON sidecar follows
references/schemas/harness-handoff.schema.json. Both files are written
atomically. Packet sections:
| Section | Content |
|---|---|
| Position | Phase, stage, lifecycle, implementation N of T, next change and task, operator note, revisions |
| Repositories | Branch, head, clean or dirty, pushed or unpushed |
| Read in order | The packet, AGENTS.md, .prometheus/gotchas.md, plan.md, assessment.md, execution.md, openspec/changes/<next change> (only files that exist) |
| Pending operator gates and decisions | Plan sections whose headings name gates or decisions, open runtime decisions and blockers |
| Task execution rules | kbd-apply begin-task/end-task, timeouts, boundary repair, no projection edits |
| Never do | Bullets quoted from AGENTS.md sections on hard rules (never invented) |
| Target harness readiness | Skill and role-definition checks |
| Open prerequisites | Every warning |
| Start prompt | The exact text to paste into the target harness |
The script prints the start prompt after the Completed signal.
The sending harness stops issuing KBD commands. The operator pastes the start
prompt into the target harness, which reads the packet, runs
prometheus kbd status --json, and confirms the position before any work.
See references/cross-tool-handoff.md for the transition protocol.
| Code | Meaning |
|---|---|
| 0 | Packet written, or dry run printed |
| 1 | Refused (precondition) or write failure |
| 2 | Usage error or unknown harness; jq missing |
Before dependent work, run node shared/method-context.mjs --project <project-root> --phase <canonical-phase-id> --write from the resolved orchestrator root (or read the phase-local method-context.md when Node is unavailable) and act on its status:
RESOLVED_REFERENCES — continue with the recovered method, contract and stage authority; preserve the same references in role inputs, dispatch and handoff read order.BLOCKED — the contract, its binding, a calibration reference, a supersession or a deviation's cadence/reason is missing or changed; resolve it explicitly. Prior commands, memory and tool inventories are not fresh authority.CONFLICT — a governing rule file the active harness loads grants an exception VLBV forbids (for example a compiler check during generation). Stop before dependent work and show the conflict; continue only after the operator records a KBD-POLICY-ACK decision for that file's current hash. Never rewrite operator-owned policy, and never treat an exception as authority for tests, builds, dry-runs or generated-code verification.VLBV is the method for every phase (project default verificationMethod: "VLBV"); a deviation exists only as a signed KBD-METHOD decision naming the method, its execution cadence and its reason, and it is disclosed in the closure packet. Define acceptance before generation; generated code executes only at the value-phase boundary (B4) and, after an authorized repair, at B5 — see references/boundaries.md. Tasks, hours, commits, reviewer requests and compiler problems create no boundary. Preserve original evidence, consumed budgets and unresolved effects across resume and supersession; reconcile an uncertain effect before any retry. Full rules: references/method-context.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-skill-pack2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026
218 skills in this plugin
/actor-modelTokio-native actor model pattern for Prometheus AGS projects. Implements actors as tokio tasks communicating via mpsc channels with a typed message enum, enabling safe concurrent state management without shared locks. Used in UAR session management, pk-librarian event broadcasting, and parking-lot scheduler design. Use when a component needs to own state exclusively while serving concurrent callers.
/adversarial-reviewIsolated, cross-model adversarial review of KBD artifacts and change diffs. Dispatches a fresh-context LLM judge over an OpenAI-compatible REST gateway (openai-proxy or `liter-llm api`) with an explicit mandate to find problems — the model that produced an artifact or change is never the model that reviews it. Runs as a pipeline stage inside kbd-assess/analyze/plan (artifact mode) and kbd-execute's single phase-boundary QA step (diff mode, once over the whole phase diff). Findings are severity-bucketed (CRITICAL/WARNING/SUGGESTION) and the judge's own report is screened by sycophancy-correction before it is surfaced.
Other plugins' skills for the same job
/agent-team-creatorCreate, revise, package, and deploy agent-team definitions with staged questions and native exports for UAR, Codex, Claude Code, Copilot, Kimi Code, MiniMax CLI, OpenCode and DeepSeek. Use for team definition and catalog lifecycle; use agent-team-manage for active runtime task state.