tao-loop
CommunityRun budgeted judge-gated coding loops
System Documentation
What problem does it solve?
The tao-loop skill solves the need to safely run multiple autonomous coding iterations while stopping automatically when a judge metric indicates completion or when cost/iteration limits are reached.
Core Features & Use Cases
- Judge-gated termination: Stops when the judge’s
scorereaches the completion criteria (single-metric termination) rather than relying on fixed iteration counts alone. - Budget-bounded looping: Enforces hard constraints for
MAX_ITERS,MAX_COST_USD, and an externalHARD_STOP, capturing breaches into the finalLoopResultinstead of crashing the caller. - Iteration-level streaming and traceability: Produces a fully-populated
LoopResultincludingjudge_historyand final state, with optional per-iteration events viaon_event.
Use Case: When implementing a non-trivial feature (e.g., “implement auth improvements and tests”) where you want iterative progress with automatic verification—stop early if the judge says it’s done, otherwise continue until the budget or hard stop is hit.
Quick Start
Run tao-loop to implement the goal with judge checks every N iterations and strict max iterations/cost limits by executing a loop runner command like: python scripts/run_tao_loop.py --goal "implement X" --workspace /path --max-iters 10 --max-cost 1.50 --judge-every 2.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tao-loop Download link: https://github.com/CleanExpo/Pi-Dev-Ops/archive/main.zip#tao-loop Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.