/prometheus-skills-mini:kbd-analyzefrom prometheus-skills-mini
Use to run the Analyze stage of the KBD lifecycle (between Assess and Spec) — research the engineering landscape (existing open-source libraries, frameworks, skeletons that fit the assessed gaps, plus stack discovery when none is specified) and write the candidate set that the Spec and Plan stages consume.
Ships in prometheus-skills-mini. 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.
None: SKILL.md is the whole skill.
Run the Analyze phase of the KBD lifecycle — between Assess and Spec.
Turns the assessment's gaps and unknowns into researched, evidence-backed
build-vs-adopt decisions before any spec is written. This is the engineering
counterpart to an outer evolution loop's business-landscape Analyze: KBD
Analyze researches libraries/frameworks/skeletons and writes its findings into
.kbd-orchestrator/.
Outputs to .kbd-orchestrator/phases/<phase>/:
analysis.md — narrative: landscape, candidate evaluation, build-vs-adopt
calls, open questions.library-candidates.json — machine contract for Spec/Plan.stack-recommendation.md — only in stack-discovery mode.decision-log.md.gh search repos/code → existing frameworks, skeletons.npm view / cargo search / PyPI) → maintenance health.Hard budget: 8 queries per tier, 20 minutes total. On a cap, stop and report partial findings with lowered confidence — never loop to chase completeness.
stack-recommendation.md, then research candidates against the pick. A
contested choice (score gap < 15%) is flagged for the user in analysis.md
and the decision log — never silently pick a contested stack; ask the
operator directly (e.g. with AskUserQuestion on Claude Code) rather than
through a separate elicitation subsystem this project does not carry.Record in decision-log.md on resolution:
### <timestamp> — Contested stack choice
Options: <A> vs <B> | Score gap: <N>%
Decision: <chosen> | Provenance: <user|research|implicit>
For phases that need no external research:
/kbd-analyze --skip "<reason>"
writes a skip handoff so the Spec gate passes deliberately rather than by drift — see "Stage gate & handoff" below.
FIRST tool call of every turn: Read .kbd-orchestrator/position-reminder.txt (if it exists) to get the current phase, step N of T, and next command. If that file is absent, read .kbd-orchestrator/current-waypoint.json.
Before any other action, emit to plain response text (BEFORE any tool call):
Starting kbd-analyze — <phase-name> (step N of T)
When the candidate set is written (or the stage is skipped), emit:
Completed kbd-analyze — <phase-name> (step N of T)
How to get N and T (MANDATORY — never estimate): read
completion.implementation.completed/.total from progress.json via
implementationCompleted(progress)/implementationTotal(progress)
(lib/kbd/progress.mjs), falling back to current-waypoint.json's
implementationCompleted/implementationTotal when progress.json is
absent.
Use the canonical phase name from the argument or current-waypoint.json. Emit to plain response text — no tool call needed.
current-waypoint.json.stageGate('analyze', { cwd }) from lib/kbd/stage-gate.mjs
(requires the assess handoff).assessment.md; prior-context.md (memory recall) and an
ideation mindmap id when greenfield.analysis.md, library-candidates.json,
stack-recommendation.md (discovery mode), decision-log.md.adversarial-review is installed and
--skip-adversarial-review was not passed, run it in artifact mode against
analysis.md + library-candidates.json. CRITICAL findings → revise and
re-vet (max 2 rounds, then accept with an "Unresolved review findings"
section appended). WARNING findings → carry into the handoff.Fires analyze:before / analyze:after via hooksFire('analyze', 'before'|'after', name, index, total, ctx)
from lib/kbd/hooks.mjs (analyze is a recognized kind in its event
normalization). See the parent kbd-process-orchestrator skill's "Hooks"
section for the full taxonomy.
import { hooksFire } from '../../lib/kbd/hooks.mjs';
await hooksFire('analyze', 'before', phase, 1, 1, { orchestratorRoot, cwd, runCommand });
// … run pipeline, write artifacts, run adversarial vet …
await hooksFire('analyze', 'after', phase, 1, 1, { orchestratorRoot, cwd, runCommand });
import { stageGate, stageHandoffWrite, stageHandoffSkip } from '../../lib/kbd/stage-gate.mjs';
const gate = stageGate('analyze', { cwd });
if (gate.status !== 0) throw new Error(gate.stderr);
// … pipeline, artifacts, adversarial vet …
stageHandoffWrite(
'analyze',
'<candidate count, key adopt verdicts, open questions; include any WARNING findings from adversarial review>',
['analysis.md', 'library-candidates.json'],
{ cwd },
);
For --skip "<reason>", call stageHandoffSkip('analyze', reason, { cwd })
instead of stageHandoffWrite — analyze is one of stageGate's two OPTIONAL
stages, so a later stage's gate walks back past a missing/skipped analyze
handoff instead of failing.
/kbd-analyze # uses active waypoint phase
/kbd-analyze canonical-lifecycle # explicit phase
/kbd-analyze --skip "no external deps needed this phase"
Each build-vs-adopt decision must state its effect on phase readiness: which
contract section it satisfies, and whether the phase can reach READY
(the package-root readiness command in kbd-execute) without new
runtime code. Close analysis.md with an explicit READY to spec / BLOCKED
recommendation; BLOCKED names the minimal missing items. Do not run broad
external research when the operator has ruled current inputs sufficient.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub prometheus-ags/prometheus-skills-mini --plugin prometheus-skills-mini106 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 per-change QA gate (diff mode). 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)./android-compose-adaptiveInstructions to make or update an app's UI so that it adapts to different Android devices including phones, tablets, foldables, laptops, desktop, TV, Auto and XR. It includes how to handle different window sizes, pointing devices (such as mouse) and text entry devices (such as keyboard) using the Compose MediaQuery API. It also covers multi-pane layouts using Navigation3 Scenes, adaptive UI components (such as buttons) with varying target sizes, and adaptive layouts (including navigation areas - nav rails and nav bars) using the Compose Grid and FlexBox APIs.