Skip to content
ruvnet avatar

Autopilot Loop

Runs one autonomous /loop iteration that checks progress, works the next task, and schedules the next wake.

CCM score
65 of 100
skills.sh installs
753
GitHub stars
82.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers a single autopilot cycle: status check, predicted next action, execution, logging, and rescheduling
  • Includes stop logic that disables autopilot once all tasks finish or the max iteration count is reached
  • Enforces a 270-second wake delay, under the 300-second cache TTL, to keep the prompt cache warm between iterations
  • Discovers work from team-tasks, swarm-tasks, and file-checklist sources, configurable through autopilot_config

Install

$ npx -y skills add ruvnet/ruflo --skill autopilot-loop -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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:

  • 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"] })

Details

Repository
github.com/ruvnet/ruflo
Categories
Agent Workflow & Planning, Workflow Automation
First seen
Jun 3, 2026

Questions

What does the autopilot-loop skill do?

autopilot-loop runs one autonomous iteration of Claude Code's native /loop. It checks autopilot status, gets a prediction for the next action, executes that task, logs the result and schedules the next wake-up after 270 seconds.

How do I install the autopilot-loop skill?

Run npx -y skills add ruvnet/ruflo --skill autopilot-loop -y in your project. Once installed, autopilot-loop lets the agent loop through tasks found in team-tasks, swarm-tasks and file-checklist sources.

Where does autopilot-loop find the tasks it works on?

autopilot-loop discovers tasks from Claude Code TaskList entries, MCP task_list entries and Markdown checkbox items in tracked files. You can choose the sources with the autopilot_config tool using a taskSources list.

Which other skills sit alongside autopilot-loop in Agent Workflow & Planning?

autopilot-loop is in the Agent Workflow & Planning category with grill-me, grill-with-docs, setup-matt-pocock-skills, grilling and prototype. Its own focus is running the autonomous loop that schedules its next iteration.

Why does autopilot-loop schedule its next wake-up at 270 seconds?

autopilot-loop uses a 270-second delay so it stays under the 300-second prompt cache TTL. That keeps the prompt cache warm between iterations of the loop.

More from ruvnet/ruflo

All 236

Similar to Autopilot Loop

More Agent Workflow & Planning