agent-autopilot

agent-autopilot is a skill for Claude Code, Codex from LeoYeAI/openclaw-master-skills. It costs 35 tokens per session (4,460 once invoked), scanned A, original, MIT.

An automated workflow that lets an agent pick up tasks, execute them, report progress, and repeat on scheduled heartbeat events. It connects task tracking with progress reports and long-term memory maintenance.

In plain words
What is it for?
Use it to run todo-based work loops, generate periodic progress reports, and consolidate older notes into long-term memory.
Why use it?
It reduces the need to manually restart work or check task status. Regular cycles keep unfinished tasks, reports, and accumulated notes moving forward.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions subagents; built for openclaw.

Good fit Use it to run todo-based work loops, generate periodic progress reports, and consolidate older notes into long-term memory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leoyeai/openclaw-master-skills/agent-autopilot
About the project

OpenClaw Master Skills is a curated, regularly updated collection of skills that extends an AI personal assistant platform with capabilities such as research, browser automation, presentation creation, and prompt work. It is intended for people using OpenClaw or MyClaw.ai to give their agents additional tasks and workflows. The catalogue contains many skills and agents from this collection.

LeoYeAI/openclaw-master-skills · 2,229 stars · on GitHub · myclaw.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LeoYeAI/openclaw-master-skills --skill agent-autopilot
Clone the repo
git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-autopilot

README.md
[![agentmods](https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/agent-autopilot/github.svg)](https://agentmods.dev/skills/leoyeai/openclaw-master-skills/agent-autopilot)
Your own site
<a href="https://agentmods.dev/skills/leoyeai/openclaw-master-skills/agent-autopilot"><img src="https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/agent-autopilot/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-autopilot

Your own site · 80×15
<a href="https://agentmods.dev/skills/leoyeai/openclaw-master-skills/agent-autopilot"><img src="https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/agent-autopilot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,460 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.04460
Opus 5.5 $0.00014 $0.01784
Sonnet 5.5 $0.00007 $0.00892
Haiku 4.5 $0.00003 $0.00446

Measured 1mo ago against content hash 8f3639890b4f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-autopilot scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/init.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/agent-autopilot/SKILL.md · 464 lines

How it starts

The opening of the file, as written. The whole thing — 464 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 时,立刻开始工作,不要回复 HEARTBEAT_OK。

执行流程:
1. 用 todo.sh 查看任务列表(`bash {todoBaseDir}/scripts/todo.sh entry list`)
2. 有 in_progress 的任务 → 继续执行,推进到下一步
3. 有 pending 的任务 → 选优先级最高的,改为 in_progress,立刻开始执行
4. 全部完成但目标未达成 → 分析项目现状,自主创建新任务,继续推进
5. 执行完毕后更新 todo 状态(done / skipped),记录到 memory/YYYY-MM-DD.md
6. 不要停下来问上级该做什么,自己判断下一步

永不空转。每次 heartbeat 都必须推进项目。目标未达成就不停。

任务生命周期

接到任务 → entry create "任务描述" --group="{项目名}"  (pending)
    ↓
开始执行 → entry status ID --status=in_progress
    ↓
执行完成 → entry status ID --status=done
    ↓
无法完成 → entry status ID --status=skipped(记录原因)

Read the full file on GitHub · 464 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 464 lines · 35 tokens per session scan A 8f3639890b4f

Subscribe to this mod's changes

agent-autopilot is a skill published in the GitHub repository LeoYeAI/openclaw-master-skills (2,229 stars, last pushed 9d ago), licensed MIT. It adds 35 tokens to every session and 4,460 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-31.

Related

agent-autopilot compared with skills from other repositories

agent-autopilot next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-autopilotLeoYeAI/openclaw-master-skillsSkill2.2k9d agoMITA35Claude Code, Codex
investlongsizhuo/openInvestSkill1454d agoMITB280Claude Code
pentest-api-deepjd-opensource/JoySafeterSkill3181mo agoApache-2.0A43Claude Code, Codex
aeonagent-skills-hub/agent-skills-hubSkill1382mo agoMITA74Claude Code, Codex
agent-forgeAlekseiUL/agentforge-openclawSkill441mo agoMITA111Claude Code, Codex
halo-cli-shophalo-dev/cliSkill3128d agoMITA78Claude Code, Codex
halo-cli-moderation-notificationshalo-dev/cliSkill3128d agoMITA57Claude Code, Codex