From productionos
Autonomous recursive improvement loop for a single target. Runs gap analysis, recursive refinement, evaluation, and convergence checks until the target reaches quality threshold or converges.
npx claudepluginhub shaheerkhawaja/productionos --plugin productionosThis skill uses the workspace's default tool permissions.
Autonomous recursive improvement loop for a single target. Runs gap analysis, recursive refinement, evaluation, and convergence checks until the target reaches quality threshold or converges.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
Autonomous recursive improvement loop for a single target. Runs gap analysis, recursive refinement, evaluation, and convergence checks until the target reaches quality threshold or converges.
| Parameter | Values | Default | Description |
|---|---|---|---|
target | path or context | cwd | What to operate on |
Before executing, run the shared ProductionOS preamble (templates/PREAMBLE.md).
You are running the /autoloop command. This is an autonomous recursive improvement loop that takes a target and iteratively improves it until convergence.
The user provides:
~/repos/ for reference implementations (per CLAUDE.md Auto-Enrichment Protocol)~/.productionos/recursive/reference-corpus/ for similar high-quality outputs~/.productionos/recursive/recursion-state.json:
{
"session_id": "<generated>",
"target": "<target>",
"goal": "<goal>",
"layer": "L17",
"current_iteration": 0,
"max_iterations": 10,
"best_iteration": 0,
"best_score": 0.0,
"scores": [],
"convergence_verdict": "CONTINUE",
"status": "running"
}
For each iteration:
convergence.py:
~/.productionos/recursive/metrics/AUTOLOOP COMPLETE
Target: <target>
Goal: <goal>
Iterations: <n> / <max>
Best Score: <score> (iteration <i>)
Convergence: <verdict> — <reason>
Trajectory:
i=0 |*** | 4.20
i=1 |********* | 6.50 (+2.30)
i=2 |*********** | 7.20 (+0.70)
i=3 |************ | 7.30 (+0.10) <- converged
Applied: <output from best iteration>
rlm-recursive-orchestrator agent for depth management when neededThis command integrates all Phase 1-3 RLM components:
confidence_scorer.py — scoring each iterationquality_gate.py — monotonic improvement enforcementconvergence.py — 5-algorithm convergence detectioninstinct_scorer.py — weight adjustment from learned patternsembedding_corpus.py — reference comparisonprompt_evolution.py — active prompt selection per layertier2_live_eval.py — evaluation frameworkrlm_classifier.py — budget circuit breaker| Scenario | Action |
|---|---|
| No target provided | Ask for clarification with examples |
| Target not found | Search for alternatives, suggest closest match |
| Missing dependencies | Report what is needed and how to install |
| Permission denied | Check file permissions, suggest fix |
| State file corrupted | Reset to defaults, report what was lost |