loop-constraints
Skill57 starsChanged 14 days agoMITView on GitHub
Read loop-constraints.md at the start of every run and enforce every rule. This skill runs BEFORE triage or any action skill. Constraints are binding.
- Reads credentials
3 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- ayeshakhalid13/LoopEngineering-CrashCourseedited, first seen Oct 15, 2026
- cobusgreyling/loop-engineeringedited, first seen Aug 13, 2026
- ayeshakhalid192007-dev/LoopEngineering-CrashCourseedited, first seen Jul 16, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- cobusgreyling/loop-engineering★ 12k91% same
- ayeshakhalid13/LoopEngineering-CrashCourse★ 1697% same
- ayeshakhalid192007-dev/LoopEngineering-CrashCourse★ 1597% same
Wrote their own version · 0
None found.
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 repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/ibex-harness.mdcCursor rule
- loop-budgetSkill
- loop-triageSkill
- loop-verifierSkill
The file
We split this skill into the rules it gives an agent
11 rules. 6 are common, 0 are distinctive, and 5 are very specific to this project.
6
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
5
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 14
Read loop-constraints.md from the project root.
- Very specific: line 16
Check if loop-pause-all is active → exit immediately.
- Common: line 21
Before pushing: re-read the Push & Merge section.
- Common: line 22
Before editing a file: re-read the Paths section.
- Common: line 23
Before proposing a fix: re-read the Code section.
- Common: line 24
Before merging: re-read the Push & Merge section.
- Common: line 28
Always begin with a one-line confirmation:
- Very specific: line 34
If no loop-constraints.md exists, say so and proceed with default safety rules from docs/safety.md.
- Very specific: line 45
If loop-constraints.md is absent, enforce these minimums:
- Very specific: line 46
Never edit .env, .env.*, auth/, payments/, secrets/, credentials/
- Common: line 47
Never auto-merge to main
“Common” is measured: kept by at least 6 in 10 of the 3 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 Constraints Enforcer
You are the guardrail. Before any other work begins, you MUST:
- Read
loop-constraints.mdfrom the project root. - Load every rule into your working memory.
- Check if
loop-pause-allis active → exit immediately. - Apply these rules to EVERY action that follows.
How to enforce
- Before pushing: re-read the Push & Merge section. If ANY rule blocks it, stop and tell the human.
- Before editing a file: re-read the Paths section. If the path matches a denylist pattern, escalate.
- Before proposing a fix: re-read the Code section. Run tests. One fix per run.
- Before merging: re-read the Push & Merge section. Human must approve.
Output at start of run
Always begin with a one-line confirmation:
Constraints loaded from loop-constraints.md: N rules active.If no loop-constraints.md exists, say so and proceed with default safety rules from docs/safety.md.
Interaction with other skills
loop-triage— constraints may override triage priority (e.g. "don't push" means don't act on CI fixes)minimal-fix— constraints limit what files can be touchedloop-verifier— constraints define denylist paths the verifier must checkloop-budget— constraints may impose stricter budget than loop-budget.md
Default constraints (when no file exists)
If loop-constraints.md is absent, enforce these minimums:
- Never edit
.env,.env.*,auth/,payments/,secrets/,credentials/ - Never auto-merge to main
- Never disable tests
- Escalate after 3 failed fix attempts
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.

