Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

30 pages for /loop.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

computer-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/computer-use-tool …cs/anthropic-quickstarts/blob/main/computer-use-demo/computer_use_demo/loop.py) that calls the Claude API and runs the tools, and a web interface for the container, loop, and tools. </Tip> ### Unders… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …fires the given prompt after a delay. This tool backs the self-paced `/loop` command. The runtime clamps `delaySeconds` to between 60 and 3600 seconds. The `delaySeconds`, `reason`, `prompt`, and `noo… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …attach, Claude restarts it from its saved conversation | | `✢` | A [`/loop`](/docs/en/scheduled-tasks) session sleeping between iterations. The row shows its run count and a countdown | The `#N` or… Claude Code changelog Claude Code CLI · in the page changelog …ing what was typed (anthropics/claude-code#82768) * Fixed self-paced `/loop` wakeups scheduled at the 1-hour maximum firing just after the 1-hour prompt cache expired, so those wakeups no longer re-re… Use Claude Code in the cloud Claude Code CLI · in the page claude-code-on-the-web …tasks you [scheduled in the session](/docs/en/scheduled-tasks) and a `/loop` waiting for its next iteration don't carry over to the reopened session. Ask Claude to schedule the tasks again, or run `/l… CLI reference Claude Code CLI · in the page cli-reference …th `claude -p` or the Agent SDK, and sessions whose first prompt was `/loop`. `claude -p --continue` includes `-p`, SDK, and `/loop` sessions. Includes sessions that added this directory with `/add-di… Commands Claude Code CLI · in the page commands …| | `/loop [interval] [prompt]` | **[Skill](/docs/en/s… Common workflows Claude Code CLI · in the page common-workflows …cron schedules that should live alongside your workflow config. | | [`/loop`](/docs/en/scheduled-tasks) | The current CLI session | Quick polling while a session is open. `--resume` and `--continue` r… Manage costs effectively Claude Code CLI · in the page costs …with-the-fix-shortcut). * **Loops**: a row for each of the heaviest [`/loop` or other session-scoped scheduled tasks](/docs/en/scheduled-tasks) that ran recently, ordered by total tokens, with a count… Schedule recurring tasks in Claude Code Desktop Claude Code CLI · in the page desktop-scheduled-tasks …(/docs/en/routines) | [Desktop](/docs/en/desktop-scheduled-tasks) | [`/loop`](/docs/en/scheduled-tasks) | | :- | :- | :- | :- | | Runs on | Cloud, Anthropic-managed by default | Your machine | Your ma… Environment variables Claude Code CLI · in the page env-vars …t to `1` to disable [scheduled tasks](/docs/en/scheduled-tasks). The `/loop` skill and cron tools become unavailable and any already-scheduled tasks stop firing, including tasks that are already runni… Error reference Claude Code CLI · in the page errors …o-longer-available) | | `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) |… Feature availability Claude Code CLI · in the page feature-availability …ubject to your AWS agreement **Alternatives:** for scheduling, use [`/loop`](/docs/en/scheduled-tasks) instead of `/schedule`. For cloud sessions, use [GitHub Actions](/docs/en/github-actions) or [Gi… Glossary Claude Code CLI · in the page glossary …ed with Claude Code, such as `/batch`, `/code-review`, `/debug`, and `/loop`. Unlike built-in commands, which execute fixed logic, bundled skills give Claude a detailed prompt and let it orchestrate t… Keep Claude working toward a goal Claude Code CLI · in the page goal …-fix-clear-the-goal), or you run [`/goal clear`](#clear-a-goal) | | [`/loop`](/docs/en/scheduled-tasks#run-a-prompt-repeatedly-with-%2Floop) | A time interval elapses | You stop it, or Claude decides… Run Claude Code programmatically Claude Code CLI · in the page headless …ound commands, subagents and workflows, Monitor watches, and pending `/loop` wakeups: * **[Background commands](/docs/en/tools-reference#background-commands)**: for a command that the main conversati… Hooks reference Claude Code CLI · in the page hooks …scoped scheduled task](/docs/en/scheduled-tasks) firing, including a `/loop` iteration * A [background subagent](/docs/en/sub-agents#run-subagents-in-foreground-or-background) reporting back to the se… Overview Claude Code CLI · in the page overview …your machine, with direct access to your local files and tools > * [`/loop`](/docs/en/scheduled-tasks) repeats a prompt within a CLI session for quick polling > **Work from anywhere** > > Sessions a… Automate work with scheduled tasks Claude Code CLI · in the page routines …ud: [Desktop scheduled tasks](/docs/en/desktop-scheduled-tasks) and [`/loop`](/docs/en/scheduled-tasks). To choose among all three, see [Compare scheduling options](/docs/en/scheduled-tasks#compare-sc… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks # Run prompts on a schedule > Use /loop and the cron scheduling tools to run prompts repeatedly, poll for status, or set one-time reminders within a Claude Code session. Session-scoped scheduled tas… Manage sessions Claude Code CLI · in the page sessions …ository or `Ctrl+A` to widen to every project on this machine. #### `/loop`, `-p`, Agent SDK, and background sessions Sessions whose first prompt was a [`/loop`](/docs/en/scheduled-tasks#run-a-promp… Extend Claude with skills Claude Code CLI · in the page skills …ndled skills, such as `/doctor`, `/code-review`, `/batch`, `/debug`, `/loop`, and `/claude-api`. Bundled skills are prompt-based: they give Claude detailed instructions and let it orchestrate the work… Tools reference Claude Code CLI · in the page tools-reference …| `ScheduleWakeup` | Reschedules the next iteration of a [self-paced `/loop`](/docs/en/scheduled-tasks#let-claude-choose-the-interval). Claude calls this at the end of each iteration to pick when the… Week 15 · April 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w15 …, 2026 > Ultraplan cloud planning, the Monitor tool with self-pacing /loop, /team-onboarding for packaging your setup, and /autofix-pr from your terminal. Releases [v2.1.92 → v2.1.101](/docs/en/chan… Week 16 · April 13–17, 2026 Claude Code CLI · in the page whats-new/2026-w16 …ndo` is now an alias for `/rewind`, and `/proactive` is an alias for `/loop`Hardened Bash permissions: deny rules now match through `env`/`sudo`/`watch` wrappers, and `Bash(find:*)` allow rules no lon… Week 35 · August 24–28, 2026 Claude Code CLI · in the page whats-new/2026-w35 …kdown: run count, total tokens, tokens per run, and last run for the `/loop` and scheduled tasks that used the most tokensOrganizations on contracted rates can set the [`modelPricing`](/docs/en/costs#… What's new Claude Code CLI · in the page whats-new/index …events into the conversation so Claude can tail logs and react live, `/loop` self-paces when you omit the interval, `/team-onboarding` packages your setup into a replayable guide, and `/autofix-pr` tu… Available settings Claude Documentation · in the page government/config/settings …d). Turning it off also turns off scheduling in Claude Code, such as `/loop`. | On | Claude Desktop 2.110.0 or later, Claude Code | | **Claude Code** | Makes the [Claude Code command-line tool](/docs/… Code in Claude Desktop on 3P Claude Documentation · in the page third-party/claude-desktop/code …ions start without Claude Code's in-session scheduling tools, so the `/loop` command cannot schedule recurring work. Cowork's scheduled tasks are turned off by the same key. | | `disabledBuiltinTools`… Configuration reference Claude Documentation · in the page third-party/claude-desktop/configuration …ons start without Claude Code's own in-session scheduling tools (the `/loop` command, its cron tools and its wake-up timer). > > It does not remove task files already on the user's machine. A change t…
Feedback