with one click
run
Execute plan tasks autonomously until completion
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Execute plan tasks autonomously until completion
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | run |
| description | Execute plan tasks autonomously until completion |
| when_to_use | Executing a prepared devloop plan autonomously |
| argument-hint | [--max-iterations N] [--interactive] [--next-issue] |
| allowed-tools | ["Read","Write","Edit","Grep","Glob","Bash","Bash(${CLAUDE_PLUGIN_ROOT}/scripts/*.sh:*)","Monitor","Agent","AskUserQuestion","TaskCreate","TaskUpdate","TaskList","Skill"] |
Execute plan tasks autonomously. Do the work directly.
Bash hygiene: prefer quiet flags to minimize output (npm install --silent, git status -sb, pipe long output through | tail -n 20).
Monitor for long commands: Use Monitor (not Bash) for test suites, builds, and full-codebase linting to stream output in real-time. Use Bash for all short commands (git ops, ls, devloop scripts).
Long-running commands that warrant Monitor:
npm test, pytest, go test ./..., cargo test, make test, jest, vitest, mochanpm run build, make, cargo build, go build, tsc, webpack, vite build, gradle, mvneslint ., ruff check ., pylint src/, golangci-lint runMonitor pattern (always include failure patterns in the filter):
Monitor({ description: "test run", command: "npm test 2>&1 | grep --line-buffered -E 'PASS|FAIL|Error|passed|failed'", timeout_ms: 300000, persistent: false })
Fallback: if Monitor errors or is unavailable, use Bash directly.
Run ${CLAUDE_PLUGIN_ROOT}/scripts/check-plan-complete.sh .devloop/plan.md.
/devloop:plan) and STOP.--max-iterations N: Default 50.--interactive: Prompt at each task.--next-issue: Jump to Step 2b (Issue-to-ship workflow).gh issue list..devloop/plan.md with required frontmatter (title, issue, url, status).Closes #N.If .devloop/next-action.json exists, load and resume.
Unless --interactive, create .claude/ralph-loop.local.md with iteration limits and completion promise: <promise>ALL PLAN TASKS COMPLETE</promise>.
Optional: Sync plan to native tasks with ${CLAUDE_PLUGIN_ROOT}/scripts/sync-plan-to-tasks.sh.
Read plan, find all - [ ] tasks.
Scan pending tasks for [parallel:X] markers. If multiple pending tasks share the same group letter, they can run concurrently.
Parse the [model:X] annotation from each task line:
[model:haiku]: Spawn Agent with model: "haiku" — use for simple/mechanical tasks[model:sonnet]: Spawn Agent with model: "sonnet" — use for complex reasoning tasksFor parallel groups: Spawn one Agent per task in the group simultaneously (multiple Agent calls in a single message). Each agent receives the task description, phase context, and relevant files.
For sequential tasks (no parallel marker, or all group members not yet pending): Process one at a time.
Agent spawn pattern:
Prompt caching: Put STATIC content first (identical across spawns → cached), DYNAMIC content last (varies per task → not cached). This maximizes cache hits when multiple agents are spawned in the same session.
Agent:
model: "haiku" # or "sonnet" per [model:X] annotation
prompt: |
Instructions: Implement the task below. Do NOT modify plan.md or commit.
Phase: [phase name]
[STATIC: any shared project conventions or plan-level context here]
Task: [description]
Context: [relevant files and conventions -- dynamic, task-specific]
[x] in plan.md.completed.<promise>ALL PLAN TASKS COMPLETE</promise>.auto_commit: true, commit at phase boundaries.AskUserQuestion: Ship it, Archive, or Review.
Now: Check plan state and begin.
Create or update the project security baseline, profile, suppressions file, and gitignore entries for security scans
Fix or guide remediation for a specific security finding from the latest scan report
Run a security assessment using deterministic static analysis tools with LLM-powered triage
Inspect and optionally install security scanning tools for the security plugin
Query ctx memory and inject results into context
Show ctx memory status (node counts, types, tiers, tokens)