pauselisted
Install: claude install-skill TsukiNi22/ai-utils
# Pause: stop cleanly, resume at the next "continue"
`SKILL_DIR` = the directory of this file. The user wants the work **stopped now, cleanly**, and taken up again later
by a plain `continue` (the `continue-work` skill), in this session or a later one, without re-explaining anything.
It is not a handover to another machine or model (that is `export`), and not the end of the task.
## 1. Stop starting things
- From now on, start **no new step**: no new edit, command, build, agent or question.
- The step under way is brought to the **nearest consistent state**, the shortest way:
- a file edit in progress: finish it so the file is valid (syntax, matching blocks), or put the file back as it
was before the step; never leave a file half written;
- a change spread over several files (a rename, an API change): finish it if it is a few edits, otherwise revert
the part of this step and note it in the checkpoint as not started;
- a long command (build, test run, download): stop it (below) rather than wait, unless it ends within a minute.
- No question to the user (the popup included): what would need an answer goes in the checkpoint.
## 2. Stop what runs for the task
Only what this session started for the task, never a process of the user:
- background shell commands and monitors: `TaskStop` each one still running;
- subagents, forks, workflows: `TaskStop` (a workflow keeps its run id: note it, it can be resumed);
- a `/loop` running: `ScheduleWakeup` with `stop: true`;