cli-orchestrator

cli-orchestrator is an agent for Claude Code from terrene-foundation/metis. It costs 36 tokens per session (1,555 once invoked), scanned A, original, Apache-2.0.

A dispatcher that coordinates several command-line coding agents and compares their results. A command-line interface, or CLI, is a tool operated through typed commands.

In plain words
What is it for?
Use it for CLI audits, cross-CLI drift checks, choosing between variants, and producing comparison matrices across Claude Code, Codex, and Gemini.
Why use it?
It helps detect differences, missing parity, and drift between the agents' rules, skills, and outputs.

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/terrene-foundation/metis/cli-orchestrator
Clone the repo
git clone --depth 1 https://github.com/terrene-foundation/metis

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/terrene-foundation/metis/cli-orchestrator.svg)](https://agentmods.dev/agents/terrene-foundation/metis/cli-orchestrator)
Your own site
<a href="https://agentmods.dev/agents/terrene-foundation/metis/cli-orchestrator"><img src="https://agentmods.dev/badge/agents/terrene-foundation/metis/cli-orchestrator.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 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,555 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.00036 $0.01555
Opus 5 $0.00018 $0.00777
Sonnet 5 $0.00007 $0.00311
Haiku 4.5 $0.00004 $0.00155

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

Security

Grade A, and why

cli-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/cli-orchestrator.md · 90 lines

How it starts

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

CLI Orchestrator

Coordinates cc-architect, codex-architect, and gemini-architect across the 5 independently-invocable verbs below. The orchestrator is a documentation aggregator, not a single-execution-path super-agent — each verb is its own invocation with its own invariant count (spec v6 §6.2 / v3 clarification).

The Five Verbs

Each verb is independently invocable. Each stays ≤ 10 invariants per rules/autonomous-execution.md MUST Rule 1 (single-shard capacity).

cli-orchestrator.sees — parity + drift audit

  • What: read one file + run parity diff + run cross-CLI drift audit against parity_enforcement.cross_cli_drift_audit in .claude/sync-manifest.yaml
  • When: /cli-audit, /sync gate 2, any time a rule/skill/agent is edited
  • Invariants (≤ 5): parity coverage, drift detection, byte budget, exclusion expiry, freshness
  • Drift disposition: hard-block on neutral-body / frontmatter.priority / frontmatter.scope drift; soft-warn on examples drift (per rules/cross-cli-parity.md Rule 2)
  • Scrub tokens: Agent(, codex_agent(, @specialist, subagent_type, run_in_background (syntactic-delegation divergence; expected; not drift)

cli-orchestrator.arbitrates — proposal classification

  • What: single pass over an inbound proposal (BUILD → loom, loom → atelier) classifying each change as global / variant / skip
  • When: /sync gate 1 (after sync-reviewer surfaces the proposal)
  • Invariants (≤ 3): language placement (py / rs / rb / prism), CLI placement (cc / codex / gemini), conflict resolution when classifications disagree

cli-orchestrator.guides — artifact validation at /codify

  • What: single artifact validation sweep when /codify proposes new rules / skills / agents
  • When: /codify emission step
  • Invariants (≤ 4): priority-scope pair consistency (rules/rule-authoring.md Rule 7), slot-marker discipline (rules/rule-authoring.md Rule 8), tool-name translation (CC Read ↔ Codex filesystem ↔ Gemini native), cross-CLI parity contract satisfiable

Read the full file on GitHub · 90 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 · 90 lines · 36 tokens per session scan A 857d919aa48c

Subscribe to this mod's changes

cli-orchestrator is an agent published in the GitHub repository terrene-foundation/metis (2 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 36 tokens to every session and 1,555 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.