omcustom-loop
Installation
SKILL.md
/omcustom:loop — Session Auto-Continuation
Overview
Prevents session idle when background subagents complete by using a SubagentStop prompt hook that nudges the orchestrator to check for pending workflow steps.
How It Works
- When a background subagent completes, Claude Code fires the
SubagentStopevent - The prompt hook injects a message asking the orchestrator to check for pending steps
- If pending steps exist, the orchestrator proceeds automatically
- If no pending steps, it reports results and waits for user input
Safety Limits
- 3 consecutive auto-continues max: After 3 automatic progressions without user interaction, the system pauses and asks the user before proceeding
- stuck-detector integration: If the same action repeats 3+ times, stuck-detector intervenes
- cost-cap-advisor: Cost monitoring continues during auto-continuation