Command Palette

Search for a command to run...

Назад к скиллам
скилл № 94392

hex-execute

Multi-agent execution orchestrator — implements an approved hex-plan artifact (or a free-text task) as parallel pipelines of serial steps cut along contracts…

БесплатноБез исполняемых скриптов
ocx-shот ocx-sh★ 20 звёзд на GitHub

Установить hex-execute в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

hex-execute — Execution Orchestrator

Thin dispatcher. A plan is a few pipelines cut along contracts; a pipeline is a chain of steps in one worktree. This file resolves the target, runs the contract wave, dispatches steps, merges, runs the integration gate concurrent with the review call, fixes, and hands to /hex-finalize. Vocabulary lives in hex-core and is linked here, never copied.

Shared contracts: protocol.md · workers.md · models.md · memory.md · worktree.md · verify.md. If hex-core is not installed: grim add ghcr.io/michael-herwig/arcana/hex-core:latest.

Argument syntax

/hex-execute [target] [--dry-run]
  • target (optional): a plan artifact path; a free-text task (no plan artifact, one pipeline); or omitted — resolve the active-plan pointer from hex.md › Memory (memory.md).
  • --dry-run — print the announce block and stop; no worker launches.

The run

Counts are fixed (DESIGN.md): two full gates (integration, release), ≤ 3 review calls, workers never wait, escalation by the orchestrator only.

1. Resolve memory and target

Locate .agents/memory/hex.md searching upward; a missing file is normal (memory.md) — use shipped defaults and note that /hex-init can create one. When present, read it whole: Pointers (verification, hub/generated files, fresh-build switch, worktree location), Preferences (model-class agent definitions, limits), Memory (active-plan pointer). A Federation lead: bullet means this repo is a satellite: halt per memory.md.

Resolve the target: explicit plan path (read it whole), active-plan pointer (none recorded: stop and ask), or free text (scope contracts inline). A plan carrying a Repo column: follow federation.md before anything else is written.

Plan State decides entry: plan-approved is normal. executing is a prior run — resume from the pipeline table's Status column (pending | active | merged | failed), resetting an unfinished pipeline to its last committed step; branches and worktrees are evidence only, the Implementation Steps checkboxes are the finer progress, and a resuming run never reads the per-run scratch root. landing is a finalize-only re-entry (federation.md). review or done: stop and report; the human decides whether to re-execute.

2. Announce

No approval gate — print the resolved config and proceed (the user can abort):

hex-execute
  Target:      .agents/plans/plan_cache.md
  Pipelines:   3 (A, B, C) — contract wave first, then A ∥ B ∥ C
  Jobs:        3 live × 4 = 12            (project single-build jobs: 12)
  Classes:     steps standard; B step 4 standard-high (plan mark)
  Review:      1 call after all pipelines land
  Gates:       integration (with review) · release (/hex-finalize)
  Branches:    feature hex/plan-cache; per pipeline hex/plan-cache--<pipeline>

Plus the federation pre-flight lines, when federated. A client that cannot spawn subagents announces Degraded: inline workers and runs each brief inline, sequentially (protocol.md). Then set the plan's State: executing.

3. Contract wave

Resolve the feature branch — the non-trunk branch already checked out, else hex/<plan-slug> from the trunk (worktree.md). A single pipeline (small task) skips the wave and the worktree: its steps run directly on the feature branch.

Otherwise one or a few standard steps write the stubs plus contract tests for every pipeline — public surface with not-implemented bodies, and the tests that pin each cross-pipeline contract, derived from the plan's component contracts, not from the stubs. Commit once. That commit is the frozen base of every pipeline.

4. Pipelines and steps

Each pipeline gets a branch hex/<plan-slug>--<pipeline-slug> and a worktree (worktree.md), all created from the wave commit; all pipelines start together. Pipelines own disjoint file sets. Inside a pipeline: serial steps, shared worktree, no merge, no review, no gate between steps. The orchestrator spawns every step itself (foreground results reach it; there is no driver agent in between) and starts a pipeline's next step the instant the previous returns.

Step. A fresh agent of class standard (standard-high only where the plan marks the step — at most 1 pipe

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • federation.md

FAQ

Что делает скилл hex-execute?

Multi-agent execution orchestrator — implements an approved hex-plan artifact (or a free-text task) as parallel pipelines of serial steps cut along contracts, merges them onto a feature branch, runs one integration gate concurrent with one review, and hands to /hex-finalize. Use to execute, implement, build, or run an approved plan, resume an interrupted execution, or turn a design into tested, reviewed, committed code.

Как установить скилл hex-execute?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл hex-execute запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить hex-execute с