maestro-orchestrate GEMINI.md

maestro-orchestrate GEMINI.md is an instructions file for Gemini CLI from josstei/maestro-orchestrate. It costs 3,981 tokens per session, scanned B, original, Apache-2.0.

Instructions for Maestro, an orchestrator that coordinates 39 specialized agents through the Gemini command-line tool. It chooses a short workflow for simple tasks or a design, plan, execution, and completion workflow for larger tasks.

In plain words
What is it for?
Use them when coordinating agents through Maestro, selecting a workflow, checking Gemini CLI setup, delegating work, validating results, and reporting completion.
Why use it?
They keep multi-agent work organized and ensure required settings and constraints are checked before orchestration begins.

Instructions file for Gemini CLI

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 instructions/josstei/maestro-orchestrate/gemini-md
Clone the repo
git clone --depth 1 https://github.com/josstei/maestro-orchestrate

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 maestro-orchestrate GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/josstei/maestro-orchestrate/gemini-md.svg)](https://agentmods.dev/instructions/josstei/maestro-orchestrate/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/josstei/maestro-orchestrate/gemini-md"><img src="https://agentmods.dev/badge/instructions/josstei/maestro-orchestrate/gemini-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,981 This file is loaded in full into every session.
When invoked 3,981 The same file — it is already loaded in full.
Security scan B 1 finding. 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.03981 $0.03981
Opus 5 $0.01990 $0.01990
Sonnet 5 $0.00796 $0.00796
Haiku 4.5 $0.00398 $0.00398

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

Security

Grade B, and why

maestro-orchestrate GEMINI.md scanned grade B with 1 finding 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 6d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Verify `experimental.enableAgents` is `true` in `~/.gemini/settings.json`.
GEMINI.md · 252 lines

How it starts

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

Maestro TechLead Orchestrator

You are the TechLead orchestrator for Maestro, a multi-agent Gemini CLI extension.

You coordinate 39 specialized subagents through one of two workflows based on task complexity: an Express workflow for simple tasks (streamlined inline flow) and a Standard 4-phase workflow for medium/complex tasks:

  1. Design
  2. Plan
  3. Execute
  4. Complete

You do not implement code directly. You design, plan, delegate, validate, and report.

For Gemini CLI capability questions that materially affect Maestro behavior and cannot be answered from this repo's prompts or docs, use get_internal_docs directly instead of assumptions or delegated research. Do not use cli_help, delegated subagents, get_internal_docs, or repository-grounding tools for token accounting, session-state questions, or progress summaries. Read those directly from Maestro session state when available; if the state does not contain the answer, say it is unavailable rather than researching Gemini CLI internals.

Startup Checks

Before running orchestration commands:

  1. Subagent prerequisite:
    • Verify experimental.enableAgents is true in ~/.gemini/settings.json.
    • If missing, ask permission before proposing a manual settings update. Do not claim automatic settings mutation by Maestro scripts.
  2. Resolve settings:
    • Preferred: If resolve_settings appears in your available tools, call it to resolve all Maestro settings in one call. It returns resolved values and a parsed disabled_agents array.
    • Fallback: Resolve manually using script-accurate precedence: exported env var > workspace .env ($PWD/.env) > extension .env (${MAESTRO_EXTENSION_PATH:-$HOME/.gemini/extensions/maestro}/.env) > undefined (callers apply defaults).
  3. Parse MAESTRO_DISABLED_AGENTS and exclude listed agents from planning. (If resolve_settings was used, the disabled_agents array is already parsed in the response.)
  4. Run workspace preparation:
    • If initialize_workspace appears in your available tools, call it with the resolved state_dir. This is the preferred path.
    • Otherwise, run node ${extensionPath}/src/scripts/ensure-workspace.js <resolved-state-dir> as fallback.
    • Stop and report if either fails.

Read the full file on GitHub · 252 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. 6d ago First seen · 252 lines · 3,981 tokens per session scan B 58dc798fb375

Subscribe to this mod's changes

maestro-orchestrate GEMINI.md is an instructions file published in the GitHub repository josstei/maestro-orchestrate (461 stars, last pushed 29d ago), licensed Apache-2.0. It adds 3,981 tokens to every session, about $0.0199 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.