plugins/ruflo-autopilot/README.md
Autonomous /loop-driven task completion with learning and prediction.
Combines Ruflo's 10 autopilot MCP tools with Claude Code's native /loop + ScheduleWakeup for persistent, cache-aware task completion loops.
/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-autopilot@ruflo
/loop drives iterative task completion/autopilot -- Enable, configure, or disable autopilot/autopilot-status -- Quick progress summaryautopilot-loop -- How to run an autopilot /loop iterationautopilot-predict -- Use learned patterns to pick the next task| Tool | Purpose |
|---|---|
autopilot_status | Current autopilot state + learning stats |
autopilot_enable | Turn autopilot on for the project |
autopilot_disable | Turn autopilot off |
autopilot_config | Read/update configuration |
autopilot_reset | Clear learned patterns and progress (testing) |
autopilot_log | Append a structured log entry |
autopilot_progress | Progress summary across team/swarm/file checklists |
autopilot_learn | Train on a completed task; writes to autopilot-patterns |
autopilot_history | Browse past iterations |
autopilot_predict | Predict the optimal next action from learned patterns |
All 10 are wired in v3/@claude-flow/cli/src/mcp-tools/autopilot-tools.ts.
@claude-flow/cli v3.6 major+minor.bash plugins/ruflo-autopilot/scripts/smoke.sh is the contract.Autopilot pairs with Claude Code's native /loop + ScheduleWakeup skills. The recommended fallback heartbeat is 270 seconds — under the 5-minute prompt-cache TTL so the next wake-up reads conversation context cached. Going past 300s pays a cache-miss; rounding to 5 minutes is the worst-of-both case.
For event-driven loops, arm a Monitor and let the 270s wake be the safety net.
This plugin owns the autopilot-patterns AgentDB namespace (kebab-case, follows the convention from ruflo-agentdb ADR-0001 §"Namespace convention"). Reserved namespaces (pattern, claude-memories, default) MUST NOT be shadowed.
autopilot_learn writes to this namespace via agentdb_pattern-store semantics — see ruflo-intelligence ADR-0001 for the 4-step pipeline this feeds (RETRIEVE → JUDGE → DISTILL → CONSOLIDATE).
bash plugins/ruflo-autopilot/scripts/smoke.sh
# Expected: "10 passed, 0 failed"