/prometheus-process-skills:kbd-new-phasefrom prometheus-process-skills
Manually create a new top-level KBD phase. Accepts <name> [goals…] and initialises the phase directory, waypoint, project.json activePhase, and fires phase:before. Use this when no prior reflection exists (e.g. very first phase of a new project), when pivoting away from /kbd-next-phase's suggestion, or when initialising state by hand.
Ships in prometheus-process-skills. 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.
Create a fresh top-level KBD phase from scratch — the manual-entry
counterpart to kbd-next-phase.
Before creating or entering a phase, the lifecycle script refreshes the latest
stable OpenSpec CLI and existing project integrations through the orchestrator’s
shared/openspec/cli.mjs. For direct prometheus kbd commands or harnesses without
hooks, first run node "<installed-orchestrator>/shared/openspec/cli.mjs" refresh --project "<project-root>" --timeout-ms 120000 as one command. Do not start the
phase when refresh reports an unresolved failure or pending update. Use its
run --project "<project-root>" -- <openspec arguments> interface for OpenSpec.
<name> plus zero or more [goals…]..kbd-orchestrator/phases/<name>/ already exists.completed, cancelled, or failed, starts exactly one operator-signed
successor run before creating the requested phase.goals.md + progress.json
atomically (temp file + mv).current-waypoint.json: previousPhase ← prior phase,
phase ← <name>, status ← assessment_ready, …; preserves unknown
fields untouched..kbd-orchestrator/project.json activePhase after canonical
activation, removes only legacy active_phase, and preserves unrelated
keys. If absent, bootstraps minimal project identity and active-phase metadata.shared/lib/hooks.sh and fires phase:before exactly once for
the new phase (best-effort — phase persists even if hooks subsystem is
unavailable).Run when any of:
reflection.md (kbd-next-phase is the auto-seed path).current-waypoint.json directly.Compare to kbd-next-phase, which reads reflection.md → "Recommended Next Phase" and auto-seeds the new phase from it.
Before any other action, emit:
Starting kbd-new-phase — <name>
When the new phase is ready, emit:
Completed kbd-new-phase — <name> ready for /kbd-assess
Emit to plain response text — no tool call needed.
.kbd-orchestrator/phases/.current-waypoint.json, if present, must be valid JSON. (If it is
malformed, fix it by hand before retrying; the skill refuses to write
on top of a corrupted waypoint to avoid compounding the corruption.)jq must be on PATH. (It's already a documented orchestrator
dependency.)Either invoke the helper script directly (single entry point, runs the whole workflow) or follow the step list below from inside an agent session:
"$KBD_ORCHESTRATOR_ROOT/skills/kbd-new-phase/kbd-new-phase.sh" <name> [goal-1] [goal-2] …
"$KBD_ORCHESTRATOR_ROOT/skills/kbd-new-phase/kbd-new-phase.sh" <name> \
--outcome-first --outcome "<the one user outcome this phase must prove>"
This scopes the phase to the smallest independently useful user outcome. The
flags are passed to prometheus kbd phase create, goals.md opens with the
outcome record to complete in Assess, and resume in that phase prefers eligible
pending work over blocked work. It needs the canonical runtime and writes
nothing when the runtime is unavailable. Phases created without the flag are
unchanged. When the operator has not scoped a new phase, propose this form and
let them decide. Rules: references/outcome-first.md.
Or, step-by-step:
$ARGUMENTS → name + goals[].name against ^[a-z0-9][a-z0-9._-]*$; refuse .., /..kbd-orchestrator/phases/<name>/ exists.prometheus kbd status --json. For
terminal lifecycle state, run prometheus kbd run start with a unique run
ID, a reason naming the prior run, and kbd-new-phase <name> as exact next
work. The CLI commits and projects the successor before releasing PAUSE.mkdir -p .kbd-orchestrator/phases/<name>.phases/<name>/goals.md atomically (# Goals heading + bullets,
or # Goals + TBD stub when no goals supplied).phases/<name>/progress.json atomically with the canonical field
set (see references/schemas/current-waypoint.template.json and the
"Nested phases" section of the orchestrator SKILL.md)..kbd-orchestrator/current-waypoint.json atomically. Existing
unknown fields pass through; if the file is malformed, abort with a
clear error and do not modify any on-disk state..kbd-orchestrator/project.json activePhase atomically, deleting
the legacy active_phase alias; warn and continue if the file is absent
(run kbd-init later).shared/lib/waypoint.sh and shared/lib/hooks.sh from
$KBD_ORCHESTRATOR_ROOT, then call
kbd_hooks_fire phase before "$name" 1 1. If the hooks subsystem is
unavailable, emit one stderr warning and continue.goals.md path, and
Next: /kbd-assess <name>./kbd-new-phase phase-1-foundation
/kbd-new-phase ux-refresh "polish dashboard" "ship dark mode" "audit a11y"
/kbd-new-phase ssed-followup-fixes
kbd-new-phase is a phase-bracket opening writer. It MUST fire
phase:before exactly once for the new phase, after the waypoint and
project.json flips, and before the Completed kbd-new-phase Progress
Signal — so any hook reading state sees the new phase as authoritative.
. "$KBD_ORCHESTRATOR_ROOT/shared/lib/waypoint.sh"
. "$KBD_ORCHESTRATOR_ROOT/shared/lib/hooks.sh"
# … validate, write phase dir, flip waypoint + project.json …
kbd_hooks_fire phase before "$name" 1 1
The terminal evaluator or guarded legacy transition delivers phase:after for the previous phase.
See orchestrator SKILL.md → "Hooks" for taxonomy and payload, and
references/schemas/current-waypoint.template.json for the canonical
field set written into progress.json and current-waypoint.json.
What SKILL.md sets; muted values are Claude Code's defaults
51 skills in this plugin
/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.
/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./agent-team-handoffPrepare and accept a durable handoff between agent roles or coding harnesses using task context, Git identity, evidence and memory references. Use when work must continue in another harness or agent; use agent-team-manage for ordinary same-owner task updates. Do not use for ordinary same-owner task updates (see agent-team-manage)./agent-team-manageManage an existing agent team's active task state: assign dependencies and owners, track evidence, cancel or reassign work, and reconcile KBD-linked completion. Use agent-team-creator for definition creation, versioned maintenance, native export, and UAR catalog deployment./agent-team-modelsDiscover configured models and choose explicit capability, strength and cost policies at team, role, skill and task levels. Use when selecting models or controlling an agent team budget; use agent-team-creator for role discovery. Unknown prices and capabilities remain unknown. Do not use for role selection (see agent-team-creator)./clone-skillClone an existing Agent Skill and adapt it for a new domain. Preserves architecture while replacing domain-specific content.Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-process-skills