Iterative Task Loop

•
3.4k
•

Automates repetitive task execution with defined success criteria and safety boundaries to ensure goal convergence.

The Iterative Task Loop skill enables Claude to perform complex, multi-step operations that require constant refinement, such as debugging until tests pass or optimizing code performance. It implements a robust safety framework featuring a 'WTF-Likelihood Score' and sliding-window detection to prevent runaway loops, ensuring the AI remains productive and halts automatically if progress stalls or cycles occur. This is essential for developers seeking to automate TDD cycles, performance tuning, or complex refactoring tasks safely.

Key Features

01Real-time progress tracking with detailed per-iteration summaries
02Mandatory safety limits and maximum iteration caps to prevent infinite loops
03Pattern recognition to identify and stop oscillating or stuck behaviors
04WTF-Likelihood Score to detect and halt unproductive or destructive sequences
05Automated iterative refinement with user-defined success criteria
063,441 GitHub stars

Use Cases

01Retrying complex deployment or build operations with incremental fixes
02Automating red-green-refactor cycles until all unit tests pass
03Iterative performance tuning to reach specific latency or resource targets