
Autopilot Loop
This is the orchestration layer for autonomous work sessions in Claude Code. It runs a continuous loop that checks task status, predicts the next best action, executes it (whether that's spawning an agent or editing code), then schedules itself to wake up in 270 seconds to do it again. The timing is deliberate: staying under the 300 second cache TTL keeps your prompt context warm between iterations. It pulls tasks from multiple sources including Claude's native TaskList, MCP task lists, and even markdown checkboxes in your project files. Useful when you want to kick off a development session and let Claude work through a backlog without manual intervention between each step.
- skills.sh installs
- 753
- GitHub stars
- 81.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add ruvnet/ruflo --skill autopilot-loop --agent claude-codeInstalls into .claude/skills of the current project.
Files
Run one autopilot iteration using Claude Code's native /loop:
- Check status:
mcp__plugin_ruflo-core_ruflo__autopilot_status - If all tasks complete or max iterations reached, call
mcp__plugin_ruflo-core_ruflo__autopilot_disableand stop - Get prediction:
mcp__plugin_ruflo-core_ruflo__autopilot_predictfor the optimal next action - Execute the predicted task (spawn agent, edit code, run tests, etc.)
- Log via
mcp__plugin_ruflo-core_ruflo__autopilot_log - Schedule next:
ScheduleWakeup({ delaySeconds: 270, reason: "next autopilot iteration" })
Cache-Aware Scheduling
Always use delay 270s (under 300s cache TTL) to keep the prompt cache warm between iterations.
Task Sources
Autopilot discovers tasks from:
- team-tasks: Claude Code TaskList entries
- swarm-tasks: MCP task_list entries
- file-checklist: Markdown checkbox items in tracked files
Configure: mcp__plugin_ruflo-core_ruflo__autopilot_config({ taskSources: ["team-tasks", "swarm-tasks"] })
Sponsors
Details
- Repository
- github.com/ruvnet/ruflo
- Category
- Automation & Workflows
- First seen
- Jun 3, 2026
More from ruvnet/ruflo
All 236- Diff Analyze753
- Research Synthesize752
- Vector Search752
- Ddd Aggregate751
- Memory Search751
- Dependency Check749
- Neural Train749
- Swarm Init749
- Security Scan748
- Cost Optimize747
- Horizon Track747
- Agentdb Query746
- Monitor Stream746
- Trader Backtest746
- Adr Review745
- Daa Agent745
- Loop Worker745
- Memory Bridge745
- Trader Signal745
- Autopilot Predict744
- Doc Gen744
- Safety Scan744
- Workflow Run744
- Chat Format743