Install
openclaw skills install session-task-trackerTask-based cross-session context management for OpenClaw agents. Maintains persistent task files so context survives session resets, compaction, and channel switches. Use when: (1) A new task or project is discussed, (2) Progress or decisions are made on an existing task, (3) User says 'continue task', 'what is the status', 'where did we leave off', (4) A new session starts and user references prior work, (5) User mentions switching channels or losing context, (6) User asks about task status, progress, or next steps.
openclaw skills install session-task-trackerPersist task context across sessions and channels by maintaining per-task files.
Each task gets a single markdown file in tasks/. The file IS the memory —
independent of session history, compaction, or channel.
| Situation | Action |
|---|---|
| New task/project mentioned | Create task file + update index |
| Progress/decision on existing task | Update that task file |
| Session start (bootstrap) | Read _INDEX.md |
| User references a task | Read that task file, respond with context |
| User signals leaving ("先这样", "回家再说") | Ensure all discussed tasks are updated |
Location: {workspace}/tasks/
tasks/
├── _INDEX.md # Task index (auto-maintained)
├── project-alpha.md # One file per task
└── weekly-report.md
# [Task Name]
- **状态:** 进行中 | 暂停 | 待启动 | 已完成 | 已搁置
- **优先级:** 高 | 中 | 低
- **创建时间:** YYYY-MM-DD
- **最后更新:** YYYY-MM-DD
- **标签:** #tag1 #tag2
## 目标
[One sentence: what this task achieves]
## 背景
[Why this task exists, origin context]
## 进展记录
### YYYY-MM-DD
- What was done
- Key decisions made
## 待办
- [ ] TODO item
- [x] Completed item
## 关键信息
[Core facts that must persist: configs, links, accounts, constraints]
## 相关文件
- File description: path/to/file
Rules:
[x] when complete_INDEX.md)# 任务索引
## 🟢 进行中
| 任务 | 状态 | 最后更新 | 优先级 |
|------|------|---------|--------|
## 🟡 暂停
| 任务 | 状态 | 最后更新 | 优先级 |
|------|------|---------|--------|
## ⚪ 已完成
| 任务 | 完成时间 |
|------|---------|
Maintain this file whenever a task's status changes.
tasks/{task-name}.md using the template above_INDEX.md under 进行中_INDEX.md_INDEX.mdtasks/archive/_INDEX.md- for spaces