execution
БесплатноБез исполняемых скриптовНе проверенPhase execution methodology for orchestration workflows with error handling and completion protocols
от josstei★ 493 звезды на GitHubОб этом скилле
Execution Skill
Activate this skill during Phase 3 (Execution) of Maestro orchestration. This skill defines how Maestro executes implementation phases through native subagent delegation.
Execution Mode Gate
Step 0 — Express bypass (early return)
If workflow_mode is express in the current session, STOP HERE. Do not proceed
to the execution mode gate. Do not prompt the user. Do not resolve execution mode.
Express always dispatches sequentially. Return to the Express Workflow and continue
from the delegation step.
Recording the mode
If no session exists yet (orchestrate step 21, or /maestro:execute before session creation), pass execution_mode to create_session, which sets execution_backend: 'native' itself. If a session already exists (resume), call update_session with { execution_mode, execution_backend: 'native' }.
Step 1 — Read the configured mode
Read MAESTRO_EXECUTION_MODE (default: ask).
- If
parallel: recordparallel(see Recording the mode). Skip to delegation. - If
sequential: recordsequential(see Recording the mode). Skip to delegation. - If
ask: proceed to Step 2.
Step 2 — Analyze the implementation plan
Before prompting the user, analyze the approved plan to generate a recommendation:
- Count total phases in the plan
- Count phases marked
parallel: true(parallelizable phases) - Count distinct parallel batches (groups of parallelizable phases at the same dependency depth)
- Count sequential-only phases (phases with
blocked_bydependencies that prevent parallelization) - Cross-check file ownership across all phases. If any two phases share a file in their
filesarrays, those phases CANNOT be parallel-eligible — subtract them from the parallelizable count. Report each overlap as an overlapping-file warning in the Step 4 question. - If
validate_planwas called during planning and returned aparallelization_profile, use itsparallel_eligibleandeffective_batchescounts as the authoritative source for items 1-5 above. These are computed from actual dependency depths and override any manual flag-based counts. Ifparallelization_profileis not available, use the counts from items 1-5 as-is.
Record these counts — they feed into the prompt.
Step 3 — Determine the recommendation
- If parallelizable phases ≤ 1 → auto-select sequential. Record
sequential(see Recording the mode). Inform the user: "All phases are sequential — no parallel batches available." Skip to delegation. Do NOT prompt with a choice. Do NOT callask_user. Do NOT present options. (Parallelism requires at least 2 phases at the same dependency depth; a single parallel-eligible phase has nothing to batch with.)
When parallelizable phases ≤ 1, there is NO choice to make. Auto-select sequential and skip directly to delegation. Do not show a picker.
- If parallelizable phases > 50% of total phases → recommend parallel
- If parallelizable phases ≤ 50% but > 1 → recommend sequential (limited benefit)
- The recommended option appears first in the
ask_useroptions list with "(Recommended)" appended to its label. The non-recommended option MUST NOT include "(Recommended)" in its label.
Step 4 — Prompt the user
Call ask_user as a single-choice prompt using exactly one of these option sets:
When recommending parallel: options: - label: "Parallel (Recommended)" description: "Spawn child agents for each ready batch where file ownership does not overlap." - label: "Sequential (High Precision)" description: "Spawn one child agent at a time in dependency order."
When recommending sequential: options: - label: "Sequential (Recommended)" description: "Spawn one child agent at a time in dependency order." - label: "Parallel" description: "Spawn child agents for each ready batch where file ownership does not overlap."
Only ONE option receives the "(Recommended)" suffix. Never both.
Prompt using the user-prompt tool from runtime context; in the question text, state the Step 2 counts (parallelizable phases out of total, number of batches) and any overlapping-file warnings.
Step 5 — Record and proceed
- Record the selected
execution_mode(see Recording the mode) - Use the selected mode for the remainder of th
Установить execution в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл execution?
Phase execution methodology for orchestration workflows with error handling and completion protocols
Как установить скилл execution?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл execution запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic