orchestration-protocols

orchestration-protocols is a skill for Claude Code, Codex from monkilabs/opencastle. It costs 39 tokens per session (1,070 once invoked), scanned A, original, MIT.

A set of procedures for coordinating multiple software agents, including parallel tasks, health checks, timeouts, circuit breakers, and escalation. It describes how to divide work and respond when delegated tasks go wrong.

In plain words
What is it for?
Use it to split independent work across agents, monitor delegated tasks, stop stalled work, handle failures, and enforce file and scope boundaries.
Why use it?
Multi-agent work can become difficult to control when tasks fail, change unrelated files, exceed their scope, or wait indefinitely. These procedures provide checks for keeping delegated work on track.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/monkilabs/opencastle/orchestration-protocols
Any agent
npx skills add monkilabs/opencastle --skill orchestration-protocols
Clone the repo
git clone --depth 1 https://github.com/monkilabs/opencastle

Made for: Claude Code, Codex.

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 orchestration-protocols

README.md
[![agentmods](https://agentmods.dev/badge/skills/monkilabs/opencastle/orchestration-protocols.svg)](https://agentmods.dev/skills/monkilabs/opencastle/orchestration-protocols)
Your own site
<a href="https://agentmods.dev/skills/monkilabs/opencastle/orchestration-protocols"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/orchestration-protocols.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,070 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00039 $0.01070
Opus 5 $0.00019 $0.00535
Sonnet 5 $0.00008 $0.00214
Haiku 4.5 $0.00004 $0.00107

Measured yesterday against content hash 9b5cb8d75d38, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

orchestration-protocols 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.

src/orchestrator/skills/orchestration-protocols/SKILL.md · 122 lines

How it starts

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

Orchestration Protocols

Runtime patterns for delegated agents.

Active Steering

Intervene early on:

Signal Action
Failing tests/builds Check dependency resolution; revert if builds break
Unexpected file changes Revert; enforce partition
Scope creep Redirect to scoped files only
Circular behavior Halt; switch approach
Intent misunderstanding Clarify prompt; re-delegate

When redirecting, state why + how:

"Don't modify libs/data/src/lib/product.ts — shared across features. Add the new query in libs/data/src/lib/reviews.ts."

Sub-agents: steer live, within the first 5 min. Background agents: no live steering — front-load prompt specificity, partition constraints, acceptance criteria checklists.

Background Agents

Run autonomously in isolated Git worktrees. Reserve for well-scoped tasks >5 min with clear acceptance criteria.

  • Spawn: Delegate Session → Background → Select agent → Enter prompt
  • Interrupted: opencastle convoy resume picks up where the run stopped

Parallel Research Protocol

Spawn parallel research sub-agents if: ≥3 independent questions AND answers span multiple codebase areas — else handle sequentially.

Spawn Strategy

Rule Detail
Divide by topic/area Each researcher owns a coherent domain
Max 3–5 researchers More: diminishing returns, token waste
Focused scope per agent Explicit dirs, file patterns, or questions
Economy/Standard tier Manage cost for research sub-agents

Prompt template:

Research: [specific question]
Scope: [files/directories to search]
Return: key findings, relevant file paths (with line numbers), patterns, unanswered questions

Result Merge Protocol

  1. Collect all results into single context
  2. Checkpoint: verify every researcher returned a result (no timeout/error); re-run failures before proceeding.
  3. Deduplicate (same file/pattern counts once)
  4. Resolve conflicts — specific evidence beats general observations
  5. Synthesize into concise context block for implementation prompts
  6. Checkpoint: confirm synthesized block covers every original question; mark unanswered as blockers.

Read the full file on GitHub · 122 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 First seen · 122 lines · 39 tokens per session scan A 9b5cb8d75d38

Subscribe to this mod's changes

orchestration-protocols is a skill published in the GitHub repository monkilabs/opencastle (61 stars, last pushed 7d ago), licensed MIT. It adds 39 tokens to every session and 1,070 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

product-architect

Complete product development system with 80 agents and 36 frameworks. Use when the user wants to build a product, write a PRD, plan an MVP or roadmap, design an app, research a market or check whether a feature already exists or is novel, do competitive analysis, run a security audit, build a financial model, plan…

ankitjha67/product-architect · 253 tokens

codex-delegation

Use when a coding task would benefit from delegating work to Codex in the background — a deep independent second opinion, security or architecture analysis, or a parallel implementation running while the session continues. Lets Claude drive the codex companion itself (task, review, status --wait, result) without the…

zebbern/agent-collab · 74 tokens

cursor-delegation

Use when a coding task would benefit from delegating work to Cursor in the background — fast parallel implementation, scaffolding, or an everyday review running while the session continues. Lets Claude drive the cursor companion itself (task, review, status --wait, result) without the user typing /cursor: commands.

zebbern/agent-collab · 66 tokens

cursor-cli-runtime

Internal helper contract for calling the cursor-companion runtime from Claude Code.

zebbern/agent-collab · 17 tokens

cursor-prompting

Internal guidance for composing cursor-agent prompts and picking models for coding, review, diagnosis, and research tasks inside the Cursor Claude Code plugin.

zebbern/agent-collab · 31 tokens

cursor-result-handling

Internal guidance for presenting Cursor helper output back to the user.

zebbern/agent-collab · 16 tokens