/prometheus-skill-pack:pmpo-outer-loopfrom prometheus-skill-pack
Defines a standing outer loop — goal, feedback sources, termination criteria — that repeatedly drives PMPO/KBD cycles and only escalates at declared decision points. Use when the user wants work to keep running unattended, mentions "outer loop", "standing loop", "run until", "autonomous loop", or asks to be interrupted only at specific checkpoints. Do NOT use for one bounded improvement pass (see iterative-evolver) or for the tactical per-change KBD cycle (see kbd-process-orchestrator).
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; scripts run unread.
Write a loop instead of prompting each step. "I don't prompt Claude anymore; I have loops running — my job is to write loops." You define the goal, the feedback sources, and when to stop; the framework runs cycles and pings you only at decision points.
This is a thin standing wrapper over the existing iterative-evolver — it adds no new loop engine and runs no daemon. One tick = one evolver cycle (which itself composes kbd-analyze research and the KBD execute loop).
/loop-define <name>Interactively (via /pmpo-elicit) build the loop definition and write it to
.kbd-orchestrator/loops/<name>/loop.json (schema:
references/schemas/loop-definition.schema.json): goal + measurable_criteria,
feedback_sources (command / gh-query / file / url), termination (max_ticks,
max_no_progress_ticks, budget), escalation_points, cadence, and the backing
evolution_name.
Perspective field: loop.json accepts an optional perspective field
(competitive | trend | unique-product | idea-validation | self-learning | auto,
default "auto"). When set, each /loop-tick passes --perspective <value> to
the pmpo-evolver, pinning that tick's evolution to the named perspective rather
than letting the strategy router decide. Use "auto" for normal multi-perspective
cycling; set an explicit perspective when the loop is purpose-built for a specific
research direction (e.g., "competitive" for a release-tracking loop).
/loop-tick <name>Run exactly one cycle:
loop.json and the last journal.md entry.feedback_source and interpret it.goal.measurable_criteria:
/loop-report.max_no_progress_ticks reached → escalate via
/pmpo-elicit (continue / re-plan / stop) — a declared decision point.
See Stall/regression escalation below./evolve "<evolution_name>" cycle.journal.md entry + a decision-log.md entry (dual format).cadence.mode == cron, the scheduled agent re-invokes; if background,
re-arm a background task; if manual, stop and wait for the next call./loop-report <name>Render journal.md: a dense tick table on top, a narrative per tick below
(serves both advanced and beginner readers).
/loop-tick when you choose.claude -p "/loop-tick <name>".This skill implements only the tick; the cadence is whichever platform primitive you wire to it.
FIRST tool call of every turn: Read .kbd-orchestrator/position-reminder.txt (if it exists). If absent, read .kbd-orchestrator/current-waypoint.json.
Before any other action, emit to plain response text (BEFORE any tool call):
Starting pmpo-outer-loop — <name> tick <N>
When the tick (or define/report) completes, emit:
Completed pmpo-outer-loop — <name> tick <N> (<continue|escalate|terminate>)
Emit to plain response text — no tool call needed.
Full schema: references/schemas/loop-definition.schema.json
Human-readable guide: references/loop-schema.md
scripts/loop-tick.sh — bash implementation of a tick:
loop.json, evaluates feedback sourcescurrent_tick, appends journal.mdThe loop never runs unbounded: max_ticks is a hard ceiling,
max_no_progress_ticks (default 2) escalates on a stall, and budget
bounds per-tick wall time. Every escalation routes through /pmpo-elicit, so
the human is consulted with a concrete decision, never left guessing.
See skills/process/pmpo-elicit/references/escalation-points.md for the
platform routing table and async checkpoint contract.
When max_no_progress_ticks is reached or a regression is detected:
Construct the elicitation:
question: "Loop <name> stalled after <N> ticks with no progress. How should we proceed?"options: ["Continue — run another tick", "Re-plan — revise the evolution goal", "Stop — terminate loop and write final report"]context: "Last tick delta vs measurable_criteria: <diff>"criticality: blockingcaller: pmpo-outer-loop/loop-tickOn Claude Code — use AskUserQuestion with the three options. Record choice
in loops/<name>/journal.md latest entry as escalation_result.
On other platforms — call pmpo-elicit-checkpoint.sh:
bash "${CLAUDE_PLUGIN_ROOT}/skills/process/pmpo-elicit/scripts/pmpo-elicit-checkpoint.sh" \
".kbd-orchestrator/loops/<name>/elicitations/pmpo-outer-loop-$(date +%s)" \
"Loop '<name>' stalled after <N> ticks. How to proceed?" \
"blocking" "pmpo-outer-loop/loop-tick" \
"continue" "replan" "stop"
Set loop.json → status = "paused-escalation". On resume, call pmpo-elicit-resume.sh.
Outcome logic:
no_progress_ticks to 0, run next tick./pmpo-elicit again for the new goal text, update loop.json → goal,
reset counters, continue./loop-report, set loop.json → status = "terminated-by-operator".Record in decision-log.md:
### <timestamp> — Loop stall escalation
Loop: <name> | Ticks stalled: <N>
Decision: <continue|replan|stop> | Provenance: <user|implicit>
Elicitation ID: <id>
/loop-define ship-auth # interactively define the loop
/loop-tick ship-auth # run one cycle
/loop-report ship-auth # see where it stands
/loop-tick → /evolve (one cycle) → which runs kbd-analyze (research) and the KBD assess→…→reflect loop.
Escalations and missing information route through /pmpo-elicit. The loop is
the outermost layer; everything else composes beneath it.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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.
/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.