One command, infinite reruns
Type /loop with your task. Claude handles the scheduling, context, and stopping - you stay in flow.
Claude Loops let you run any prompt or slash command on a repeating interval. Poll a CI build, babysit a deploy, watch a Slack thread - all from a single command. Beginner-friendly, no scripting required.
Loops bring the intelligence of Claude Code to repeating tasks. Anything you do once, you can now do on schedule - with the same reasoning behind every run.
Type /loop with your task. Claude handles the scheduling, context, and stopping - you stay in flow.
Drop the interval and Claude picks a wake-up time based on what it is waiting for. Polls fast when state changes, sleeps long when idle.
Wrap your favorite skill - /review, /verify, /code-review - in a loop and let it run on a schedule.
Loops are session-bound. Stop them anytime with /loop stop or by ending the session. No background processes left behind.
Monitor PRs, babysit deploys, poll APIs, watch logs, summarize Slack channels. If you can describe it, you can loop it.
Run loops locally in your terminal or schedule them as cloud agents with /schedule for true unattended automation.
Tell the generator what you want to automate. It writes a ready-to-paste /loop command with the right mode, filters, and stop condition baked in.
Fill in what you need. The command updates as you type.
You do not need to install anything new. If you have Claude Code, you already have loops.
Launch Claude Code in any project directory. Loops work in CLI, IDE extensions, and the desktop app.
Enter /loop followed by an optional interval (like 5m) and your task or another slash command.
Claude executes the task immediately, then again on schedule. Each run gets fresh context and reports back.
Type /loop stop or close the session. The loop ends cleanly - no stray processes.
From CI polling to morning standup digests - here are the loops developers run every day.
Poll a long-running build, summarize failures, and alert you when it finishes.
/loop 3m check CI statusLoop a review skill that scans new comments and pings you on blockers.
/loop 15m /babysit-prsTail an error log and surface new patterns every few minutes.
/loop 5m scan logs for errorsLoop a Gmail skill that classifies new threads and drafts replies.
/loop 30m triage inboxFetch dashboard numbers, diff them against the last run, and ping if they spike.
/loop 10m metric checkRun a morning briefing skill once a day with /schedule.
Follow our 5-minute starter guide and you will have a working, real-world loop running before your coffee gets cold.
Start the Guide βA Claude Loop is a recurring prompt or slash command that Claude Code runs on a schedule you choose - fixed interval, or self-paced by Claude itself.
No. Loops are built into Claude Code. If you can run Claude Code, you can run loops - no extra setup, no separate billing, no infrastructure to manage.
No. Claude Code automatically summarizes prior messages as the conversation approaches context limits. Loops are designed to keep running across compressions - you do not have to wrap up early.
/loop runs inside your active session. /schedule creates a cloud agent that runs without you. Use loops while you are working; use schedules for unattended automation.