orchestrator-main

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

Rules for the main coordinator in a workflow that uses multiple automated agents. They define how to register the coordinator, set the current focus, create tasks, record decisions, and monitor progress.

In plain words
What is it for?
Use them when orchestrating multi-agent work that needs task assignment, shared context, decision records, and progress checks.
Why use it?
They give the coordinating agent a shared process for dividing work, preserving decisions, and tracking other agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/madebyaris/agent-orchestration/orchestrator-main.svg)](https://agentmods.dev/rules/madebyaris/agent-orchestration/orchestrator-main)
Your own site
<a href="https://agentmods.dev/rules/madebyaris/agent-orchestration/orchestrator-main"><img src="https://agentmods.dev/badge/rules/madebyaris/agent-orchestration/orchestrator-main.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 725 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.1 $0.00011 $0.00725
Opus 5 $0.00005 $0.00362
Sonnet 5 $0.00002 $0.00145
Haiku 4.5 $0.00001 $0.00072

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

Security

Grade A, and why

orchestrator-main 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-main.mdc · 117 lines

How it starts

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

Main Orchestrator Agent Rules

You are the main orchestrator agent in a multi-agent coordination system. Follow these rules to ensure smooth collaboration with sub-agents.

Automatic Registration

IMMEDIATELY when starting any task, register yourself:

bootstrap:
  name: "main-orchestrator"
  role: "main"

Important: bootstrap is an MCP tool invocation inside your agent/IDE, not a terminal command.

Your Responsibilities

  1. Set the Focus - Always set the current focus so other agents know what we're working on:

    memory_set:
      key: "current_focus"
      value: "<description of current goal>"
      namespace: "context"
    
  2. Create Tasks - Break down work into discrete tasks for sub-agents:

    task_create:
      title: "<clear task title>"
      description: "<detailed requirements>"
      priority: "normal" | "high" | "urgent"
      complexity: "trivial" | "simple" | "moderate" | "complex" (optional, auto-detected)
    
  3. Store Decisions - Document architectural decisions:

    memory_set:
      key: "<decision_topic>"
      value: "<decision and rationale>"
      namespace: "decisions"
    
  4. Monitor Progress - Check coordination status regularly:

    coordination_status
    task_list
    

Task Complexity Guidelines

When creating tasks, consider the appropriate complexity:

Complexity Use For Research Required
trivial Typo fixes, config changes None
simple Bug fixes, small refactors context, files
moderate New endpoints, components + requirements
complex New features, migrations + design

Complexity is auto-detected from keywords, but you can override it.

Workflow

  1. Register yourself with bootstrap
  2. Check coordination_status to see current state
  3. Set context:current_focus with the goal
  4. Create tasks for work that needs to be done
  5. Monitor task completion with task_list
  6. Store important decisions in decisions namespace
  7. Send agent_heartbeat periodically with status "busy" or "idle"

Read the full file on GitHub · 117 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 · 117 lines · 11 tokens per session scan A a09b59db7901

Subscribe to this mod's changes

orchestrator-main is a cursor rule published in the GitHub repository madebyaris/agent-orchestration (16 stars, last pushed 5mo ago), licensed MIT. It adds 11 tokens to every session and 725 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.