Zum Inhalt springen
Skillpedia
Agenten280k · #353

loop-design-check

Was er macht

Dieses Tool hilft dir, einen "Loop" für wiederkehrende KI-Aufgaben zu erstellen oder zu prüfen. Es sorgt dafür, dass die KI dem festgelegten Ziel folgt und nicht hängen bleibt oder falsche Ergebnisse liefert.

Wann du ihn nutzt

  • ✓Wenn du eine Aufgabe erstellst, die die KI viele Male wiederholen muss.
  • ✓Wenn du vermutest, dass eine sich wiederholende KI-Aufgabe hängt oder falsche Ergebnisse liefert.
  • ✓Um sicherzustellen, dass die KI ein klares, messbares Ziel versteht und verfolgt.

Link zum Skill

https://github.com/affaan-m/ECC/blob/main/skills/loop-design-check/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/affaan-m/ECC/blob/main/skills/loop-design-check/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Ich möchte einen Loop erstellen, in dem die KI meine Wochenberichte automatisch prüft und mich über alle Unstimmigkeiten informiert.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Das Tool legt ein klares Ziel fest, das die KI selbst überprüfen kann. Danach richtet es den Loop so ein, dass die KI dieses Ziel anstrebt, mit Mechanismen, die verhindern, dass sie sich verliert oder fehlerhaft arbeitet.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Loop Design + Review

Premise. An LLM is a feed-forward system: prompt in → tokens out, with no built-in "steer toward the goal" across turns. To make it behave like a goal-oriented system, you wrap a feedback loop around it. This skill helps you write that loop correctly and review it so it won't run away.

When to use / not

Use it when:

  • You want to hand a repeating task to an agent that runs over and over (write→test, test→fix, fix→verify…).
  • You already have a loop and worry it spins, cheats, or runs a wrong answer to completion.

Don't use it for:

  • A one-off task → just do it; don't wrap a loop around it.
  • A plain timer / poll → use /loop; no design needed.
  • How to wire the loop architecture (pipelines → DAGs, long-run recovery) → that's the mechanism layer; see autonomous-loops / continuous-agent-loop. This skill only covers "is the goal right, and will it run away" — it does not re-explain mechanism.

Red-line premise: two levels of feedback

Level Who owns it What it does
Execution (low) machine / agent Measures "how far from the literal goal" and grinds it to zero. The machine is strong here.
Judgment (high) human Decides "is this goal itself right, should it change, should it stop." The machine can't step outside its own loop to question the goal.

A thermostat can feed back "how far from 26°C," but when you have a fever and want 28°C it can't judge whether 26 is the right target — it just grinds toward 26. "What to set today" is always the human's call. Handing judgment / sign-off / the last switch to the machine = removing the high-level feedback = it sprints, fast and hard, toward a goal no one questioned → wrong output.


Action 1 — Write a loop (5 steps)

Step 0 · Subtract first: should you even build it? (4-condition gate, any miss = veto)

① the task repeats weekly or more ② verification can be automated ③ the token budget can take it ④ the agent has tools that actually run and see the result

Miss any one → don't build a loop; do it by hand or another way.

What stops most people isn't "can I write a loop," it's "does my repo deserve one." A repo that deserves a loop has a reconciliation baseline (golden sample / upstream total) + tests + a lint guard. A repo that doesn't deserve a loop will only have its errors amplified by one.

Step 1 · Define a machine-decidable goal (the hard part — the loop lives or dies here)

The whole loop rides on the comparator's "is it done yet?" The comparator can only work if your exit condition can be judged yes/no by a machine.

  • Bad: Vague ("make it good," "write it sharper") → the comparator can't judge → either it never passes (stuck retrying) or it guesses (passes/blocks at random).
  • Good: Decidable ("all 96 unit tests green AND a change-list is produced," "module-02 fields filled, pytest passes, business logic untouched") → one check settles it; the loop converges cleanly.

Five-point goal framework:

  1. Done-criterion is machine-verifiable.
  2. Boundary conditions defined alongside the done-criterion ("what it must NOT do") — anti-Goodhart; missing boundaries = a license to cheat.
  3. Has a failure fallback — retry cap N + escalate to a human when exceeded.
  4. Goal is layered.
  5. Prefer reconciliation over assertion for the done-criterion — anchor to external fact (golden sample / upstream total / financial tie-out / platform back-office numbers) before your own assertions. "All tests pass" can be gamed (loosen asserts, fake mocks, swallow exceptions); "diff vs the reference < 0.01" can't.

Self-check: read the goal to someone who doesn't know the domain — can they run one command and tell whether it's done? If not, it isn't decidable enough. Go back.

Step 2 · Pick the loop type

Your task Loop type (cybernetic) How it stops
Has a clear "done" test (write to done / a batch of images processed) servo (/goal-style closed-loop) stops on reaching the goal
No endpoint, must keep maintaining a state (inventory alert / scheduled health check) regulator (/loop-style thermostat) never stops; acts only on change (dead-band suppresses noise)
Periodic sampling, stop on a condition (watch a PR until CI is green) regulator with an exit stops when the exit condition holds

…

Häufige Fragen

Was ist ein KI-"Loop"?

Es ist eine Art fortlaufende Aufgabe für die KI. Statt etwas nur einmal anzufragen, richtest du es so ein, dass sie eine Aktion wiederholt, das Ergebnis prüft und weitermacht, bis das Ziel erreicht ist oder etwas schiefgeht.

Warum kann eine KI den Faden verlieren oder falsche Ergebnisse liefern?

Ohne ein klares, überprüfbares Ziel könnte die KI raten, was du willst, sich endlos im Kreis drehen oder Abkürzungen finden, die nur so tun, als wäre sie fertig, ohne das richtige Ergebnis zu liefern.

Was ist der Unterschied zwischen der "Ausführungsebene" und der "Urteilsebene"?

Die Ausführungsebene ist die KI, die Schritt für Schritt versucht, das Ziel zu erreichen. Die Urteilsebene bist du als Mensch: Du entscheidest, ob das Ziel selbst richtig ist, ob die KI auf dem richtigen Weg ist oder ob sie stoppen muss. Die KI kann das Ziel nicht beurteilen, sondern nur verfolgen.

Details

Originalbeschreibung des Autors

Design a goal-oriented agent loop or review one for failure modes: spinning, Goodhart-gaming the verifier, or running a wrong answer to completion. Covers machine-decidable goals, loop types, plan/build/judge skeletons, and runaway prevention; mechanism wiring lives in autonomous-loops. Use when designing, writing, or checking an agent loop. 中文触发:写 loop、设计 loop、做一个 loop、检查 loop 对不对、loop 体检、loop 会不

repo: affaan-m/ECC

Beliebtheit

GitHub-Sterne
280k
Platz im Ranking
#353
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills