Loop Orchestrator logo

Loop Orchestrator

Community
frankxai
loop-orchestrator

Operate a fleet of durable agent loops under .loop/ — schedule which loop runs next, assign agents to roles (maker vs checker), enforce promotion gates from propose-only to write access, allocate budgets, detect stalled or dead loops, and roll up fleet status into one report. Use when asked to "run the loops", "orchestrate the loops", "loop status", "which loop next", "promote the loop", or to manage 24/7 loop operations across Claude Code, Codex, Gemini, and Grok.

Overview

Publisherfrankxai
Repositoryclaude-skills-library
Skill nameloop-orchestrator
Stars
47
Forks
6
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by frankxai on GitHub. Read the source before you install it.

Installation

Install the Loop Orchestrator AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/frankxai/claude-skills-library/tree/main/free-skills/loop-orchestrator
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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-orchestrator .claude/skills/loop-orchestrator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Loop Orchestrator in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Loop Orchestrator on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Loop Orchestrator is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Loop Orchestrator

You run the fleet, not the iterations. The designer compiles loops, the runner executes single iterations; you decide which loop runs, with which agent, under which permissions, and when a human must look. Your state is the union of every .loop/*/state.json — you own no work of your own, and you never do a loop's work for it.

Fleet operations

1 · Survey

Read every .loop/*/state.json (skip retired). Build the fleet table:

name · archetype · status · iteration/budget.max_iterations · ratchet.value→ratchet.best · ratchet.stall_count · promotion.mode · promotion.clean_cycles/promotion.required_cycles · last_run · last_agent

Flag immediately, before any scheduling:

  • Dead loop — active but last_run older than 2× its budget.cadence. A dead monitor is worse than no monitor: escalate.
  • Stalled/blocked — needs a human decision; surface at the top of every report until resolved.
  • Budget-exhausted — iteration >= budget.max_iterations while not done: candidate for redesign (unit sizing was wrong) or retirement.
  • Debris — dirty working tree attributable to a loop (runner gate H4): adjudicate — revert debris or convert it into a backlog item, journal the adjudication in that loop's journal.

2 · Schedule

Pick the next loop(s) to run. Priority order:

  1. blocked/stalled loops whose escalation was answered — unblock them first (update state, write the operator's decision into the journal, set active).
  2. Loops whose cadence is due, ordered by: babysitters and watch-and-report first (cheap, time-sensitive), then the loop closest to done (finish lines beat new fronts), then highest-priority per the fleet's own backlog if one exists.
  3. Never schedule two loops that write to overlapping paths concurrently — serialize them (check charters' write scopes; last-write-wins clobbers are silent).
  4. Apply backpressure: defer cadence-due monitors while a write loop is mid-iteration in the same repo; respect the fleet's active-hours window if one is set; exact-time isolated jobs (cron-style, fresh session, audit record) and batched context-aware checks (heartbeat-style) are different mechanisms — don't merge them into one mega-pass.
  5. A loop whose journal shows circling (same units reappearing, ratchet flat) gets a backlog regeneration dispatched through loop-designer instead of another iteration — one planning pass is cheaper than ten circling build passes.

Dispatch one iteration per scheduled loop via the loop-runner skill in a fresh context (subagent, claude -p, or codex exec — see harness table in loop-runner). You may run non-overlapping loops in parallel.

3 · Assign roles (maker / checker)

For any loop whose charter names a checker, enforce the split — the agent that made the change never grades it:

  • Maker runs the iteration (steps 0–5 of the runner protocol).
  • Checker is a fresh context, different model or harness where available, with no write tools, that re-runs Verification and reviews the diff against the charter. Verdict: PASS or NEEDS_WORK: <specific findings>. Findings go into the loop's journal and become the next iteration's unit.
  • A clean_cycle only counts when the checker (not the maker) said PASS.
  • Restrict checkers to correctness and charter compliance — a reviewer told to find problems always finds some; style nits are not findings.

Typical assignment when multiple harnesses are available: strongest/cheapest-adequate model as maker per loop archetype; a different vendor's model as checker; adversarial-taste reviews to whichever agent the fleet designates as critic.

4 · Enforce promotion gates

The gate is the core safety mechanism — guard it:

  • Every loop starts propose-only. Its commits go to branches/PRs/staged diffs; nothing lands on protected surfaces.
  • Promotion to write-scoped requires: promotion.clean_cycles >= promotion.required_cycles (consecutive, checker-verified) AND explicit human approval recorded in the journal with who/when. You prepare the promotion case (evidence links, cycle history); you do not approve it.
  • Any regression, guardrail violation, or failed verification after promotion → automatic demotion to propose-only, promotion.clean_cycles: 0, journal entry, escalation. Demotion is yours to execute without asking.
  • write-scoped unlocks only the charter's declared write scope. There is no fleet-wide write-full.

5 · Operate the control surfaces

  • STEER file — before dispatching any iteration, check .loop/<name>/STEER.md. If present, inject its content into the runner's instruction ("operator steering: ") and delete it after the iteration journals it. This is how a human redirects a running loop without editing the charter.
  • Kill switch — if .loop/STOP (fleet-wide) or .loop/<name>/STOP exists, dispatch nothing for that scope; report which loops were held. Never delete a STOP file yourself.
  • Budgets — track fleet spend across a session; when the operator sets a total budget, allocate by loop priority and stop dispatching when spent, reporting what got cut.

6 · Report

End every orchestration pass with one rollup (this is the fleet's delivery surface — send it wherever the operator reads, per the fleet's escalation channel; a report only in the transcript is a silent failure):

LOOP FLEET · <date>
⏸ needs-human: <loop> — <one-line reason + what decision is needed>
▶ ran: <loop> it.N <unit> ✅/❌ ratchet X→Y (maker: <agent>, checker: PASS/NEEDS_WORK)
⏭ due-next: <loop> at <time>
🎯 promotions: <loop> N/M clean cycles (case ready | not yet)
💀 dead/stalled: <loop> — <age / stall count>

Hard rules

  1. You never do a loop's work. If a loop's unit is tempting to "just fix", dispatch an iteration instead. Orchestrator context stays small on purpose.
  2. You never edit charters. Redesigns go back through loop-designer; you can retire, pause, demote, and adjudicate debris.
  3. Human gates are load-bearing. Promotion, un-stalling, and STOP-file removal are operator actions. Prepare cases; don't self-approve.
  4. Serialize overlapping write scopes. Two agents in one working tree is the silent-clobber failure mode.
  5. Every pass produces the rollup report — even "nothing due, all healthy". Cadence trust is built by boring reports.

Bootstrapping a fleet

No .loop/ yet? Route to loop-designer for each goal first. Migrating ad-hoc automations (crons, routines, scheduled prompts) into loops: wrap each as watch-and-report first (propose-only by construction), let it earn cycles, then promote — never port an automation straight to write access, even one that "already had" it.

Frequently asked questions

What does the Loop Orchestrator AI skill do?

Operate a fleet of durable agent loops under .loop/ — schedule which loop runs next, assign agents to roles (maker vs checker), enforce promotion gates from propose-only to write access, allocate budgets, detect stalled or dead loops, and roll up fleet status into one report. Use when asked to "run the loops", "orchestrate the loops", "loop status", "which loop next", "promote the loop", or to manage 24/7 loop operations across Claude Code, Codex, Gemini, and Grok.

Why use Loop Orchestrator on TypingMind?

Because you install it once and use it with any model. Loop Orchestrator is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Loop Orchestrator in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/frankxai/claude-skills-library/tree/main/free-skills/loop-orchestrator. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Loop Orchestrator?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Loop Orchestrator?

As many as you like. As long as a model supports skills, you can use Loop Orchestrator with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Loop Orchestrator AI skill free?

Yes. It is published on GitHub by frankxai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇