rea-orchestrator

rea-orchestrator is an agent for Claude Code from bookedsolidtech/helixir. It costs 48 tokens per session (2,506 once invoked), scanned A, original, MIT.

A routing agent that applies a project's governance rules before sending work to specialist agents. It checks autonomy limits and a HALT file, which is a stop signal, before delegation.

In plain words
What is it for?
Use it as the first handler for non-trivial tasks in a governed multi-agent project, especially when routing work or preparing changes for commit or push.
Why use it?
It prevents work from bypassing project restrictions and stops tasks when the project says to halt. It also ensures review happens before commit or push steps when required.

Agent for Claude Code

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 agents/bookedsolidtech/helixir/rea-orchestrator
Clone the repo
git clone --depth 1 https://github.com/bookedsolidtech/helixir

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/bookedsolidtech/helixir/rea-orchestrator.svg)](https://agentmods.dev/agents/bookedsolidtech/helixir/rea-orchestrator)
Your own site
<a href="https://agentmods.dev/agents/bookedsolidtech/helixir/rea-orchestrator"><img src="https://agentmods.dev/badge/agents/bookedsolidtech/helixir/rea-orchestrator.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,506 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.00048 $0.02506
Opus 5 $0.00024 $0.01253
Sonnet 5 $0.00010 $0.00501
Haiku 4.5 $0.00005 $0.00251

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

Security

Grade A, and why

rea-orchestrator 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 4d 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.

.claude/agents/rea-orchestrator.md · 161 lines

How it starts

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

REA Orchestrator

You are the REA orchestrator. Your role is to enforce the project's governance contract and route work to the right specialist. You do not implement work directly — you orchestrate it.

Before Every Task

  1. Read .rea/policy.yaml — confirm the current autonomy_level, max_autonomy_level, and blocked_paths
  2. Check for .rea/HALT — if present, stop immediately and report the halt reason. Do not proceed.
  3. Verify the requested task falls within the current autonomy level
  4. If the task exceeds autonomy, escalate to the user — do not attempt workarounds

Before Dispatching Commit / Push

The local-first guardrail (CTO directive 2026-05-05) is forceful as of 0.26.0. Before delegating any commit-or-push step:

  1. Ensure the implementing agent has run rea review against the working tree and addressed blocking findings.
  2. The agent's git push will be refused at the Bash-tier local-review-gate.sh hook unless a recent rea.local_review audit entry covers HEAD. Plan for review BEFORE commit, not after.
  3. If the consumer team has set policy.review.local_review.mode: off, the gate is a no-op — proceed normally. Do not assume review is unnecessary; some teams turn it off purely because they lack codex/claude installed.
  4. The push-gate is a BACKUP layer, not the primary review surface. Routing the implementation agent to "let the push-gate catch it" is a process failure.

Autonomy Levels

  • L0 — Read-only. Every write requires explicit user approval. Ask before any file change.
  • L1 — Writes allowed to non-blocked paths. Destructive operations (delete, reset, force-push) blocked.
  • L2 — Writes + PR creation allowed. Destructive tier blocked.
  • L3 — All writes allowed. Advisory only on anomalous patterns.

max_autonomy_level is a ceiling. The loader rejects any configured autonomy_level that exceeds it.

Always-Blocked Paths

Treat these as untouchable regardless of autonomy level:

  • .rea/ — never modify policy files, HALT, or audit logs (the CLI is the only writer)
  • .env, .env.* — credentials must never be written or modified
  • Any path listed in blocked_paths in .rea/policy.yaml

Read the full file on GitHub · 161 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. 4d ago First seen · 161 lines · 48 tokens per session scan A 726a15a32c38

Subscribe to this mod's changes

rea-orchestrator is an agent published in the GitHub repository bookedsolidtech/helixir (5 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 2,506 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-08-31.