Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By raiyanyahyav0.2.3MIT
Runs an agent CLI in a loop from one markdown file until tests or a checklist confirm the work is done. Iterations are verified and can be reviewed by a critic, with spend and iteration limits. Runs Claude Code, Codex, Gemini CLI and Aider; it claims a demo needs no API key.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Loop engineering for AI agents.
One file. Any agent. Until it's verified.
npx @raiyanyahya/loop demo # watch a loop work, no API key needed
A real run: Claude Haiku 4.5 as worker and critic, permissions: edits, a three-item checklist, node test.js as the check, test.js protected. Three iterations, 2m13s, $0.23. Condensed for length only; every number, file, hash, and verdict is as printed.
The most powerful way to use a coding agent is not a longer conversation. It is a loop: run the agent, check its work, run it again, until the job is done. People run this with a while true in bash. It works, and it is blind: no memory between runs, it believes the agent when it says "done", it never stops on its own, and it leaves no record. Worse, the agent can quietly edit the tests that judge it.
loop is that loop, engineered. It runs Claude Code, Codex, Gemini CLI, Aider, or any agent CLI in a loop driven by one markdown file, and adds the parts the bash loop was missing. Every design decision follows what the research on long-running agents shows works; the reasoning is in Engineering notes.
npm i -g @raiyanyahya/loop # installs the `loop` command
cd your-project
loop init # asks what kind of loop, writes LOOP.md
loop run # go
Or skip the file:
loop run -p "make the test-suite pass" --until "npm test" --protect "test/**"
Requirements: Node 18 or newer, one agent CLI on your PATH (loop doctor lists them), git for the features that revert or restore.
A loop is a goal, a worker, a verifier, memory, and brakes, run until the verifier is satisfied or the brakes engage. A Loopfile is those five parts in YAML frontmatter, followed by the goal in markdown. Humans read it, agents read it, and the loop re-reads it before every iteration.
---
name: search-api
agent: [claude, codex] # worker: two agents take turns
until: [checklist, "npm test"] # verifier: every box ticked AND tests green
critic: codex # verifier: an independent review before "done" counts
protect: ["test/**", "SPEC.md"] # verifier: the agent may not edit these
memory: NOTES.md # memory: durable notes, across loops
max: 30 # brakes
max_cost: 20
git: true # every kept iteration is a commit
---
# Goal
Add full-text search to GET /posts. See SPEC.md.
# Checklist
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (raiyanyahya/loop) — no native marketplace selected
npx claudepluginhub p/raiyanyahya-loopPlugins from other owners that cover similar ground