Run prompts on repeat with scheduled tasks
`/loop 15m scan my error logs and flag anything new` runs in the background while your session stays focused. Bare prose works for one-offs.
- Type: Prompt
- Tags: Coding Agent Hacks, Intermediate, Claude Code
- Updated: 2026-10-01
Prompt
`/loop 15m scan my error logs and flag anything new` runs in the background while your session stays focused. Bare prose works for one-offs. Scheduled tasks let you fire prompts on an interval without stealing focus. `/loop <interval> <prompt>` covers seconds, minutes, hours, days. Skip the interval, defaults to 10m. For one-off reminders skip `/loop` entirely and just describe what you need. Tasks only run while Claude Code is active — for true persistence, leave a session open on a server or wire an external cron job. Implementation example: /loop 5m check if the deployment is healthy /loop 15m scan my error logs and flag anything new /loop 30m check if CI passed on main # One-off: remind me at 3pm to push the release branch
More prompts
- Expense Report Automation System — Save More Time
- Meeting Scheduling Link Standardization — Save More Time
- Invoice Generation and Delivery Automation — Save More Time
- Document Template Automation Library — Save More Time
- Calendar Management Automation Rules — Save More Time
- File Organization and Naming System — Save More Time
- Recurring Payment Automation Setup — Save More Time
- Data Entry Elimination Framework — Save More Time