/prometheus-skill-pack:iterative-evolverfrom prometheus-skill-pack
Domain-agnostic PMPO improvement loop: Assess -> Analyze -> Plan -> Execute -> Reflect over any subject (software, product, business, research, operations). Use when the user wants to improve or evolve something over repeated passes, asks "make this better", "iterate on this", "evolve this", or when a target needs assessing before changes are planned. Do NOT use for a single scoped code change (just make it), for standing always-on automation with termination criteria (see pmpo-outer-loop), or for gathering a missing fact mid-stage (see pmpo-elicit).
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.
A PMPO-driven, domain-agnostic iterative evolution engine. Assesses current state against goals, analyzes the competitive/external landscape, plans improvements, executes changes, and reflects on results — across any domain.
Every evolution cycle has a user-defined evolution name — a human-friendly identifier for cross-session retrieval:
/evolve "uar-api-improvement"
/evolve-status "q1-sales-strategy"
The name is the primary key. State is loaded by name at the start of every session, enabling:
State is persisted through a state provider abstraction. The skill automatically resolves the best available provider:
PriorityProviderWhen Used1User config$EVOLVER_PROVIDER_CONFIG env var or .evolver-provider.json2Surreal-Memorysurreal-memory MCP server detected — knowledge graph entities + TaskStreams3MCP toolAnother dedicated state MCP server is available4Agent memoryGeneric memory MCP server (e.g., basic-memory) is available5FilesystemAlways available — .evolver/ directory (default)
When surreal-memory is available, the evolver maps state to knowledge graph entities and TaskStreams for cross-session persistence, semantic search over prior evolutions, and Graph-RAG traversal. See shared/references/surreal-memory-integration.md for the entity mapping and references/state-management.md for the full provider architecture.
.evolver/
registry.json # Maps evolution_name → state path
evolutions/
{evolution_name}/
state.json # Current evolution state
checkpoints/ # Mid-session snapshots
history/ # Finalized iteration archives
External workflows can be triggered at lifecycle events without modifying the skill:
{
"event": "on_cycle_complete",
"action": { "type": "command", "target": "echo 'evolution cycle complete'" }
}
Under KBD/VLBV, a trigger never executes generated code (tests, builds, compiler
checks): those run only as boundary-packet entries at the value-phase boundary
(kbd-process-orchestrator/references/boundaries.md). Assess may read existing
boundary receipts; Execute changes code without running it.
See references/workflow-integration.md for trigger semantics.
The skill follows the Prometheus Meta-Prompting Orchestration loop adapted for iterative evolution. For full theory, see references/pmpo-theory.md.
uname -s before setup:
Darwin), use bash scripts/prometheus-services.sh doctor to inspect surreal-memory (:23001), prometheus-knowledge (:8942), and forge-rs (:8943). If pk-cherry or forge-rs are not loaded, run bash scripts/prometheus-services.sh install then bash scripts/prometheus-services.sh load as the logged-in user.scripts/state-resolve-provider.sh)scripts/state-init.sh)references/domain/{domain}.mdprompts/assess.md) — Evaluate current state against goalsprompts/analyze.md) — Scan external landscape, identify opportunities and threatsprompts/plan.md) — Create prioritized improvement planprompts/execute.md) — Apply changes using domain-appropriate tools
references/integrations/kbd-orchestrator.md for the delegation protocolprompts/reflect.md) — Measure movement, compare before/after, decide next steps
prompts/persist.md) — Write validated state via state providerAfter each phase: checkpoint + dispatch workflow triggers.
EVOLVER (strategic cycle)
Assess → Analyze → Plan ──────────────────────┐
│
Execute ────────────────────────────────────────┤
└─ KBD INNER LOOP (tactical cycle) │
├─ kbd-plan: decompose items → changes │
│ └─ OpenSpec detection (auto) │
├─ kbd-execute: multi-tool dispatch │
│ └─ artifact-refiner QA per change │
└─ kbd-reflect: aggregate → evolver │
│
Reflect ← results from KBD ────────────────────┘
└─ evolve-report: aggregate + refine via artifact-refiner
See references/integrations/kbd-orchestrator.md and references/integrations/artifact-refiner.md for full contracts.
file_system — Read/write state files, reports, plansweb_search or tavily — External landscape researchcode_interpreter — For domains requiring deterministic computationbrowser — For UI/web-based assessmentsequential_thinking — For complex multi-step reasoningmemory — For cross-session knowledge persistence (also serves as state provider)evolution_name: string # Human-friendly name for cross-session retrieval
evolution_domain: string # software | business | product | research | content | operations | compliance | generic
goals: array # What are we trying to achieve?
- description: string
priority: high | medium | low
measurable_criteria: optional string
constraints: optional array # Boundaries and requirements
target_state:
description: string # Where do we want to be?
current_state: optional object # Where are we now? (auto-assessed if omitted)
context:
project_path: optional string # For software domains
documents: optional array # Reference documents
prior_assessments: optional array # Previous evolution cycle reports
workflow_triggers: optional array # External workflows to fire at lifecycle events
assessment_report: object # Structured assessment of current state
analysis_report: object # Landscape analysis with findings
improvement_plan: object # Prioritized action items
execution_results: object # What was done, what succeeded/failed
reflection_report: object # Delta analysis, goal tracking, lessons
evolution_state: object # Full state manifest (validated against schema)
generated_reports: array # Written to output directory
State must never rely on conversational context. The state provider handles persistence:
evolution_state — Full state manifest with name, provider, triggers, checkpointsassessment — Latest assessment resultsanalysis — Latest landscape analysisplan — Current improvement planevolution_log — Iteration history and decisionsdecisions — Convergence rationale and approval recordsreports/ — Generated assessment and reflection reportscheckpoints/ — Mid-session snapshots for crash recoveryhistory/ — Finalized iteration archivesEvolution cycle ends when:
On termination, state is finalized and archived. Re-running with the same evolution_name starts a new cycle seeded from the finalized end-state.
max_iterations guardDomain-specific evolution knowledge lives in references/domain/:
DomainReferenceSoftwarereferences/domain/software.mdBusinessreferences/domain/business.mdProductreferences/domain/product.mdResearchreferences/domain/research.mdContentreferences/domain/content.mdOperationsreferences/domain/operations.mdCompliancereferences/domain/compliance.mdGenericreferences/domain/generic.md
When .kbd-orchestrator/phases/<current>/evolver-bridge.json exists, the
evolver's Execute phase must propagate per-change results back through the
bridge so the outer Reflect phase can compute accurate per-item completion.
After each change completes, append to execution_results[] in evolver-bridge.json:
{
"change_id": "change-slli-XXX",
"evolver_item_id": "evolver-item-N",
"status": "completed | skipped | failed",
"completed_at": "ISO8601"
}
The evolver_item_id comes from item_to_change_map in the same bridge file
(key = evolver item id, value = array of change ids it maps to).
Bridge file location: .kbd-orchestrator/phases/<phase>/evolver-bridge.json
Bridge file schema: see references/schemas/evolver-bridge.schema.json (canonical)
and .kbd-orchestrator/changes/change-slli-007-evolver-bridge-integration/bridge-schema.md
(human-readable narrative).
When no bridge file exists: execute as normal — no write-back required.
Use domain-specific slash commands or the universal entry point:
/evolve — Full evolution cycle (auto-detects or prompts for domain)/evolve-assess — Assess current state only/evolve-analyze — Landscape analysis only/evolve-plan — Create improvement plan from existing data/evolve-execute — Execute an existing plan/evolve-status — Check current evolution cycle status/evolve-report — Generate report from current stateAGENTS.md (opens in a new tab)CLAUDE.md (opens in a new tab)README.md (opens in a new tab)agents/analyst.md (opens in a new tab)agents/assessor.md (opens in a new tab)agents/executor.md (opens in a new tab)agents/planner.md (opens in a new tab)agents/reflector.md (opens in a new tab)hooks/hooks.json (opens in a new tab)prompts/analyze.md (opens in a new tab)prompts/assess.md (opens in a new tab)prompts/execute.md (opens in a new tab)prompts/meta-controller.md (opens in a new tab)prompts/persist.md (opens in a new tab)prompts/plan.md (opens in a new tab)prompts/reflect.md (opens in a new tab)references/domain/business.md (opens in a new tab)references/domain/compliance.md (opens in a new tab)references/domain/content.md (opens in a new tab)references/domain/generic.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-skill-pack218 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.Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026