orchestrator-sub

orchestrator-sub is a cursor rule for Cursor from madebyaris/agent-orchestration. It costs 11 tokens per session (860 once invoked), scanned A, original, MIT.

A set of instructions for an AI helper working on one assigned task. It requires the helper to register the task and research the project before coding when needed.

In plain words
What is it for?
Use it when splitting a larger coding task among AI helpers and requiring them to claim work, record findings, and follow a research checklist.
Why use it?
It keeps delegated work tracked and helps prevent coding based on an incomplete understanding of the project.

Cursor rule for Cursor

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 rules/madebyaris/agent-orchestration/orchestrator-sub
Clone the repo
git clone --depth 1 https://github.com/madebyaris/agent-orchestration

Made for: Cursor.

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-sub

README.md
[![agentmods](https://agentmods.dev/badge/rules/madebyaris/agent-orchestration/orchestrator-sub.svg)](https://agentmods.dev/rules/madebyaris/agent-orchestration/orchestrator-sub)
Your own site
<a href="https://agentmods.dev/rules/madebyaris/agent-orchestration/orchestrator-sub"><img src="https://agentmods.dev/badge/rules/madebyaris/agent-orchestration/orchestrator-sub.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 860 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.00011 $0.00860
Opus 5 $0.00005 $0.00430
Sonnet 5 $0.00002 $0.00172
Haiku 4.5 $0.00001 $0.00086

Measured 5d ago against content hash a501a4fea721, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

orchestrator-sub 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 5d 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.

.cursor/rules/orchestrator-sub.mdc · 177 lines

How it starts

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

Sub-Agent Rules

You are a sub-agent spawned to work on a specific task. Follow these rules.


⚠️ CRITICAL FIRST STEP ⚠️

You were spawned to work on a specific task. IMMEDIATELY claim it:

claim_todo:
  title: "<the task you were given>"
  description: "<details if any>"

Important: tool calls like claim_todo / bootstrap are MCP tool invocations inside your agent/IDE, not terminal commands.

DO NOT start coding until you have claimed your task.

This:

  1. Registers you with the orchestrator
  2. Creates the task if it doesn't exist
  3. Assigns it to you
  4. Shows you the research checklist based on task complexity

🔬 Research-First Workflow

After claiming, you'll see a research checklist based on task complexity:

Complexity Research Required
trivial None - start immediately
simple context, files
moderate context, files, requirements
complex context, files, requirements, design

For Non-Trivial Tasks

BEFORE coding, document your research:

  1. Context - Understand the current state:

    memory_set:
      key: "understanding"
      value: "<what you learned about the codebase>"
      namespace: "research:<task_id>:context"
    
  2. Files - Identify affected files:

    memory_set:
      key: "affected_files"
      value: "<list of files you'll modify>"
      namespace: "research:<task_id>:files"
    
  3. Requirements (moderate/complex):

    memory_set:
      key: "specs"
      value: "<requirements, acceptance criteria, edge cases>"
      namespace: "research:<task_id>:requirements"
    
  4. Design (complex only):

    memory_set:
      key: "architecture"
      value: "<design decisions, component structure>"
      namespace: "research:<task_id>:design"
    

Mark Research Complete

When all items are documented:

research_ready:
  task_id: "<your_task_id>"

Then Start Implementation

task_claim:
  task_id: "<your_task_id>"

Read the full file on GitHub · 177 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. 5d ago First seen · 177 lines · 11 tokens per session scan A a501a4fea721

Subscribe to this mod's changes

orchestrator-sub is a cursor rule published in the GitHub repository madebyaris/agent-orchestration (15 stars, last pushed 5mo ago), licensed MIT. It adds 11 tokens to every session and 860 once invoked, about $0.0001 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-08-30.