Autopilot Loop

作者 ruvnet60de638630ab无许可证74K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

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

AI 生成的概览

执行一次自主自动驾驶循环:检查状态、完成预测任务、记录日志并安排下次唤醒。

功能
该技能执行一次自动驾驶循环迭代。它会检查自动驾驶状态,在全部任务完成或达到最大迭代次数时停用并停止,获取最优下一步操作的预测,执行该任务,记录结果,并安排下一次唤醒。它还说明了缓存感知调度使用 270 秒延迟,并列出了团队任务、集群任务和 Markdown 清单等任务来源。
适用场景
当自动驾驶循环需要推进一次迭代时使用,例如从已配置的任务来源中选取下一个任务并保持循环运行。它适合重复性的自主进度检查,每次运行都以安排下一次唤醒结束。
运行要求
它依赖 Claude Code 原生的 /loop 和 ScheduleWakeup 工具,以及用于自动驾驶状态、预测、日志、进度、停用和配置的 MCP 工具。它不附带脚本,仅为指令。

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

来源与署名

来源:ruvnet/ruflo位于plugins/ruflo-autopilot/skills/autopilot-loop提交60de638

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架