auto-loop

Solid

Drive a Claude Code session toward a verifiable goal until done or a hard cap fires - autonomous loop, no user intervention. Use for refactor batches, test-coverage runs, migration loops where success is a check command (tests, lint, custom predicate) plus a fresh-context audit. Hosts the loop intra-session via Stop hook with two-vote completion gate; supports optional Codex /goal delegation.

AI & Automation 2 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
16
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# auto-loop ## What this skill is - and isn't | Skill | Question it answers | Output | |---|---|---| | `/loop` | "Re-run this prompt every N minutes." | Cron-style recurrence | | `/ralph-loop` | "Bash-while loop external to Claude." | Subprocess churn | | `vd:cook` | "Execute the plan, phase-by-phase, with review gates." | Phased delivery | | `vd:optimize-loop` | "Improve a measurable metric over N bounded iterations." | Best metric value (auto keep/discard) | | **`vd:auto-loop`** | **"Drive toward this goal until verified done or a cap fires - no babysitting."** | **Verified completion or graceful drain** | Auto-loop **pursues**. It does not design (use `vd:brainstorm`/`vd:plan` first) and it does not poll on a clock (use `/loop`). The exit condition is a **two-vote completion gate**: a user-supplied verifier command **and** a fresh-context audit subagent both vote `achieved`. ## Modes | Flag | Behaviour | |---|---| | _(default)_ | Run intra-session loop hosted by Stop hook until two-vote gate or hard cap. | | `--codex` | Delegate to native Codex `/goal` (requires codex ≥ 0.128.0 + ChatGPT auth). | | `--status` | Read-only snapshot of current loop state. Exits with status-coded code. | | `--cancel` | Tear down Stop hook, mark state `cancelled`, leave working tree intact. | ## Hard rules 1. **Two-vote completion gate.** `status: achieved` is *not* terminal until verifier passes 2× and audit subagent votes `achieved`. False positives loop back as `unmet`. 2. **Hard caps...

Details

Author
vanducng
Repository
vanducng/skills
Created
2 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category