Search

PythonReactSEOPDF
OpenClaw

agent-autopilot

Self-driving agent workflow with heartbeat-driven task execution, day/night progress reports, and long-term memory consolidation. Integrates with todo-management for task tracking.

edoserbia0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install edoserbia/agent-autopilot

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Agent Autopilot

Sub-agent 自驱动工作流。让 agent 像项目经理一样自主推进项目:接任务 → 拆解 → 执行 → 汇报 → 循环。

依赖

  • todo-management skill(任务跟踪)

快速初始化

首次为某个 agent 配置自驱动时,运行初始化脚本:

bash {baseDir}/scripts/init.sh <agent工作空间路径>

示例:

bash {baseDir}/scripts/init.sh ~/.openclaw/workspace-wangyi

脚本会自动:

  • 创建 skills/ 和 memory/ 目录
  • 检查并安装 todo-management skill(从主工作空间或全局复制)
  • 初始化 report-state.json(定时任务状态跟踪)
  • 检查核心文件(IDENTITY.md、SOUL.md 等)是否存在

1. 定时任务总览

Agent 的所有行为由 heartbeat 驱动。每次 heartbeat(默认约 30 分钟)触发时,agent 按以下清单依次检查和执行:

HEARTBEAT 触发(每 ~30 分钟)
    ↓
┌─────────────────────────────────────────────┐
│ 定时任务 ①:自驱动执行循环(每次 heartbeat) │
│ → 检查 todo → 执行任务 → 记录结果           │
└─────────────────────────────────────────────┘
    ↓
┌─────────────────────────────────────────────┐
│ 定时任务 ②:进度汇报(白天每 N 小时)       │
│ → 检查距上次汇报的间隔 → 到了就汇报         │
└─────────────────────────────────────────────┘
    ↓
┌─────────────────────────────────────────────┐
│ 定时任务 ③:长期记忆维护(每 6 小时)        │
│ → 提炼日志到 MEMORY.md → 清理过时信息       │
└─────────────────────────────────────────────┘
定时任务清单
# 任务 频率 触发条件 说明
① 自驱动执行循环 每次 heartbeat(~30min) 每次都执行 检查 todo → 选任务 → 执行 → 记录
② 进度汇报 白天每 N 小时 距上次汇报 ≥ N 小时 白天定期汇报,夜间仅重大事件
③ 长期记忆维护 每 6 小时 距上次维护 ≥ 6 小时 提炼日志 → 更新 MEMORY.md

所有定时任务的状态通过 memory/report-state.json 跟踪,避免重复执行。


2. 定时任务 ①:自驱动执行循环

提示词

以下是写入 HEARTBEAT.md 的自驱动提示词模板:

## 定时任务 ① 自驱动执行循环(每次 heartbeat)

你是一个自驱动的项目经理。每次收到 heartbeat 时,立刻开始工作,...

Source information

Source
github
Repository
openclaw/skills
Path
skills/edoserbia/agent-autopilot
Version
—
Commit
59df393f17afebe846df55561056909e7c95a38a
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# Agent Autopilot

Sub-agent 自驱动工作流。让 agent 像项目经理一样自主推进项目:接任务 → 拆解 → 执行 → 汇报 → 循环。

## 依赖

- `todo-management` skill(任务跟踪)

## 快速初始化

首次为某个 agent 配置自驱动时,运行初始化脚本:

```bash
bash {baseDir}/scripts/init.sh <agent工作空间路径>
```

示例:
```bash
bash {baseDir}/scripts/init.sh ~/.openclaw/workspace-wangyi
```

脚本会自动:
- 创建 skills/ 和 memory/ 目录
- 检查并安装 todo-management skill(从主工作空间或全局复制)
- 初始化 report-state.json(定时任务状态跟踪)
- 检查核心文件(IDENTITY.md、SOUL.md 等)是否存在

---

## 1. 定时任务总览

Agent 的所有行为由 heartbeat 驱动。每次 heartbeat(默认约 30 分钟)触发时,agent 按以下清单依次检查和执行:

```
HEARTBEAT 触发(每 ~30 分钟)
    ↓
┌─────────────────────────────────────────────┐
│ 定时任务 ①:自驱动执行循环(每次 heartbeat) │
│ → 检查 todo → 执行任务 → 记录结果           │
└─────────────────────────────────────────────┘
    ↓
┌─────────────────────────────────────────────┐
│ 定时任务 ②:进度汇报(白天每 N 小时)       │
│ → 检查距上次汇报的间隔 → 到了就汇报         │
└─────────────────────────────────────────────┘
    ↓
┌─────────────────────────────────────────────┐
│ 定时任务 ③:长期记忆维护(每 6 小时)        │
│ → 提炼日志到 MEMORY.md → 清理过时信息       │
└─────────────────────────────────────────────┘
```

### 定时任务清单

| # | 任务 | 频率 | 触发条件 | 说明 |
|---|------|------|---------|------|
| ① | 自驱动执行循环 | 每次 heartbeat(~30min) | 每次都执行 | 检查 todo → 选任务 → 执行 → 记录 |
| ② | 进度汇报 | 白天每 N 小时 | 距上次汇报 ≥ N 小时 | 白天定期汇报,夜间仅重大事件 |
| ③ | 长期记忆维护 | 每 6 小时 | 距上次维护 ≥ 6 小时 | 提炼日志 → 更新 MEMORY.md |

所有定时任务的状态通过 `memory/report-state.json` 跟踪,避免重复执行。

---

## 2. 定时任务 ①:自驱动执行循环

### 提示词

以下是写入 HEARTBEAT.md 的自驱动提示词模板:

```markdown
## 定时任务 ① 自驱动执行循环(每次 heartbeat)

你是一个自驱动的项目经理。每次收到 heartbeat 时,立刻开始工作,...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance