Anthropic has launched a /loop command for Claude Code, enabling cron-style scheduling that turns the AI coding assistant into an autonomous background worker.
The “Loop” feature in Cloud Code automates short-term, recurring tasks for up to three days, combining cron job precision with natural language commands for ease of use. It supports custom intervals, ...
Claude Code Agent Loops currently has a 3-day expiry and active-session requirement, which limits long-term scheduling use.
whatever is a dummy variable that you can replace with other variables. Be sure to indent the statements to repeat in the loop. We need to have at least one condition to implement the loop and make ...