autoloop
Skill0 starsChanged 3 months agoMITView on GitHub
Run this repository's bounded specification-driven development loop from product intake through specification, implementation, GitHub Issue, pull request, CI repair, independent Codex review, and safe auto-merge. Use when the user invokes $autoloop or asks to build a product, feature, or substantial behavior autonomously in this template.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- sameerhimati/claude-code-kittheir own version, first seen Aug 14, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- sameerhimati/claude-code-kit★ 1same 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 repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- autoloop-setupSkill
- autoloop-statusSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 9 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
8
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 12
Read AGENTS.md, .autoloop/config.json, .autoloop/state.json, and .autoloop/policies/*.md completely.
- Very specific: line 13
Run python scripts/autoloop/autoloop.py doctor and python scripts/autoloop/autoloop.py validate.
- Distinctive: line 15
If the state has an active unfinished feature, resume it.
- Distinctive: line 16
Read only the phase reference needed next:
- Very specific: line 24
Use scripts/autoloop/autoloop.py for all state transitions, counters, evidence, and specification locking.
- Distinctive: line 39
Do not merge in the blocked state.
- Very specific: line 44
Specification: - create the five artifacts under specs/<slug>/, critique them independently, repair findings, validate, and lock the digest.
- Very specific: line 45
Specification delivery: - when GitHub is configured, put the locked specification on a dedicated spec/<slug> branch and managed pull …
- Distinctive: line 46
Issue: - create one implementation Issue from the locked specification and store its URL or number as evidence.
- Very specific: line 47
Implementation: - create feat/<issue>-<slug> and implement tasks against the acceptance criteria and locked traceability plan.
- Very specific: line 48
Local verification: - run validate, verify, and repository tests.
- Very specific: line 54
Do not begin product implementation before SPEC_LOCKED.
- Distinctive: line 55
Do not rewrite locked specification files from an implementation branch.
- Distinctive: line 56
Do not modify protected control paths in a managed feature pull request.
- Distinctive: line 57
Do not weaken, skip, delete, or suppress a gate to make it pass.
- Distinctive: line 60
Do not expose secrets.
- Distinctive: line 61
Do not claim completion without evidence tied to the latest or merged commit.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex AutoLoop
Turn a product goal into a locked specification and verified implementation. Continue autonomously after intake while evidence passes; stop closed as AUTOMATION_BLOCKED if a limit or safety boundary is reached.
Start
- Read
AGENTS.md,.autoloop/config.json,.autoloop/state.json, and.autoloop/policies/*.mdcompletely. - Run
python scripts/autoloop/autoloop.py doctorandpython scripts/autoloop/autoloop.py validate. Usepython3if required by the host. - Inspect the repository and existing product before proposing behavior. Preserve unrelated user changes.
- If the state has an active unfinished feature, resume it. Do not start a second feature over it.
- Read only the phase reference needed next:
- intake and scope:
references/intake.md - specification and critique:
references/specification.md - implementation and local convergence:
references/implementation.md - Issue, pull requests, review loops, and merge:
references/shipping.md
- intake and scope:
State discipline
Use scripts/autoloop/autoloop.py for all state transitions, counters, evidence, and specification locking. Do not hand-edit .autoloop/state.json to bypass validation.
After every phase:
- validate the repository;
- record current evidence;
- transition only through an allowed edge;
- continue immediately if the next step is authorized and safe.
On failure, diagnose and repair within the corresponding configured loop limit and total runtime. Increment the counter before retrying. If a limit is exhausted or the same cause repeats beyond its limit, run:
python scripts/autoloop/autoloop.py block --reason "concise evidence-backed reason"Do not merge in the blocked state.
Required lifecycle
- Intake - obtain or infer enough information to specify observable behavior. Questions gather requirements, not approval.
- Specification - create the five artifacts under
specs/<slug>/, critique them independently, repair findings, validate, and lock the digest. - Specification delivery - when GitHub is configured, put the locked specification on a dedicated
spec/<slug>branch and managed pull request; let required checks and auto-merge complete. - Issue - create one implementation Issue from the locked specification and store its URL or number as evidence.
- Implementation - create
feat/<issue>-<slug>and implement tasks against the acceptance criteria and locked traceability plan. - Local verification - run
validate,verify, and repository tests. Repair within bounds. - Implementation delivery - open a managed pull request that closes the Issue, wait for current-head CI and the native Codex review gate, repair actionable findings, and re-run all evidence.
- Merge - arm GitHub auto-merge only through the included workflow. Confirm the merged commit, then transition through
MERGEDtoDONEand close the Issue if it was not closed automatically.
Non-negotiable rules
- Do not begin product implementation before
SPEC_LOCKED. - Do not rewrite locked specification files from an implementation branch.
- Do not modify protected control paths in a managed feature pull request.
- Do not weaken, skip, delete, or suppress a gate to make it pass.
- Require
codex-review-gateevidence from a native Codex review of the latest head; do not accept a stale review from an older commit. - Do not force-push.
- Do not expose secrets.
- Do not claim completion without evidence tied to the latest or merged commit.
Handoff
For DONE, report the goal, locked-spec path, Issue, pull requests, merged commit, tests and gates, and any recorded assumptions. For AUTOMATION_BLOCKED, report the exact phase, failure evidence, attempts used versus limit, and the smallest safe action needed to resume.
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.

