[Editor's note: Peter rewrote this article after a reader pointed out he over-engineered his original solution. ("What can I say: The code worked -- I just didn't need nearly as much code as I thought ...
New Claude Code features inlcude /loop a short-term automation with a three-day expiry; tasks stop when the session closes, limiting background repeats.
Claude Code Agent Loops currently has a 3-day expiry and active-session requirement, which limits long-term scheduling use. Learn how ...