What
/loop runs a prompt again and again, and Claude can use the ScheduleWakeup tool to set when the next run happens. When you resume a session, Claude Code now looks at the last wakeup it set:
- If its time is still in the future, the wakeup is set again and will fire.
- If its time has already passed, Claude is told the wakeup will not fire and to ask you before scheduling it again. The loop stays stopped until Claude schedules it again, and you can reply to continue it.
Why
A loop no longer quietly stops when a session is restarted; it either carries on or you are asked whether to continue.
Names in the bundle/loop
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up /loop, on Error reference.
| `This session restarted <time> after its next /loop wakeup was due, so that wakeup will not fire` | [Background session errors](#restarted-after-its-next-loop-wakeup-was-due) |errors see the edit
Added since
A small documentation edit on Use Claude Code in the cloud touched a line naming /loop after this was published.
* **Not restored**: background work that was still running when the VM was reclaimed, such as subagents and shell commands, and the pending wakeup of a [self-paced `/loop`](/docs/en/scheduled-tasks#let-claude-choose-the-interval). To resta…claude-code-on-the-web see the edit
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees
A small documentation edit on Use Claude Code in the cloud touched a line naming /loop after this was published.
Anthropic's release notes agree
Fixed Esc not stopping a self-paced /loop that was moved to the background with ←; cancelling a pending wakeup now shows a notice