Autopilot loop

From ruvnet/ruflo · View interactive version

Autopilot loop is an AI agent skill from the GitHub repository ruvnet/ruflo. Run an autonomous /loop iteration -- check progress, work on next task, schedule next wake

How to use this skill

Skill file

Run one autopilot iteration using Claude Code's native /loop:

  1. Check status: mcp__plugin_ruflo-core_ruflo__autopilot_status
  2. If all tasks complete or max iterations reached, call mcp__plugin_ruflo-core_ruflo__autopilot_disable and stop
  3. Get prediction: mcp__plugin_ruflo-core_ruflo__autopilot_predict for the optimal next action
  4. Execute the predicted task (spawn agent, edit code, run tests, etc.)
  5. Log via mcp__plugin_ruflo-core_ruflo__autopilot_log
  6. 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:

Configure: mcp__plugin_ruflo-core_ruflo__autopilot_config({ taskSources: ["team-tasks", "swarm-tasks"] })

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.