loop-runner
CommunityRun bounded, self-terminating loops with verifiable outcomes.
Software Engineering#verification#agent workflows#loop automation#bounded iteration#stop predicates#beads tracking#loop library
Authorbarkleesanders
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prose-based loops from the Loop Library cannot execute autonomously on their own, requiring a machine contract to enforce bounds, verification steps, and stop conditions to prevent runaway execution and ensure measurable progress.
Core Features & Use Cases
- Enforced 6-Step Loop Cycle: Automatically drives each iteration through Observe → Choose → Act → Verify → Record → Repeat/stop, with hooks that enforce the cycle across conversation turns so loops persist between user messages.
- Dual Verification Modes: Supports machine-verified loops with custom pass/fail commands for reproducible, objective checks, and self-graded loops for fuzzy tasks like documentation refinement, with mandatory evidence requirements for completion to prevent unproven claims of success.
- Configurable Stop Predicates: Lets you set maximum iteration limits, no-progress streaks, and target finish-line commands to ensure loops terminate automatically when goals are met or progress stalls, with a kill switch to disable stop enforcement if needed.
- Use Case Example: If you need to iterate on fixing test failures until the full test suite passes, you can start a loop with a verify command running your test suite and a stop condition for when all tests pass, and the loop will run each cycle, track progress, and stop automatically once the suite is green or the iteration limit is hit.
Quick Start
Use the loop-runner skill to execute a bounded, verifiable Loop Library loop for your repeatable agent workflow by specifying the loop, your verification criteria, and stop conditions.
Dependency Matrix
Required Modules
curlpython3shasumbd
Components
scriptsreferences
💻 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: loop-runner Download link: https://github.com/barkleesanders/claude-code-starter/archive/main.zip#loop-runner 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 536,000+ vetted skills library on demand.