task-resume
由 richardsun700 提供
Productivity & Tasks简介
Automatic interrupted-task resume workflow with queueing and recovery.
描述
该技能的功能
Tracks active tasks and queues them automatically when an unrelated request interrupts progress. Uses a shared JSON queue file and a Python helper script to persist task context across sessions and clones. After the active task finishes, the oldest queued item resumes immediately with full context.
Unlike manual reminders, it persists structured context (what was done, exact next step, acceptance criteria) at interruption time, so resumption requires no re-orientation.
何时使用
- Resuming a half-finished code review after handling an urgent bug fix
- Picking up a paused writing task after answering an unrelated question
- Enforcing finish-first order when side requests arrive mid-migration
- Recovering an interrupted multi-step setup without losing the next-step context
- Running a daily queue check to surface and reschedule stale tasks
示例工作流
User asks: 'Can you quickly draft an email?' while an unfinished database migration task is active
- 1
Detects active unfinished task and incoming unrelated request
- 2
Immediately runs task_resume_queue.py add with migration title, progress context, and acceptance criteria
- 3
Briefly acknowledges the queue action to the user
- 4
Handles the email draft request to completion
- 5
Runs task_resume_queue.py pop and resumes the migration from the saved checkpoint
Email drafted, then agent announces 'Resuming previously interrupted task: database migration' and continues from the exact saved step
安装
clawhub install richardsun700/task-resume运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。