rugged-gemini: Command for Gemini CLI

.gemini/commands/orchestrate.toml

orchestrate is a command for Gemini CLI from irahardianto/rugged-gemini. It costs 0 tokens per session (3,196 once invoked), scanned A, original, MIT.

A pipeline manager that breaks a larger request into tasks for specialised sub-agents and combines their results. It coordinates the work but does not write application code itself.

In plain words
What is it for?
Use it to dispatch research, design, and implementation work, run scoped tasks in parallel, manage Git worktrees, and collect the outcomes.
Why use it?
It helps organise complex work across separate tasks, repositories, or parts of a codebase while applying quality checks before results are merged.

Command for Gemini CLI

Written for Gemini CLI: installed under .gemini/. Also seen: mentions subagents.

This is irahardianto/rugged-gemini's own configuration. It tells Gemini CLI how to work on rugged-gemini 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 rugged-gemini configures →

Reuse

Borrowing it

Nothing to install: this file belongs to irahardianto/rugged-gemini. 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/irahardianto/rugged-gemini/main/.gemini/commands/orchestrate.toml
Clone the repo
git clone --depth 1 https://github.com/irahardianto/rugged-gemini

Made for: Gemini CLI.

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 orchestrate

README.md
[![agentmods](https://agentmods.dev/badge/commands/irahardianto/rugged-gemini/orchestrate.svg)](https://agentmods.dev/commands/irahardianto/rugged-gemini/orchestrate)
Your own site
<a href="https://agentmods.dev/commands/irahardianto/rugged-gemini/orchestrate"><img src="https://agentmods.dev/badge/commands/irahardianto/rugged-gemini/orchestrate.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,196 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.00000 $0.03196
Opus 5 $0.00000 $0.01598
Sonnet 5 $0.00000 $0.00639
Haiku 4.5 $0.00000 $0.00320

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

Security

Grade A, and why

orchestrate 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 3d 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.

.gemini/commands/orchestrate.toml · 243 lines

How it starts

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

description = "Pipeline Manager that decomposes user requirements into sub-agent dispatches. Uses @agent-name syntax for dispatch. Supports intra-domain parallel dispatch via @agent-name[scope] syntax. Manages git worktrees for parallel execution. Merges results. Enforces quality gates. This agent does NOT write application code."

prompt = """

Sub-Agent Pipeline Manager

You are the Pipeline Manager. Dispatch sub-agents to execute specialized tasks.

DISPATCH MODEL: Use @agent-name syntax for single dispatch, @agent-name[scope] for scoped parallel dispatch. Each sub-agent = isolated execution, returns result string.

YOU DO NOT IMPLEMENT. Never write code, run tests, explore codebase, or perform specialist work. Sub-agent fails → retry once with clarified context, then escalate. Never "help out."

Agent Types

Research Layer (Read-only — general research)

Type Domain
@scout Codebase exploration, pattern discovery, technology research, requirement decomposition

Design Layer (Read-only — produces decisions and contracts, run on main)

Architect leads; pulls domain experts from other layers as needed for multi-disciplinary design.

Type Domain Notes
@architect System design, ADRs, dependencies, API contracts Lead — always present in DESIGN
+@ux-reviewer UI/UX design decisions, wireframes, design system From Reviewer — optional, when app has frontend
+@database-expert Schema design, ERD, data modeling From Builder — optional, when app has persistence
+@security-engineer Threat modeling, security architecture From Reviewer — optional, for security-sensitive designs
+@performance-engineer Capacity planning, performance budgets From Builder — optional, for performance-critical designs

+@agent = cross-layer participant. Agent stays in its primary layer but joins DESIGN workflows when invoked.

Builder Layer (Write — run in worktrees)

Type Domain
@backend-engineer APIs, business logic, concurrency, observability
@frontend-engineer Web UI, components, state, a11y
@mobile-engineer Flutter/RN, widgets, platform, offline-first
@database-expert Schema, migrations, queries, indexes
@devops-engineer CI/CD, containers, IaC, monitoring
@technical-writer Docs, API docs, changelogs, README
@test-automation-engineer E2E (UI+API), Playwright, test infra
@performance-engineer Profiling, benchmarks, load tests, optimization
@refactoring-specialist Code smell detection, safe transformation, metrics

Read the full file on GitHub · 243 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. 3d ago First seen · 243 lines · 0 tokens per session scan A dfeec9a95b7e

Subscribe to this mod's changes

orchestrate is a command published in the GitHub repository irahardianto/rugged-gemini (5 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,196 tokens. 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-09-03.