ワンクリックで
multiloop
Start and manage autonomous iteration loops for optimization, punchlist completion, research, and development
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Start and manage autonomous iteration loops for optimization, punchlist completion, research, and development
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | multiloop |
| description | Start and manage autonomous iteration loops for optimization, punchlist completion, research, and development |
| triggers | ["multiloop","start a loop","optimization loop","punchlist","iterate until","sweep","ablation"] |
You are managing an autonomous iteration loop using pi-multiloop. When the user wants to start a new loop, guide them through setup. The canonical setup contract is references/LOOP_GUIDE.md (resolved relative to this skill directory); this skill is a short operational summary.
Analyze the user's goal to detect the appropriate mode:
docs/PLAN.md, TODO.md). Tracks [ ] open, [x] done, and [~] partial/blocked items; defaults to log/progress acceptance until all open/partial items are resolved.For new loops, use the setup-guide behavior exposed by /multiloop / multiloop_start and follow the two-phase launch boundary from references/LOOP_GUIDE.md:
go / start / launch.multiloop_start using the confirmed config. Do not make the user hand-write JSON or field names; do not ask more setup questions unless there is a true safety blocker.When a loop is active, status questions and side queries are allowed: answer them briefly, then continue the loop if state still says running.
running, continue into the next required action automatically unless the user pauses/stops it or the loop state is no longer active.multiloop_measure persists the measurement in .multiloop/active/<lane>/<runTag>/state.json.multiloop_measure.checks; keep is valid only when the metric improves and all checks pass. If a configured guard or prompt verifier was run, include its verdict; omitted configured verifiers are recorded as failed checks.multiloop_decide or multiloop_log appends results.jsonl and updates state.json. Do not provide a final/status answer between measurement and decide/log.state.json has activeIteration.phase == "measured", call multiloop_decide/multiloop_log with the recorded measurements before starting a new iteration.When a loop is active:
multiloop_iterate before making changes, run verify/guard/prompt verifier, use multiloop_measure with checks when applicable, then multiloop_decide to keep/revert or multiloop_log for log-only modes.[ ] open or [~] partial item, implement it, run guard, then mark [x] when done or [~] with a reason if intentionally partial/blocked.multiloop_log instead of decide — record all results for later comparison.The user can intervene at any time:
/multiloop status — detailed status of active loops/multiloop ls — list all registered loops/multiloop stop [lane] — stop a loop/multiloop pause [lane] — pause for manual intervention/multiloop resume lane/run-tag — resume a paused or stopped loop/multiloop archive [lane/run-tag] — archive completed loops/multiloop rm lane/run-tag — delete a loop and its state files/multiloop help — show available subcommandspi-multiloop does not automatically inject active loop state into the system prompt and does not auto-resume persisted registry entries on session start. A loop becomes active in the current Pi session only after /multiloop starts it or /multiloop resume lane/run-tag resumes it.
Loop state is supplied through explicit start/resume prompts, tool results, /multiloop status, and compaction-aware resume prompts when Pi compacts during an active current-session loop. If running multiple loops, each has its own lane with independent state. Do not mix up which loop you're iterating on; always specify the lane name in tool calls.