Your First Loop: Let Claude Keep Working
Hand Claude a task with a finish line and let it keep working, pass after pass. Write a safe loop prompt, run it on your own notes, and learn how to stop it.
Last updated October 2026
What it covers
- What Claude Code's /loop does: the same task, repeated, until it's done or you stop it.
- Fixed interval vs. letting Claude pace itself, and when each fits.
- Writing a loop prompt with a clear finish line and a stop condition.
- Watching, interrupting, and ending a loop safely; what it can and can't do while you're away.
What you'll build
Your first loop on a real task, plus a loop prompt template you reuse.