Getting started with loops x.com
The Claude Code team defines a loop as an agent repeating cycles until a stop condition is met: turn-based is the ordinary loop, goal-based checks a goal with an evaluator model, time-based covers scheduled work. Encode manual checks as skills so agents can verify themselves.