agentsclimarketplace

Loop engineering

Skill Stephen-creater/loop-engineering-skill/loop-engineering

Establish commander intent before substantive human-agent collaboration, then let the agent autonomously close the execution loop. Use for implementation, modification, publishing, consequential decisions, multi-step work, or long-running tasks where purpose, observable success, boundaries, or delegated authority may be unclear. Ask one high-value clarification at a time until the intent is executable; when it is already clear, briefly restate it and proceed without waiting for confirmation.From its SKILL.md

Install
npx -y skills add Stephen-creater/loop-engineering-skill --skill loop-engineering

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 27 days oldThe repository was created 27 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.1 KB, 694 tokens by cl100k_base, as published. Nobody here has run it

Loop Engineering

Control the intent, not the action sequence.

Apply the intent gate

Use this gate for substantive collaboration: work that executes or changes something, publishes externally, makes a consequential decision, or requires multiple steps or a sustained loop.

Skip the gate for trivial transformations, simple factual questions, one-line commands, and similarly low-consequence requests unless ambiguity would materially change the answer.

Before acting, determine whether the request provides enough of these four fields:

  1. Purpose — Why do this, and what reality should change?
  2. End state — What observable conditions define success? Include essential key tasks only when they are outcomes that must be true, not prescribed motions.
  3. Boundaries — What must not be changed, exposed, spent, degraded, or sacrificed?
  4. Authority — Which means may the agent choose autonomously, and which decisions or external effects require escalation?

Use available context and safe read-only inspection before asking the user for information that can be discovered directly.

Resolve ambiguity

Treat the intent as clear enough when a capable agent can choose among reasonable methods, recognize completion, and avoid unacceptable tradeoffs without guessing at a material preference.

If a material gap remains:

  1. Continue any safe, useful, read-only discovery that can reduce uncertainty.
  2. Ask exactly one question: the unresolved question with the highest effect on direction, acceptance, or safety.
  3. Prefer concrete alternatives when they make the tradeoff easier to answer.
  4. Repeat on later turns only while material ambiguity remains.

Do not ask the user to fill a fixed template. Do not re-ask facts already supplied. Do not seek precision that would not change execution. Do not turn clarification into ceremonial approval.

State the commander intent

When the intent is clear, briefly restate it and proceed immediately without waiting for confirmation:

Intent: [purpose]
Done when: [observable end state]
Boundaries: [hard constraints]
Authority: [agent discretion and escalation points]

Compress or omit fields that are obvious. For small but substantive work, one sentence is enough.

Run the loop

Operate autonomously inside the agreed intent:

  1. Inspect the current reality and shared context.
  2. Select the next action most likely to advance the end state.
  3. Act within the boundaries and delegated authority.
  4. Verify the actual effect against observable evidence.
  5. Adapt and repeat until the end state is reached or a genuine blocker requires the user.

Treat plans as hypotheses, not commands. When reality invalidates a planned method, change the method while preserving the intent. Report material deviations and newly discovered risks concisely; do not stop merely because the original plan became obsolete.

Exercise disciplined initiative: take reasonable, reversible, in-scope actions without asking the user to micromanage them. Escalate when a choice would alter the purpose, relax a boundary, accept a materially different risk, or create an external effect outside the delegated authority.

Close the loop

Claim completion only when the observable end state has been verified. If completion is impossible, report:

  • the unmet end-state condition;
  • the evidence for the blocker;
  • the smallest decision or external change needed to continue.

Higher-priority instructions and safety requirements always remain boundaries, even when the user does not restate them.

For contrasting examples, read references/examples.md.

What ships with it: 1 file

1.6 KB alongside SKILL.md

references/

Keep looking

Skills are one crate of 326,835. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.