loop-engineer
Skill14 starsChanged 36 days agoApache-2.0View on GitHub
Validate and authorize a gear-4 goal contract, invoke the packaged deterministic loop controller, report its result, and hand off terminal evidence to review.
5 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- LARi-UQAC/ResearchToolstheir own version, first seen Nov 5, 2026
- steepy-it/steepy-formulaedited, first seen Oct 25, 2026
- Patibandha/kick-ass-loop-engineertheir own version, first seen Oct 11, 2026
- willianbs/skillstheir own version, first seen Jul 18, 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 · 1
- steepy-it/steepy-formula★ 510% same
Wrote their own version · 4
- fltman/loop-engineer★ 35same name
- LARi-UQAC/ResearchTools★ 14same name
- Patibandha/kick-ass-loop-engineer★ 0same name
- willianbs/skills★ 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 repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- steepy-apex-bootstrapSkill
- steepy-apex-bootstrapSkill
- brainstormSkill
- checkSkill
- discoverySkill
- implementSkill
- inceptionSkill
- initSkill
- new-surfaceSkill
- planSkill
- reviewSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
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
- Distinctive: line 23
run keep/discard policy or decide a verifier verdict.
- Very specific: line 54
Only this SKILL.md is meant to stay in context for the whole run.
- Very specific: line 61
Always set model: explicitly when dispatching a subagent.
“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
loop-engineer
Validate and authorize a machine-verifiable Gear-4 goal, then route it into the packaged deterministic controller. This skill is the human/controller boundary. It does not implement the loop's state machine in prose and it does not write feature code.
Engine root: this skill's base directory is
<engine-root>/skills/loop-engineer/; engine scripts live two levels up, at<engine-root>/scripts/. Resolve them relative to the base directory your harness reports for this skill.
Controller responsibility boundary
Skills authorize and route; scripts own deterministic state. In particular, this skill must not:
- allocate attempts or decide when an attempt is available;
- run keep/discard policy or decide a verifier verdict;
- interpret ledger Markdown as state (the ledger is only a controller projection);
- perform Git recovery, cleanup, rollback, commit, or reconciliation;
- grant extra fixes beyond the ratified mutation budget; or
- offer an inline runner fallback when the active harness has no supported headless runner.
The packaged engine owns all of those decisions, including the sanity verifier, immutable event
stream, controller-owned commits, blast-radius enforcement, terminal branch review, and goal/ledger
lifecycle. The later terminal review owns the mandatory validate-hub.mjs . coherence gate; the
loop controller neither claims nor duplicates that review evidence.
Checklist
- Validate the exact fresh/resume handoff and complete ratified Gear-4 goal before autonomy (Step 0)
- Read only stable routed hub inputs, select the active supported harness, and obtain the single human authorization for controller-owned commits (Step 1)
- Invoke
node <engine-root>/scripts/loop-engineer.mjswith the exact fresh/resume CLI (Step 2) - Report the controller's closed output without reconstructing or overriding state (Step 3)
- Preserve controller-owned lifecycle and terminal evidence (Step 4)
- Emit the exact Gear-4
reviewhandoff for a terminal result (Step 5)
Procedure
The steps live in co-located files, each read in full at the point named here:
| Steps | File | Read it |
| Handoff envelope, resume pairs, publication order | manual-handoff.md | before accepting any input, and again before Step 5 hands off |
| 0–1: read the gear, load routed inputs, authorize the controller | entry.md | at the start of every run, fresh or resumed |
| 2–5: invoke the packaged controller, report its output, preserve its lifecycle, hand off | controller.md | before invoking the controller |
Only this SKILL.md is meant to stay in context for the whole run; a context compaction can drop the step files you read earlier. Before you act on a step, its file must be fully in view. If it is not — after a compaction, on resume, or when only a summary of it remains — re-read it from this skill's base directory first. Never act on a summary of a step file.
Model Selection
Always set model: explicitly when dispatching a subagent. An omitted model inherits the session model (usually the most capable and most expensive) and silently defeats this policy.
Pick the tier by task complexity and risk:
| Signal | Tier |
| Mechanical / transcription (1-2 files, complete spec) | cheap |
| Integration / multi-file / judgment | standard |
| Design / architecture / high-risk or subtle change | most-capable |
Reviewers floor at standard and rise to most-capable when the artifact is high-risk or subtle.
Turn count beats token price. The cheapest model often takes 2-3× the turns on multi-step work — more wall-clock and context overall. Make a mid-tier model the floor for reviewers and for implementers working from prose; reserve the cheapest tier for transcription tasks whose exact code the plan already contains.
Translate the tier to a concrete model by judgment at dispatch time using your harness's available models. The three tiers are the whole ladder — most-capable is its top rung, not an open-ended "best available". A model that sits above that rung is outside the ladder: never reach it from a tier, and record a one-line reason in the ledger when you override to it. On a harness without per-dispatch model choice, everything runs on the session model — record that in the ledger.
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.

