Install
openclaw skills install autonomous-tasksSelf-driven AI worker. Reads goals, generates tasks, executes, and logs progress. Keywords: create goal, new goal, set goal, run goals, 创建目标, 新目标, 设定目标, 执行目标.
openclaw skills install autonomous-tasksRead 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).
If agents/ does not exist (relative to this SKILL.md's directory):
assets/templates.md and create all files in agents/openclaw cron add --name "autonomous-tasks" --message "run autonomous tasks" --every 1h
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 runIf current todos are empty, check milestones:
[ ]: take the next one, decompose it into concrete todos, write them into the "Current Todos" section of AUTONOMOUS.md, then continueAUTONOMOUS.mdmemory/backlog.mdmemory/tasks-log.mdIf 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:
AUTONOMOUS.md current todos first, then backlog.mdagents/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.
When all tasks in memory/tasks.md are marked ([x] or [!]):
memory/tasks-log.md:- ✅ description → output path (YYYY-MM-DD)
- ❌ description → failure reason (YYYY-MM-DD)
memory/tasks.md (keep the heading)AUTONOMOUS.md or backlog.md[x]tasks-log.md exceeds 50 lines, keep only the most recent 30After archiving, stop immediately. Do not generate new tasks. Do not loop. Wait for the next wake-up.
Before starting, read assets/rules.md (same directory as this SKILL.md) for prohibited actions, core principles, and file structure.