agentleFS
kele-devkele-dev/Claude-Orchestrator-Skill/skills/maestro/SKILL.md

maestro

Skill16 starsChanged 7 days agoMITView on GitHub

Codex writes code, Gemini (Antigravity CLI) reads and reviews with no tools, Claude plans and verifies, under the orchestrator cost rules. Per-project opt-in. Only runs when the user types /orchestrator:maestro.

14 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run setup. Missing CLI, no login, or not enabled: show one short table of what is missing, the install or login commands (login is the …

    line 19
  2. Distinctive:

    Do not launch edit agents while a Codex run is active.

    line 32

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Maestro mode: Codex and Gemini as workers

Task: $ARGUMENTS

Maestro is orchestrator:on with two workers. Every orchestrator:on rule applies (load it first if it is not in context). Maestro only changes who executes and who reviews. Routing, profiles, the status table and the secret-path list are in workers.md in this skill folder, read on demand.

  • Running node "${CLAUDE_PLUGIN_ROOT}/scripts/maestro-run.mjs" codex ... is a delegation: the script is the executor. Only inside /orchestrator:maestro, never from orchestrator:on. Every other main-session shell write stays forbidden. The script applies a worker's patch to the session's working tree only after its own checks pass, and the script itself refuses codex/gemini with DISABLED when the project is not enabled.
  • Script: node "${CLAUDE_PLUGIN_ROOT}/scripts/maestro-run.mjs" <sub> ....
  • Briefs and prompts: Write to <store>/maestro/briefs/<task>.md (<store>: the session-start Orchestrator store: line, or store in the setup summary).

0. Setup check

  • Run setup. Missing CLI, no login, or not enabled: show one short table of what is missing, the install or login commands (login is the user's step), ask once whether to enable for this project (on); stop.
  • on / off / status: run the subcommand, show its summary, stop.

1-2. Plan and PRD

  • Plan and PRD as in orchestrator:on.
  • Each task gets a profile: code, fix, review or read (see workers.md).
  • Code-writing tasks always go to Codex.
  • Untracked files are invisible to Codex: never route a task whose input is an untracked file; say so and use the orchestrator:on ladder.
  • Show one routing table (task, worker, effort), then run without waiting (unless --dry-run, which stops here).

3. Delegate

  • One Codex task at a time: codex --task <slug> --brief <file> --files <a,b> with run_in_background: true.
  • Gemini runs (gemini --task ...) may overlap a Codex run.
  • Do not launch edit agents while a Codex run is active. Never poll.
  • Partial work is discarded, not continued: a retry starts over with the next worker, and the failed summary goes into the brief.

4. Verify by summary status

  • PASS: review git diff of the task files yourself, run the project check.
  • Any other status: act per the table in workers.md.

5. Review

  • gemini --task <slug> --prompt <file> --profile review --diff HEAD. The prompt file holds the review instructions; write it with Write into the briefs folder (<store>/maestro/briefs/). Read only the findings and the lines they point to, decide each.
  • Decision 6 for opus-reviewer (non-Opus main session): a Gemini PASS with no high finding replaces the final-diff pass. opus-reviewer still reviews the final diff when any of these holds: Gemini did not PASS (fails, quota, denied, timeout), Gemini found a high issue, the work has more than 5 tasks, or it touches schema, auth or security.

6. Report

  • The orchestrator:on table plus a worker column (codex, gemini, haiku, sonnet).
  • Quota line, e.g. Quota: codex 2 runs (227k in) · gemini 3 of 100 runs today.
  • The token line still lists Claude agents.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.