/prometheus-skills-mini:kbd-bottleneck-detectorfrom prometheus-skills-mini
Evaluate or repair canonical KBD task, change and phase boundaries. Use when progress receipts, projections, or build gates may be stale, or when the user mentions "bottleneck detector". Also gives an advisory recommendation when the same blocker has stopped two completed attempts. Do NOT use for creating or advancing phases (see kbd-new-child and kbd-next-phase).
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.
Before running the detector, emit:
Starting kbd-bottleneck-detector — <status|evaluate|repair> <boundary>
After the detector returns, emit its actual outcome:
Completed kbd-bottleneck-detector — <pass|blocked|repaired|pending_review>
Use the boundary and outcome returned by the detector. A blocked or pending review result completes the detector operation without completing the boundary.
Run it directly:
node scripts/kbd-bottleneck-detector.mjs status
node scripts/kbd-bottleneck-detector.mjs evaluate task before <task-id>
node scripts/kbd-bottleneck-detector.mjs repair phase after <phase-id>
evaluate does not repair projections. repair may rewrite only derived KBD
waypoint, progress, and position projections; it must not change the canonical
revision. Treat blocked as a real lifecycle blocker and use the exact progress
signal returned by the command.
Diagnosing duplicate, missing, or out-of-order receipts, certification failures, or authority ambiguity: the canonical authority is the signed KBD event journal. Waypoint, progress, and position files are replayable projections and never prove completion by themselves.
before receipt opens one obligation keyed by boundary kind and
canonical subject. A duplicate start is blocked.after receipt closes that obligation. Missing or out-of-order
completion is blocked and records a typed blocker.guard evaluate --json returns outcome (pass, repaired, or blocked),
authoritativeRevision, position, findings, outstandingObligations,
exactSignal, repairedProjections, and receiptId. Surface exactSignal
verbatim, followed by Position: <position> @ revision <authoritativeRevision>.
status exposes the same folded obligations and latest receipt/gate summaries.
Ordinary evaluation is deterministic, local, and network-free. At phase or
child completion, on ambiguous canonical authority, or after the same violation
twice at one revision, load and run the installed adversarial-review skill.
advise needs no prometheus CLI, changes nothing and never stops or
cancels work. It reads attempt records you supply; it does not infer attempts
from logs.
node "<package-root>/scripts/kbd-bottleneck-detector.mjs" advise <attempts.json>
<package-root> is the directory the Mini package is installed in, not this
project's own scripts/ directory.
attempts.json is a list, oldest first:
[
{ "blocker": "release-signing", "completed": true, "waitingOnApproval": false, "evidence": "ci-run-812", "kind": "setup" },
{ "blocker": "release-signing", "completed": true, "waitingOnApproval": false, "evidence": "ci-run-812", "kind": "setup" }
]
completed is true only when the attempt ran to an end. A job that is still
running, or whose progress you cannot see, is not a completed attempt: do
not count it and do not stop it.waitingOnApproval marks an attempt held for an approval. A wait is not a
failed attempt, and no recommendation is issued while one is pending.evidence is a reference to what the attempt observed. A new value is new
evidence and resets the count.kind is what stands in the way: setup, measurement, authority or
architecture.After two completed attempts at the same blocker with no new evidence it recommends exactly one of:
| Kind | Recommendation |
|---|---|
setup | Bounded setup repair: fix the environment, fixture or tooling once, within a stated limit. |
measurement | Measurement repair: fix the check or oracle; do not change the product to satisfy it. |
authority (or kind not stated) | One exact authority handoff: one question or approval request to the person who decides. |
architecture | A scoped architecture child, opened through the existing child-phase path. |
When the result has no recommendation it carries guidance instead. Follow
it and add nothing of your own:
The recommendation is advice. It grants no authority, opens no child and approves nothing: act on it only through the existing scope, approval and child-phase paths. Report product failures and fixture or harness failures separately; a harness failure is not a product failure.
Never attach this detector to operator-requested Stop. Stop remains advisory and fail-open.
What SKILL.md sets; muted values are Claude Code's defaults
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).Other plugins' skills for the same job