Úsalo cuando la implementación esté completa, todos los tests pasen, y necesites decidir cómo integrar el trabajo.
- Costo de contexto al activarse
- 1.9k tok
- Tamaño del paquete
- 1 archivo
- Última actualización
- el mes pasado
Orquesta trabajo de codificación complejo en Codex: GPT-5.6 Luna como planificador/integrador, subagentes Luna para explorar, implementar, probar e investigar, y revisor Astra. Evita ediciones triviales de un archivo o preguntas simples.
en el repo
0–100, la ruta de este skill
último commit aquí
últimos 90 días
108 tok en reposo
12 KB
Funciona con cualquier agente que lea SKILL.md
npx -y skills add donvito/codex-astra-luna-orchestrator --skill astra-orchestrator --agent claude-codeSe instala solo en este repositorio.
Di cualquiera de estas frases y el agente debería cargar este skill.
The user's explicit instructions take precedence over this skill.
Use the root agent as the high-quality orchestrator.
Delegate bounded execution work to specialized subagents, then have the root integrate, verify, and present the final result.
The expected default topology is:
Use Luna for all routine subagent execution.
This is a requirement, not a preference.
Only the reviewer uses Astra by default.
Do not override a Luna subagent to a more expensive model unless the user explicitly asks for escalation or a Luna worker reports that the task requires higher-level reasoning.
Before doing substantive repository work, classify the task as either:
Use root-only only when the task is genuinely small, localized, and does not materially benefit from independent exploration, implementation, testing, research, or review.
The task MUST be delegated when at least one of the following is true:
When a task qualifies for delegation, the root MUST call spawn_agent before performing the delegated work itself.
Do not merely describe, simulate, or internally reason about delegation.
Actual subagents must be spawned.
If spawn_agent is unavailable or fails, explicitly report that failure.
Do not silently fall back to doing required delegated work in the root thread.
For every delegated task, spawn at least one subagent.
Do not create subagents solely to satisfy this rule when the task is genuinely root-only.
The root agent owns:
Subagents provide evidence and bounded execution.
They do not own the overall direction.
The root must not offload architectural ownership to a subagent.
When spawning agents, use these models by default:
gpt-5.6-luna at medium reasoninggpt-5.6-luna at medium reasoninggpt-5.6-luna at medium reasoninggpt-5.6-luna at medium reasoninggpt-6-astra at low reasoningThe root keeps the Plus profile configuration from .codex/config.toml: GPT-5.6 Luna at max reasoning. The role files in .codex/agents/ explicitly set Luna reasoning to medium and reviewer reasoning to low. Preserve those efforts when spawning agents unless the user requests a change. Do not change the root model from within a session.
For every delegated task:
spawn_agentDo not silently substitute the root agent for a required Luna worker.
Do not spawn Astra workers except for the reviewer role unless:
Routine execution should remain on Luna.
Every delegated task should include:
Prefer narrow tasks that can finish independently.
Bad:
Fix the backend.
Good:
Trace where POST /invoices validates currency. Return the responsible files, validation path, and existing tests. Do not edit files.
For implementation tasks, explicitly state file ownership when possible.
For exploration tasks, tell the agent not to edit files.
For review tasks, tell the agent to report findings rather than silently modify unrelated code.
Use explorer for:
Use worker for:
Use tester for:
Use reviewer for:
Use researcher for:
Run independent tasks in parallel.
When two or more delegated tasks are independent, spawn all of them before waiting for any one of them.
Good parallel set:
Do not do this:
unless later tasks genuinely depend on earlier results.
Good parallel examples:
Serialize dependent work:
Do not send multiple workers to edit the same files unless the root explicitly coordinates ownership.
Prefer one writer per file or subsystem.
For non-trivial implementation tasks, prefer this sequence:
Do not spawn every role mechanically.
Use only the roles that materially improve the task.
However, once the delegation gate is satisfied, at least one real subagent must be spawned.
For cross-component bugs:
Do not let multiple workers independently attempt competing fixes unless the root intentionally requests alternative approaches.
When current or version-specific external information matters:
Do not mix speculative external claims into implementation decisions without verification.
Use Luna for routine subagent execution.
Keep the root context focused on:
Do not paste large raw logs or entire files back into the root when a concise evidence summary is enough.
Subagents should return:
Avoid returning large amounts of irrelevant raw output.
A subagent should report back instead of expanding scope when it encounters:
The root decides what to do next.
Luna should not independently escalate itself to a more expensive model.
The root owns model escalation decisions.
If a subagent fails:
If spawn_agent itself fails, explicitly note the failure.
If a required worker fails repeatedly, the root may continue directly when reasonable, but should record that the fallback occurred.
Before producing the final answer for a delegated task, confirm that:
Do not finish while required subagents are still running.
Do not claim delegation occurred unless spawn_agent was actually called successfully.
Before claiming completion, the root should:
For implementation tasks, prefer checking:
Do not narrate every subagent action unless the user asks for detailed orchestration visibility.
The final answer should focus on:
When useful, briefly mention which agents contributed.
If the user explicitly asks to see delegation, report:
Do not claim a Luna agent was used unless the trace contains a successful spawn_agent call using gpt-5.6-luna.
Reproducido de donvito/codex-astra-luna-orchestrator bajo licencia Apache-2.0. Leer esta página en markdown.
1 archivo en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.
Requiere el perfil Plus de Codex con acceso a GPT-5.6 Luna y GPT-6 Astra.
Úsalo cuando la implementación esté completa, todos los tests pasen, y necesites decidir cómo integrar el trabajo.
Úsalo al empezar trabajo de feature que necesita aislamiento del workspace actual, o antes de ejecutar planes de implementación: asegura un workspace aislado vía herramientas nativas o fallback a git worktree.
Úsala al crear nuevas skills, editar skills existentes o verificar que funcionan antes de desplegarlas.