Skip to main content
AI/MLruvnet

autopilot-predict

Use learned patterns and current state to predict the optimal next action

Stars
56,726
Source
ruvnet/claude-flow
Updated
2026-05-31
Slug
ruvnet--claude-flow--autopilot-predict
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/ruvnet/claude-flow/HEAD/plugins/ruflo-autopilot/skills/autopilot-predict/SKILL.md -o .claude/skills/autopilot-predict.md

Drops the SKILL.md into .claude/skills/autopilot-predict.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Predict what to work on next using Ruflo autopilot intelligence:

  1. Call mcp__claude-flow__autopilot_predict for the recommended next action
  2. If confidence > 0.7, execute the prediction directly
  3. If confidence < 0.7, check mcp__claude-flow__autopilot_progress for task breakdown
  4. Pick the highest-priority incomplete task
  5. After completing work, call mcp__claude-flow__autopilot_learn to update patterns

Learning Pipeline

  • mcp__claude-flow__autopilot_learn -- discover success patterns from completed tasks
  • mcp__claude-flow__autopilot_history({ query: "KEYWORD" }) -- search past completions
  • Patterns are stored in AgentDB for cross-session recall

Integration with /loop

When running inside a /loop, the predict skill guides each iteration:

  • High confidence prediction -> execute immediately
  • Low confidence -> fall back to task list priority order
  • No tasks remaining -> disable autopilot and exit loop