Restore previously saved conversation context. List all pending sessions, read the task information of a selected session, update progress, and delete the file after all tasks are completed.
在新的 Claude Code 窗口中,需要继续之前未完成的任务时调用此 Skill。
读取 docs/context-sessions/ 目录下的所有 .md 文件(排除 .gitkeep)。
输出格式:
📋 待处理的 Session 列表:
1. 20251128-1430-实现用户登录功能.md
未完成任务: 3 项
2. 20251128-1600-修复导出bug.md
未完成任务: 1 项
请告诉我要恢复哪个 session(输入序号或文件名)
如果目录为空,输出:
📭 当前没有待处理的 session。
所有任务已完成,或尚未使用 context-save 保存过上下文。
用户选择后,读取对应的 session 文件,完整展示内容。
输出格式:
📂 已加载 Session: {文件名}
---
{session 文件完整内容}
---
🎯 接下来要处理哪个任务?或者需要我继续之前的工作?
根据 session 中的信息:
每完成一个任务后,立即更新 session 文件:
示例更新:
## 已完成任务
- [x] 任务1描述
- [x] 任务2描述
- [x] 🔴 高优先级: 实现 publishArticle 方法 ← 新完成
## 未完成任务
- [ ] 🔴 高优先级: 处理图片上传到微信服务器
- [ ] 🟡 中优先级: 添加发布结果回调
当所有未完成任务都被完成后:
输出格式:
🎉 Session 所有任务已完成!
已完成任务汇总:
- [x] 任务1
- [x] 任务2
- [x] 任务3
Session 文件已删除: docs/context-sessions/{文件名}
┌─────────────────┐
│ 调用 skill │
└────────┬────────┘
│
▼
┌─────────────────┐
│ 列出所有 │
│ session 文件 │
└────────┬────────┘
│
▼
┌─────────────────┐
│ 用户选择 │
│ 要恢复的 │
│ session │
└────────┬────────┘
│
▼
┌─────────────────┐
│ 读取并展示 │
│ session 内容 │
└────────┬────────┘
│
▼
┌─────────────────┐
│ 开始处理任务 │◄──────────┐
└────────┬────────┘ │
│ │
▼ │
┌─────────────────┐ │
│ 完成一个任务 │ │
│ 更新 session │ │
└────────┬────────┘ │
│ │
▼ │
┌────────────┐ │
│ 还有未完成 │───Yes──────┘
│ 任务? │
└─────┬──────┘
│ No
▼
┌─────────────────┐
│ 删除 session │
│ 文件 │
└─────────────────┘
在恢复 session 后,可以使用以下指令:
| 指令 | 作用 |
|------|------|
| 继续 | 按优先级继续处理下一个任务 |
| 更新进度 | 手动触发 session 文件更新 |
| 查看剩余 | 显示剩余未完成任务 |
| 换窗口处理- | 再次保存并切换窗口 |
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer