Logo von Loop Runner

Loop Runner

Community
frankxai
loop-runner

Execute exactly one disciplined iteration of a designed loop from .loop/<name>/ (LOOP.md charter + state.json + journal.md). Use when asked to "run the loop", "run one iteration of <loop>", "continue the <name> loop", or when invoked on a cadence (cron, /loop, while-loop) against a loop directory. Works identically under Claude Code, Codex, Gemini CLI, or any coding agent — state lives in files, not in this conversation.

Übersicht

Herausgeberfrankxai
Repositoryclaude-skills-library
Skill-Nameloop-runner
Sterne
47
Forks
6
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von frankxai auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Loop Runner in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/frankxai/claude-skills-library/tree/main/free-skills/loop-runner
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/frankxai/claude-skills-library.git /tmp/claude-skills-library
mkdir -p .claude/skills
cp -r /tmp/claude-skills-library/free-skills/loop-runner .claude/skills/loop-runner
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Loop Runner in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Loop Runner automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Loop Runner nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Loop Runner

You are one iteration of a durable loop. You start cold, you finish clean, and everything you learn goes into files — the next iteration (possibly a different agent, possibly you tomorrow) knows only what the loop directory says. Run exactly one unit; resist finishing "just one more".

The iteration protocol

Execute in order. Do not skip, reorder, or batch steps.

0 · Load

Read, in this order: .loop/<name>/LOOP.md (the whole charter), .loop/<name>/signs.md (every line is a binding rule earned from a past failure — treat them like Guardrails), .loop/<name>/state.json, the last 3 entries of .loop/<name>/journal.md, and .loop/<name>/backlog.md if the archetype uses one. Do not read the full journal — old entries are archive, not context.

1 · Gate

Refuse to run (exit with one journal line explaining why) if ANY of:

  • .loop/STOP or .loop/<name>/STOP exists — the operator's kill switch. Never delete a STOP file.
  • status is paused, stalled, blocked, done, or retired — only an operator or the orchestrator changes those.
  • iteration >= budget.max_iterations.
  • Done-when already passes → set status: done, journal it, report, stop.
  • The working tree is dirty with changes this loop didn't journal → set status: blocked, escalate per charter (H4 debris — a prior iteration died; a human or the orchestrator must adjudicate, not you).

Then check .loop/<name>/STEER.md. If present, it is live operator steering: incorporate it into this iteration's choices, quote it in the journal entry, then delete the file. Steering outranks the journal's Next: hint but never overrides Guardrails or promotion mode.

2 · Pick

Select the single unit per the charter's Iteration contract (top eligible backlog item; next failing test; the current blocker for a babysitter; …). If the last journal entry's Next: names a unit, prefer it unless it's now ineligible. If the same unit appears in the last 2 entries with ❌, you MUST take a different approach or escalate — never re-run a failed approach verbatim.

3 · Do

Complete the unit within the charter's Guardrails and wall-clock budget. Touch only what the unit requires. If mid-unit you discover it's oversized, stop at a coherent boundary, split the remainder into new backlog items, and treat the completed part as your unit.

4 · Verify

Run every command in the charter's Verification section and read the ratchet via its "Read via" command. This step is not optional and not skippable under time pressure — an unverified unit is a failed unit. Evidence, not assertions: the journal gets the actual command output (exit code, counts, failing test names), never "tests pass". You may not record a result you did not observe this iteration. An iteration that produced no changes counts as no ratchet movement (stall_count+1), even if nothing failed.

  • All pass + ratchet moved right (or held, for non-ratchet units) → proceed.
  • Ratchet regressed → revert your changes now (git restore / revert), journal the regression with the ❌ flag. Do not debug forward. Do not leave the regression for the next iteration.
  • Verification fails → fix within budget or revert. Never record a ❌ unit as done.
  • Any failure with an identifiable cause → append one line to .loop/<name>/signs.md: a rule that would have prevented it ("do not edit generated files under X — regenerate", "run the schema migration before the type check"). Signs come only from observed failures — never add speculative ones.
  • You overran the wall-clock budget noticeably? Treat it as a drift alarm even if verification passed — journal what made the unit slow; it usually means a wrong mental model or an oversized unit (propose the split in Next:).

5 · Record

In this order (order matters — a crash between steps must never leave done-looking state with no evidence):

  1. Append the journal entry to .loop/<name>/journal.md (format in the loop's state-schema reference — Unit / Did / Verify with actual command output / Ratchet old→new / Next / Flags).
  2. Update .loop/<name>/state.json: iteration+1, ratchet.value (and ratchet.best), ratchet.stall_count (0 if moved, +1 if not), promotion.clean_cycles (+1 if clean; reset to 0 on any ❌, regression, or guardrail near-miss), last_run, last_agent.
  3. Strike through / advance the unit in .loop/<name>/backlog.md.
  4. Commit if the loop's promotion mode allows it; otherwise leave the change as a proposal per the charter (branch, PR, or staged diff — whatever the charter says). Working tree must end clean-or-committed either way.

6 · Report & handoff

  • ratchet.stall_count >= ratchet.stall_threshold → before escalating to a human, take one in-loop escalation if the charter allows it: hand the blocker (files + failed approaches from the journal) to a stronger reasoner or a fresh different-vendor model for a hypothesis. If that iteration also fails → set status: stalled and escalate per the charter's Escalation channel — a real message to a human, not a journal line. Recommend a backlog regeneration if the journal shows circling.
  • Done-when now passes → status: done, escalate the good news the same way.
  • Nothing needed attention (watch loops, no-change cycles) → reply exactly the charter's OK-token (default LOOP_OK) and suppress any channel report — the silence contract is what keeps the human reading the reports that matter.
  • Otherwise: one-line report (iteration N: <unit> ✅, ratchet X→Y, next: <unit>) and stop. Never start iteration N+1 yourself — cadence belongs to the scheduler (cron, /loop, while-loop, orchestrator), not to you.

Hard rules

  1. One unit per iteration. The loop's convergence proof depends on it.
  2. Files are the only memory. Anything worth knowing goes in .loop/<name>/ (journal/state/backlog/signs) before you exit.
  3. Propose-only means propose-only. If promotion.mode is propose-only, you do not commit to protected branches, publish, send, deploy, or spend — no matter what the unit seems to need. The gate is the point.
  4. Escalations must leave the loop directory. Slack, PR comment, inbox file — per charter. Journal-only escalation is a silent failure.
  5. Never edit LOOP.md. Charter changes are the designer's/operator's job. If the charter is wrong, escalate with the specific defect.

Running under different harnesses

The protocol is identical everywhere; only the scheduler differs.

HarnessOne iterationCadence
Claude Codeclaude -p "run one iteration of .loop/<name> per loop-runner" --output-format jsonnative /loop 30m <same>, Stop-hook driver, or cron
Codex CLIcodex exec --sandbox workspace-write --output-last-message /tmp/out.md "run one iteration of .loop/<name> per the loop-runner skill"while :; do codex exec "…"; sleep 1800; done or cron
Gemini / Grok / otherequivalent one-shot exec with the same instructioncron / while-loop
Cloud (CCR routines, Actions)schedule the one-iteration instructionplatform cron

Driver-loop notes: agent progress streams to stderr, final message to stdout — keep stdout clean for the driver to parse. In CI, scope API keys to the single exec invocation (never job-level env — repo-controlled code inside the loop can read job env). Fresh context per iteration is a feature — do not "optimize" it away by running many iterations in one long session; that reintroduces the context rot the loop exists to prevent.

Häufig gestellte Fragen

Was macht der KI-Skill Loop Runner?

Execute exactly one disciplined iteration of a designed loop from .loop/<name>/ (LOOP.md charter + state.json + journal.md). Use when asked to "run the loop", "run one iteration of <loop>", "continue the <name> loop", or when invoked on a cadence (cron, /loop, while-loop) against a loop directory. Works identically under Claude Code, Codex, Gemini CLI, or any coding agent — state lives in files, not in this conversation.

Warum Loop Runner in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Loop Runner besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Loop Runner in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/frankxai/claude-skills-library/tree/main/free-skills/loop-runner ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Loop Runner nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Loop Runner verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Loop Runner damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Loop Runner kostenlos?

Ja. Der Skill wird von frankxai auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇