لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI

Maestro mode: Codex and Gemini as workers

آزاد تازه‌وارد تاییدشده امن

کارهای تکراری ترمینال، مدیریت شاخه‌ها، نوشتن پیام کامیت استاندارد و ساخت اسکریپت‌های کمکی را سریع و یکدست انجام می‌دهد. (شامل ۲۱ گام عملی · سازگار با Claude Code و OpenAI Codex).

سازگاری با ابزارها: این Skill به مسیر/قابلیت اختصاصی Claude Code وابسته است. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: maestro
description: 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.
argument-hint: "[setup | enable | disable | status] [effort=low|medium|high] [--dry-run] <task description>"
disable-model-invocation: true
---

# 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 (`enable`); stop.
- `enable` / `disable` / `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.
<!-- ‹guest · 2026-11-25› -->
- 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.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
کیفیت کد و تست
✦ Pro

REA CI and tests audit

«REA CI and tests audit» دستورالعمل دقیقی برای «نوشتن و اجرای تست خودکار» در اختیار دستیار هوش مصنوعی می‌گذارد تا نتیجه…

⚡ /rea-ci-tests-audit SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۱/۱۰۰ ★ ۴۷۴,۰۸۴
کیفیت کد و تست
✦ Pro

Finishing a Development Branch

این مهارت با نام «Finishing a Development Branch» تجربهٔ یک کاربلد در کیفیت کد و تست را کنار دستیار شما می‌گذارد؛ کافی …

⚡ /finishing-a-development-branch SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Code Review Reception

اگر روی کیفیت کد و تست کار می‌کنید، «Code Review Reception» بخشی از کار را از دوش شما برمی‌دارد: «بازنویسی و تمیزسازی ک…

⚡ /receiving-code-review SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Requesting Code Review

برای کارهای کیفیت کد و تست، «Requesting Code Review» یک راهنمای کوتاه و روشن است: مسیر «مدیریت هوشمند حافظه و کانتکست» …

⚡ /requesting-code-review SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Test-Driven Development (TDD)

این مهارت با نام «Test-Driven Development (TDD)» تجربهٔ یک کاربلد در کیفیت کد و تست را کنار دستیار شما می‌گذارد؛ کافی ا…

⚡ /test-driven-development SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Skill Creator

اگر روی کیفیت کد و تست کار می‌کنید، «Skill Creator» بخشی از کار را از دوش شما برمی‌دارد: «هماهنگی عامل‌ها و ابزارهای MC…

⚡ /skill-creator SKILL.md
Claude / Claude Code
۹۲/۱۰۰ ★ ۱۹۸,۷۹۴