Skip to content
Development
Skill

/autopilot-loop

Run an autonomous /loop iteration -- check progress, work on next task, schedule next wake

From plugin
claude-flow
67k200 skills157 agents194 commands1 MCP
Install
$ npx -y skills add ruvnet/ruflo --skill autopilot-loop --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/autopilot-loop

Context preview

The summary Claude sees to decide when to auto-load this skill.

Run an autonomous /loop iteration -- check progress, work on next task, schedule next wake

SKILL.md

autopilot-loop.SKILL.md
name: autopilot-loop
description: Run an autonomous /loop iteration -- check progress, work on next task, schedule next wake
argument-hint: ""
allowed-tools: mcp__plugin_ruflo-core_ruflo__autopilot_status mcp__plugin_ruflo-core_ruflo__autopilot_predict mcp__plugin_ruflo-core_ruflo__autopilot_log mcp__plugin_ruflo-core_ruflo__autopilot_progress mcp__plugin_ruflo-core_ruflo__autopilot_disable ScheduleWakeup Agent

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

Read more
Ships withclaude-flow

An agent meta-harness for Claude Code and Codex. Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work.

Get the whole plugin

Other skills on claude-flow.