loop-engineer
Skill0 starsChanged 4 months agoMITView on GitHub
Runs recurring agent loops: fixed or dynamic intervals, CI/PR babysitting, and re-invoking prompts/skills until stop criteria. Use for watch-until-done work. Emits LOOP_PLAN / LOOP_STATUS. Never starts unbounded loops without stop conditions or spam-notifies without signal.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- LARi-UQAC/ResearchToolstheir own version, first seen Nov 5, 2026
- steepy-it/steepy-formulatheir own version, first seen Oct 25, 2026
- Patibandha/kick-ass-loop-engineertheir own version, first seen Oct 11, 2026
- steepy-it/steepy-apextheir own version, first seen Oct 8, 2026
- fltman/loop-engineertheir own version, first seen Jun 30, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- fltman/loop-engineer★ 35same name
- LARi-UQAC/ResearchTools★ 14same name
- steepy-it/steepy-apex★ 14same name
- steepy-it/steepy-formula★ 5same name
- Patibandha/kick-ass-loop-engineer★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- adr-enforcerSkill
- ai-eval-harnessSkill
- api-contract-guardianSkill
- change-impact-analyzerSkill
- code-reviewerSkill
- context-loaderSkill
- defect-analystSkill
- delivery-plannerSkill
- engineering-mentorSkill
- engineering-osSkill
- feature-implementerSkill
- guardrails-configuratorSkill
- incident-commanderSkill
- migration-surgeonSkill
- model-routerSkill
- observability-designerSkill
- performance-auditorSkill
- postmortem-writerSkill
- pr-generatorSkill
- quality-gateSkill
- refactoring-advisorSkill
- requirements-grillSkill
- security-auditorSkill
- spec-validatorSkill
- tdd-executorSkill
- test-strategy-designerSkill
- threat-modelerSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 37
Every loop needs stop criteria (success/fail/timeout/max ticks).
- Distinctive: line 38
Prefer signal-based wakes (CI status, log sentinel) over blind sleep when possible.
- Distinctive: line 43
Stop cleanly and report why.
- Distinctive: line 49
Check for existing matching loop.
- Very specific: line 51
Run body once immediately.
- Distinctive: line 100
Never arm infinite loops without max ticks/timeout.
- Distinctive: line 101
Never force-push or prod-mutate on a timer without explicit scope.
- Distinctive: line 102
Never spam full reports every tick — delta only.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Purpose
Arm a controlled loop that re-runs a prompt or skill path on an interval (or dynamically) until success, failure, timeout, or user stop.
When to Use / When NOT to Use
Use when: babysit CI/PR checks; watch deploys; poll until green/red; recurring /loop style work; long-running verification.
Do not use when: one-shot tasks; tight interactive coding sessions where a loop adds noise; production mutate-on-timer without explicit approval.
Preconditions
Clear work unit (prompt or skill + args) and stop criteria. If interval omitted, use dynamic mode with rationale.
Inputs / Outputs
Inputs: prompt/skill to run, interval or dynamic, stop criteria, optional gh/CI identifiers.
Outputs: LOOP_PLAN then recurring LOOP_STATUS updates.
Upstream / Downstream
Upstream: engineering-os, quality-gate, user.
Downstream: any skill named in the loop body; pr-generator; incident-commander if loop detects sev.
Core Principles
- Every loop needs stop criteria (success/fail/timeout/max ticks).
- Prefer signal-based wakes (CI status, log sentinel) over blind sleep when possible.
- One loop per purpose; do not duplicate existing loops.
- First run immediate; then interval — avoid double-fire on start.
- Status updates are short; full work only on tick.
- Destructive actions require explicit user approval each time (or pre-approval scope).
- Stop cleanly and report why.
Process
- Parse: interval (
30s/5m/2h) or dynamic; body prompt/skills; stop criteria. - Emit LOOP_PLAN — purpose, interval, stop, max ticks, sentinel.
- Check for existing matching loop; reuse or stop duplicates.
- Arm background waiter / poller as environment allows; or instruct host loop tool.
- Run body once immediately; record LOOP_STATUS.
- On each tick: run body; evaluate stop; update LOOP_STATUS.
- On stop: final status, summary of changes, artifacts produced.
Presets
babysit-pr— poll checks until success/failbabysit-ci— watch workflow rununtil-qg-pass— re-run quality-gate pathcustom— user prompt
Evidence Requirements
Tick times, commands, CI URLs, stop reason. No fake “still running” without checking.
Stop Conditions / Failure Modes
| Condition | Action |
| No stop criteria | Refuse to arm |
| Max ticks / timeout | Stop; LOOP_STATUS failed/timeout |
| User says stop | Stop immediately |
| Body returns Block Critical | Stop and escalate |
Severity + Confidence
Escalate to incident-commander if loop observes prod SEV signals.
Output Contract
## LOOP_PLAN
Purpose: ...
Interval: ... | dynamic
Body: skill/prompt
Stop criteria: ...
Max ticks: ...
## LOOP_STATUS
Tick: N
Observed: ...
Decision: continue | stop
Stop reason: ...Handoffs
engineering-os, quality-gate, pr-generator, incident-commander.
Never
- Never arm infinite loops without max ticks/timeout.
- Never force-push or prod-mutate on a timer without explicit scope.
- Never spam full reports every tick — delta only.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

