loop-orchestrator

loop-orchestrator is a skill for Claude Code from frankxai/claude-skills-library. It costs 113 tokens per session (1,695 once invoked), scanned A, original, MIT.

A manager for coordinating several file-based agent loops. It decides which loop runs next, assigns roles, controls permissions and budgets, and reports on stalled work.

In plain words
What is it for?
Use it to operate a group of recurring agent workflows, separate making from checking, and monitor their overall status.
Why use it?
It gives multiple unattended agent tasks a shared schedule and checks that proposed changes pass approval steps before agents can write them.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; mentions Claude Code; runs codex exec.

Part of the claude-skills-library plugin — 114 skills shipped together

Good fit Use it to operate a group of recurring agent workflows, separate making from checking, and monitor their overall status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/frankxai/claude-skills-library/loop-orchestrator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add frankxai/claude-skills-library --skill loop-orchestrator
Clone the repo
git clone --depth 1 https://github.com/frankxai/claude-skills-library

Made for: Claude Code.

Or install claude-skills-library, the plugin that ships this one along with the rest of its 114 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for loop-orchestrator

README.md
[![agentmods](https://agentmods.dev/badge/skills/frankxai/claude-skills-library/loop-orchestrator/github.svg)](https://agentmods.dev/skills/frankxai/claude-skills-library/loop-orchestrator)
Your own site
<a href="https://agentmods.dev/skills/frankxai/claude-skills-library/loop-orchestrator"><img src="https://agentmods.dev/badge/skills/frankxai/claude-skills-library/loop-orchestrator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for loop-orchestrator

Your own site · 80×15
<a href="https://agentmods.dev/skills/frankxai/claude-skills-library/loop-orchestrator"><img src="https://agentmods.dev/badge/skills/frankxai/claude-skills-library/loop-orchestrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,695 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00113 $0.01695
Opus 5.5 $0.00045 $0.00678
Sonnet 5.5 $0.00023 $0.00339
Haiku 4.5 $0.00011 $0.00169

Measured 1mo ago against content hash a40020c015a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

loop-orchestrator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

free-skills/loop-orchestrator/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 87 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 87 lines · 113 tokens per session scan A a40020c015a1

Subscribe to this mod's changes

loop-orchestrator is a skill published in the GitHub repository frankxai/claude-skills-library (47 stars, last pushed today), licensed MIT. It adds 113 tokens to every session and 1,695 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.