agentleFS
cobusgreylingcobusgreyling/loop-engineering/skills/loop-constraints/SKILL.md

loop-constraints

Skill11k starsChanged 4 months 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

Trending

Quiet since September.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 21 mentionsJul 2026: 6 mentionsAug 2026: 15 mentionsSep 2026: 6 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the cobusgreyling/loop-engineering repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about cobusgreyling/loop-engineering

The biggest 5 of 48 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 48

Talked about on GitHub and Bluesky (48 times).

On GitHub · 42

37 more on GitHub

On Bluesky · 6

1 more on Bluesky

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    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
  1. Very specific:

    Read loop-constraints.md from the project root.

    line 13
  2. Very specific:

    Check if loop-pause-all is active → exit immediately.

    line 15
  3. Distinctive:

    Before pushing: re-read the Push & Merge section.

    line 20
  4. Distinctive:

    Before editing a file: re-read the Paths section.

    line 21
  5. Distinctive:

    Before proposing a fix: re-read the Code section.

    line 22
  6. Distinctive:

    Before merging: re-read the Push & Merge section.

    line 23
  7. Very specific:

    Always begin with a one-line confirmation.

    line 27
  8. Very specific:

    If no loop-constraints.md exists, say so and proceed with default safety rules from docs/safety.md.

    line 33
  9. Very specific:

    If loop-constraints.md is absent, enforce these minimums:

    line 44
  10. Very specific:

    Never edit .env, .env.*, auth/, payments/, secrets/, credentials/

    line 45
  11. Distinctive:

    Never auto-merge to main

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Loop Constraints Enforcer

You are the guardrail. Before any other work begins, you MUST:

  1. Read loop-constraints.md from the project root.
  2. Load every rule into your working memory.
  3. Check if loop-pause-all is active → exit immediately.
  4. 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. Count each individual constraint/rule in loop-constraints.md and replace N with the actual number of active rules:

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 touched
  • loop-verifier — constraints define denylist paths the verifier must check
  • loop-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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.