orchestrator-sequences

orchestrator-sequences is a skill for Claude Code from closedloop-ai/claude-plugins. It costs 130 tokens per session (741 once invoked), scanned A, original, Apache-2.0.

A shared set of step-by-step procedures for software-planning orchestrators, which are automated workflows that coordinate planning and implementation tasks. It defines how plans are checked and when work must pause for the user.

In plain words
What is it for?
Use it to coordinate plan validation, correction, semantic checks, and user approval steps in an automated coding workflow.
Why use it?
It keeps several workflow prompts using the same rules, so a change does not have to be copied into multiple places. It also reduces inconsistent validation and hand-off behaviour.

Skill for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable. Also seen: mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the code plugin — 13 skills, 6 commands, 23 agents, 7 hooks shipped together

Good fit Use it to coordinate plan validation, correction, semantic checks, and user approval steps in an automated coding workflow.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add closedloop-ai/claude-plugins
Claude Code
/plugin install code

Made for: Claude Code.

Or install code, the plugin that ships this one along with the rest of its 13 skills, 6 commands, 23 agents, 7 hooks.

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 orchestrator-sequences

README.md
[![agentmods](https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/orchestrator-sequences/github.svg)](https://agentmods.dev/skills/closedloop-ai/claude-plugins/orchestrator-sequences)
Your own site
<a href="https://agentmods.dev/skills/closedloop-ai/claude-plugins/orchestrator-sequences"><img src="https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/orchestrator-sequences/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 orchestrator-sequences

Your own site · 80×15
<a href="https://agentmods.dev/skills/closedloop-ai/claude-plugins/orchestrator-sequences"><img src="https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/orchestrator-sequences.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 741 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.00130 $0.00741
Opus 5.5 $0.00052 $0.00296
Sonnet 5.5 $0.00026 $0.00148
Haiku 4.5 $0.00013 $0.00074

Measured yesterday against content hash 0942df26c671, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

orchestrator-sequences 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 yesterday.

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.

plugins/code/skills/orchestrator-sequences/SKILL.md · 33 lines

How it starts

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

Orchestrator Reusable Procedures

These two procedures are referenced by name throughout the orchestrator prompts (prompt.md, plan-prompt.md, execute-prompt.md). They live here as the single source of truth so a change propagates to all three orchestrators at once. Substitute $CLOSEDLOOP_WORKDIR with the literal resolved workdir path in any subagent prompt (never the literal string $CLOSEDLOOP_WORKDIR).

PLAN_VALIDATION_SEQUENCE

Use this sequence whenever a phase needs full plan validation (structural + semantic):

  1. Activate code:plan-validate skill (runs Python script against $CLOSEDLOOP_WORKDIR)
  2. If FORMAT_ISSUES: launch @code:plan-writer to fix format issues, then re-activate code:plan-validate
  3. If VALID: launch @code:plan-validator with prompt: "WORKDIR=$CLOSEDLOOP_WORKDIR. SEMANTIC ONLY: Check semantic consistency of $CLOSEDLOOP_WORKDIR/plan.json — verify storage/query alignment and task/architecture decision consistency. Skip structural validation (already passed)."
  4. If semantic check finds issues: launch @code:plan-writer to fix, then re-activate code:plan-validate

AWAITING_USER_SEQUENCE

Use this sequence at any hard-stop that requires user action before continuing. The caller supplies the per-site phase, reason, file (path or null), and command (the resume command — built from the resolved CLOSEDLOOP_ORIGINAL_ARGS value, never the literal string $ARGUMENTS):

  1. FIRST — Write state.json with AWAITING_USER status: echo '{"phase": "<current phase>", "status": "AWAITING_USER", "reason": "<why>", "userAction": {"description": "<what user should do>", "file": "<path or null>", "command": "<resume command>"}, "timestamp": "'$(date -u +%Y-%m-%dT%H:%M:%SZ)'"}' > $CLOSEDLOOP_WORKDIR/state.json
  2. Record the native-command terminal iteration once: bash "$CLAUDE_PLUGIN_ROOT/scripts/record_native_iteration_once.sh" "$CLOSEDLOOP_WORKDIR" 2>/dev/null || true
  3. ONLY AFTER state.json is written: Output your command's completion promise: <promise>PLAN_COMPLETE</promise> for /code:create-plan, <promise>IMPLEMENTATION_COMPLETE</promise> for /code:execute-implementation, or <promise>COMPLETE</promise> for /code:code. Use the single promise token defined by your own prompt.
  4. Tell the user what to do (review file, fix issues, run command)
  5. HARD STOP — Do not continue even if the user asks

Read the full file on GitHub · 33 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. yesterday Changed · +1 tokens per session 0942df26c671
  2. 1mo ago First seen · 33 lines · 129 tokens per session scan A 3aa510952187

Subscribe to this mod's changes

orchestrator-sequences is a skill published in the GitHub repository closedloop-ai/claude-plugins (122 stars, last pushed today), licensed Apache-2.0. It adds 130 tokens to every session and 741 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-07.