agent-os: Agent for Claude Code

.claude/agents/review-orchestrator-safety.md

review-orchestrator-safety is an agent for Claude Code from saadnvd1/agent-os. It costs 75 tokens per session (1,879 once invoked), scanned A, original, MIT.

A safety-focused code-review agent for an orchestrator that starts agents and can merge their work. It checks approvals, merge rules, workspace boundaries, brakes, and isolation between agents.

In plain words
What is it for?
Use it to review orchestrator, task, stack, gate, approval, tool, and sign-off changes.
Why use it?
It helps prevent an automated system from starting, approving, or merging work when a required safety condition is missing or bypassed.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is saadnvd1/agent-os's own configuration. It tells Claude Code how to work on agent-os itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-os configures →

Reuse

Borrowing it

Nothing to install: this file belongs to saadnvd1/agent-os. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/saadnvd1/agent-os/main/.claude/agents/review-orchestrator-safety.md
Clone the repo
git clone --depth 1 https://github.com/saadnvd1/agent-os

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 review-orchestrator-safety

README.md
[![agentmods](https://agentmods.dev/badge/agents/saadnvd1/agent-os/review-orchestrator-safety/github.svg)](https://agentmods.dev/agents/saadnvd1/agent-os/review-orchestrator-safety)
Your own site
<a href="https://agentmods.dev/agents/saadnvd1/agent-os/review-orchestrator-safety"><img src="https://agentmods.dev/badge/agents/saadnvd1/agent-os/review-orchestrator-safety/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 review-orchestrator-safety

Your own site · 80×15
<a href="https://agentmods.dev/agents/saadnvd1/agent-os/review-orchestrator-safety"><img src="https://agentmods.dev/badge/agents/saadnvd1/agent-os/review-orchestrator-safety.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,879 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.00075 $0.01879
Opus 5.5 $0.00030 $0.00752
Sonnet 5.5 $0.00015 $0.00376
Haiku 4.5 $0.00007 $0.00188

Measured 17d ago against content hash 5bb30b9a0bed, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

review-orchestrator-safety 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 17d 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/review-orchestrator-safety.md · 83 lines

How it starts

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

Orchestrator safety review

The orchestrator is an agent that starts other agents and merges their work through gates. Saad trusts it to run without him because every merge, start and approval passes rules that can't be talked around. Flag changes that let something merge, start or get approved when it shouldn't. Only flag code introduced or modified by this branch, or old paths it makes reachable.

Read first: lib/orchestrator/brief.ts (the rules the orchestrator agent is told), gates.ts, signoff.ts, brakes.ts, asks.ts, ask-approvals.ts, presence-binding.ts, review.ts, claude-cli.ts, scope.ts, tools.ts/tool-schemas.ts, lib/tasks/finish.ts, lib/tasks/code-review.ts, lib/stacks/land.ts.

Process

  1. Changed files: use the list in your prompt. If none was given: with a PR number, gh pr diff <NUMBER> --name-only; otherwise git diff main...HEAD --name-status -M plus git status --short --untracked-files=all. Read new files whole and git diff main -- <file> for changed ones.
  2. For each changed gate, tool, route or state transition, ask: what does it do when its input is missing, stale, unreadable, errored, or from a different workspace? What does it do when the head moves between judging and merging?
  3. Check every rule below. Compare the brief's promises (lib/orchestrator/brief.ts) to what the code enforces: a rule only in the brief is a request, not a guard.
  4. Report.

Rules

Gates fail closed A gate whose input is missing, unparseable, stale or errored must wait or refuse, never pass. Flag: a catch that returns pass or null-as-ok; ?? true/|| [] defaults that turn "couldn't read" into "nothing wrong"; CI with no checks treated as green (no CI escalates); CI not settled (head at least 2 minutes old, no new check for 2 minutes); a review or scope check of another sha counted; a usage brake that passes when limits.json is missing or older than 15 minutes; a diff too big to review judged in part instead of escalated; a task whose terminal is gone passing the blocked gate; a PR body that couldn't be read passing the code-review gate.

Read the full file on GitHub · 83 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. 17d ago Changed 5bb30b9a0bed
  2. 21d ago Changed d9aec8c12c37
  3. 22d ago First seen · 83 lines · 75 tokens per session scan A 905ce7faf12d

Subscribe to this mod's changes

review-orchestrator-safety is an agent published in the GitHub repository saadnvd1/agent-os (11 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 1,879 once invoked, about $0.0003 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-10-07.