Search the documentation
23 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`, and `prompt` field…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…Claude restarts from where it left off | | `✢` | A [`/loop`](/docs/en/scheduled-tasks) session sleeping between iterations. The row shows its run count and a countdown | Th…
Claude Code changelog
Claude Code CLI · in the page
changelog
…hing the prompt); ctrl+enter now dispatches and attaches * Changed `/loop`: self-paced dynamic mode and the no-prompt autonomous default are now always available, including on Bedrock/Vertex/Foundry…
CLI reference
Claude Code CLI · in the page
cli-reference
…th `claude -p` or the Agent SDK, and sessions whose first prompt was `/loop`](/docs/en/sessions#resume-a-session). `claude -p --continue` includes `-p`, SDK, and `/loop` sessions. Includes sessions th…
Commands
Claude Code CLI · in the page
commands
…| | `/loop [interval] [prompt]` | **[Skill](/docs/en/skills#bundled-s…
Common workflows
Claude Code CLI · in the page
common-workflows
…| | [`/loop`](/docs/en/scheduled-tasks) | The current CLI session | Quick polling while a session is…
Manage costs effectively
Claude Code CLI · in the page
costs
…r more of recent usage. * **Loops**: a row for each of the heaviest [`/loop` or other scheduled tasks](/docs/en/scheduled-tasks) that ran recently, ordered by total tokens, with a count of the rest. C…
Schedule recurring tasks in Claude Code Desktop
Claude Code CLI · in the page
desktop-scheduled-tasks
…ines) | [Desktop](/docs/en/desktop-scheduled-tasks) | [`/loop`](/docs/en/scheduled-tasks) | | :------------------------- | :---------------------------------- | :-------------------…
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…
Feature availability
Claude Code CLI · in the page
feature-availability
…ct 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…
Hooks reference
Claude Code CLI · in the page
hooks
…d scheduled wakeup, sourced from `CronCreate`, `ScheduleWakeup`, and `/loop`: | Field | Description…
Overview
Claude Code CLI · in the page
overview
…our 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 </Accordion> <Accordion title="Work…
Automate work with routines
Claude Code CLI · in the page
routines
…to enable routines for your organization. ## Related resources * [`/loop` and in-session scheduling](/docs/en/scheduled-tasks): schedule local tasks within an open CLI session * [Desktop scheduled…
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. Scheduled tasks let Claude r…
Manage sessions
Claude Code CLI · in the page
sessions
…sessions](/docs/en/agent-view) and [sessions whose first prompt was `/loop`](#where-the-session-picker-looks). When you run [`claude -p --continue`](/docs/en/headless#continue-conversations), Claude…
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
…eduleWakeup` | 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. <div className="digest-meta"> <span>Relea…
Week 16 · April 13–17, 2026
Claude Code CLI · in the page
whats-new/2026-w16
…ode>/rewind</code>, and <code>/proactive</code> is an alias for <code>/loop</code></div> <div>Hardened Bash permissions: deny rules now match through <code>env</code>/<code>sudo</code>/<code>watch…
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…