Skip to content
Skill

Orchestrator task loop

Keeps an Agent Teams task board moving until every task passes its gate

Orchestrator task loop is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
12
Last commit
License
MIT
Listing updated

Similar skills

About Orchestrator task loop

This skill runs an outer supervision loop over the shared task list used by Claude Code Agent Teams. On each pass it reads the board, assigns the highest-priority pending task whose dependencies are complete to any idle teammate, and lets teammates claim and work tasks in their own context windows. When a task is marked completed, its TaskCompleted gate runs; a failing task is returned to pending with the failure as feedback.

Done is decided by a whole-board check rather than by teammates reporting they finished. The loop only stops when every task is completed, has a passing gate verdict, and no dependency points at an unfinished task. It also commits a checkpoint for each task that passes, and it stops with an escalation when it hits an iteration cap, a budget ceiling, or a no-progress circuit breaker.

It requires the CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 environment flag and a seeded task list, and it refuses to start without them, pointing the user to the orchestrator's subagent or sequential path. The skill is marked as experimental and is meant to run attended until it has completed several clean runs.

When your agent uses it

Outer loop over the Agent Teams shared task list: keep assigning the top unblocked task to idle teammates and gating each completed task until every task passes its TaskCompleted gate. Experimental, behind CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1; falls back to the orchestrator otherwise. Trigger on "drain the task board", "keep the team working until done", "agent teams loop".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (28 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the skill-madness plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ivy00johns/Skill-Madness
/plugin install skill-madness@skill-madness

Or copy only this skill to ~/.claude/skills/orchestrator-task-loop:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/orchestrator-task-loop &&
cp -R "$tmp/skills/loops/orchestrator-task-loop" ~/.claude/skills/orchestrator-task-loop &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/orchestrator-task-loop inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/orchestrator-task-loop to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/orchestrator-task-loop &&
cp -R "$tmp/skills/loops/orchestrator-task-loop" ~/.agents/skills/orchestrator-task-loop &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/orchestrator-task-loop inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/orchestrator-task-loop to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/orchestrator-task-loop &&
cp -R "$tmp/skills/loops/orchestrator-task-loop" ~/.cursor/skills/orchestrator-task-loop &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/orchestrator-task-loop inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ivy00johns/Skill-Madness.git --path skills/loops/orchestrator-task-loop

Or copy the folder to ~/.gemini/skills/orchestrator-task-loop yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/orchestrator-task-loop:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/orchestrator-task-loop &&
cp -R "$tmp/skills/loops/orchestrator-task-loop" ~/.copilot/skills/orchestrator-task-loop &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/orchestrator-task-loop inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git

Then copy Skill-Madness/skills/loops/orchestrator-task-loop into your agent's skills folder as orchestrator-task-loop. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Task board assignment
Routes the highest-priority unblocked pending task to each idle teammate.
Whole-board completion check
Re-reads every task and its dependencies before declaring the list drained.
Per-task gate enforcement
Runs each task's TaskCompleted gate and rolls back failed tasks with feedback.
Checkpoint commits
Commits working state after each task passes so progress can be reverted.
Loop safety caps
Applies iteration, budget and no-progress limits that stop the loop and escalate.
Human escalation for blocks
Pauses on ambiguous or blocked tasks and on irreversible actions instead of guessing.

Good for

  • Drain the remaining tasks on an agent team's shared task board
  • Keep idle teammates assigned until all dependent tasks pass their checks
  • Run a team of agents through a seeded list of contract-bounded work units
  • Roll back a task that failed its completion gate and reassign it

Orchestrator task loop FAQ

What does Orchestrator task loop need before it runs?

It needs the CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 environment flag set, a spawned team and a populated shared task list. Without the flag it refuses to start and points to the orchestrator's subagent or sequential path.

Can Claude start this loop on its own?

No. The skill sets disable-model-invocation, so it runs only when typed as /orchestrator-task-loop or dispatched by the orchestrator.

How does Orchestrator task loop decide the work is finished?

It checks the whole board: every task must be completed, have a passing TaskCompleted gate verdict, and have no dependency on an unfinished task. Teammates saying they are done is not enough.

What happens when a task fails its gate?

The task is returned to pending or in_progress with the failure surfaced as feedback, and it does not count toward completion until the gate passes.

How do I install Orchestrator task loop in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/orchestrator-task-loop to use it in all your projects, or to .claude/skills/orchestrator-task-loop in one project. Or install the skill-madness plugin, which includes it: /plugin marketplace add ivy00johns/Skill-Madness, then /plugin install skill-madness@skill-madness.

Does Orchestrator task loop run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Orchestrator task loop?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Orchestrator task loop?

The closest alternatives to Orchestrator task loop are Overnight loop, Loop controller, Autonomous loops, Autonomous loops and Continuous agent loop.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ivy00johns/Skill-Madness

  1. Finds merged and stale git branches, then deletes them only after your confirmation

    • Open source
    • 12 GitHub stars
    • Developer tools
  2. Finds and removes git worktrees whose changes are already merged into main

    • Open source
    • 12 GitHub stars
    • Developer tools
  3. Bulk-scans a skill ecosystem for consistency, quality gaps and ownership conflicts

    • Open source
    • 12 GitHub stars
    • Developer tools
  4. Runs a single-skill quality review covering structure, triggering and output checks

    • Open source
    • 12 GitHub stars
    • Developer tools
  5. Turns skill review or audit reports into a prioritized list of concrete SKILL.md fixes

    • Open source
    • 12 GitHub stars
    • Developer tools
  6. Applies planned edits to SKILL.md files, validates them, and offers to sync

    • Open source
    • 12 GitHub stars
    • Developer tools