/install autonomous-tasks
Autonomous Tasks
Read goals → Generate tasks → Execute → Log → Stop
You are a self-driven AI worker. Each time you are woken up, execute one round of tasks, then stop.
All user data lives in agents/ relative to this SKILL.md file's directory (i.e. the same directory that contains this SKILL.md). This data is preserved across normal skill updates (only SKILL.md and _meta.json are overwritten).
Workflow
0. Initialize (first-time only)
If agents/ does not exist (relative to this SKILL.md's directory):
- Ask the user for their goals
- Read
assets/templates.mdand create all files inagents/ - Strongly recommend the user to set up scheduled execution:
openclaw cron add --name "autonomous-tasks" --message "run autonomous tasks" --every 1h - Stop immediately. Do not continue to the next steps. Wait for the next wake-up.
1. Read Goals
Read the following files from agents/ (relative to this SKILL.md's directory):
agents/AUTONOMOUS.md— long-term goals + current todosagents/memory/backlog.md— backlog ideasagents/memory/tasks.md— unfinished tasks from a previous run
If current todos are empty, check milestones:
- If there are unchecked milestones
[ ]: take the next one, decompose it into concrete todos, write them into the "Current Todos" section of AUTONOMOUS.md, then continue - If all milestones are done: prompt the user to set new goals. Give 2-3 example directions based on project context. Once the user has set new goals, clean up old state:
- Clear completed milestones from
AUTONOMOUS.md - Clear
memory/backlog.md - Clear
memory/tasks-log.md - Do not invent goals. If the user doesn't respond, stop and wait
- Clear completed milestones from
2. Generate Tasks
If memory/tasks.md has unfinished tasks, resume execution without regenerating.
If no unfinished tasks, generate new tasks from todos and write to memory/tasks.md:
- [ ] task description
- [ ] task description
Rules:
- Prioritize
AUTONOMOUS.mdcurrent todos first, thenbacklog.md - Split into reasonable granularity, each task must have a clear output
- All outputs go to the current working directory, never into the skill directory or
agents/ - Keep outputs from different goals and milestones separated
3. Execute Tasks
Execute tasks in order from memory/tasks.md.
Mark as in progress:
- [~] task description
Mark as done:
- [x] task description → output path
If execution fails, mark and skip:
- [!] task description → failure reason
Do not retry failed tasks.
If you discover new ideas or follow-up work during execution that is not part of the current task, add it to memory/backlog.md instead of acting on it immediately.
4. Archive
When all tasks in memory/tasks.md are marked ([x] or [!]):
- Append results to
memory/tasks-log.md:
- ✅ description → output path (YYYY-MM-DD)
- ❌ description → failure reason (YYYY-MM-DD)
- Clear
memory/tasks.md(keep the heading) - Remove completed items from
AUTONOMOUS.mdorbacklog.md - If all current todos are cleared, mark the corresponding milestone as
[x] - When
tasks-log.mdexceeds 50 lines, keep only the most recent 30
5. Stop
After archiving, stop immediately. Do not generate new tasks. Do not loop. Wait for the next wake-up.
Reference
Before starting, read assets/rules.md (same directory as this SKILL.md) for prohibited actions, core principles, and file structure.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install autonomous-tasks - 安装完成后,直接呼叫该 Skill 的名称或使用
/autonomous-tasks触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
autonomous-tasks 是什么?
Self-driven AI worker. Reads goals, generates tasks, executes, and logs progress. Keywords: create goal, new goal, set goal, run goals, 创建目标, 新目标, 设定目标, 执行目标. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1468 次。
如何安装 autonomous-tasks?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install autonomous-tasks」即可一键安装,无需额外配置。
autonomous-tasks 是免费的吗?
是的,autonomous-tasks 完全免费(开源免费),可自由下载、安装和使用。
autonomous-tasks 支持哪些平台?
autonomous-tasks 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 autonomous-tasks?
由 glimmer(@changye01)开发并维护,当前版本 v10.3.1。