Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.71 ·

/loop Command (Scheduled Recurring Prompts)

Entry
JSON All of v2.1.71
EntryKind: in v2.1.71,
ChangesSection of the release
What

A new /loop slash command that schedules prompts to run on a recurring interval, enabling automated monitoring, polling, and periodic tasks within a Claude Code session.

Usage
/loop 5m /babysit-prs
/loop 30m check the deploy
/loop 1h /standup 1
/loop check the deploy          (defaults to 10m interval)
Details
  • Supports intervals in seconds, minutes, hours, or days (e.g., 5m, 30m, 2h, 1d). Minimum granularity is 1 minute
  • Also supports standard 5-field cron expressions for precise scheduling (e.g., "/5 " for every 5 minutes, "30 14 * 1-5" for weekdays at 2:30pm)
  • Jobs are session-only by default (die when Claude exits), but can be persisted to .claude/scheduled_tasks.json to survive restarts
  • Recurring tasks auto-expire after 3 days
  • A small deterministic jitter is added to fire times to avoid thundering-herd effects
  • Only fires while the REPL is idle (not mid-query)
  • Uses file-based locking so only one Claude session runs the scheduler at a time
  • Three new internal tools: CronCreate, CronDelete, CronList
Evidence

Cron expression parser (search for "Standard 5-field cron expression") — _a6 at line ~449603. Loop command (search for "/loop")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded /loop command to run a prompt or slash command on a recurring interval (e.g. /loop 5m check the deploy)

See this entry in the whole of v2.1.71 →

Feedback