Iterative Task Loop

•
3.6k
•

Automates repetitive refinement cycles with smart exit conditions, safety monitoring, and stall detection.

The Iterative Task Loop skill provides a structured framework for Claude to execute multi-pass operations such as performance tuning, bug fixing, and progressive code refinement. It systematically manages the loop lifecycle by defining clear success criteria, enforcing safety bounds, and tracking progress through each iteration. Most importantly, it includes advanced self-regulation features like 'Stuck Detection' and a 'WTF-Likelihood Score' to prevent infinite loops, detect logic cycles, and stop early if the approach becomes counter-productive or deviates from the original goal.

Características Principales

01Self-Regulation Score (WTF-Likelihood) to monitor regressions and scope creep.
02Intelligent stall and cycle detection to identify repetitive patterns or oscillations.
033,585 GitHub stars
04Dynamic progress tracking with detailed iteration summaries and evaluation gates.
05Configurable multi-pass execution with mandatory safety caps and iteration limits.
06Customizable safety weights via local configuration files for tailored workflows.

Casos de Uso

01Performance optimization loops that run until specific latency or memory targets are met.
02Incremental security auditing and remediation where code is refined across multiple specialized passes.
03Test-Driven Development (TDD) cycles that iterate until all unit and integration tests pass.