Command Palette

Search for a command to run...

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

hex-plan

Tiered multi-agent planning orchestrator — decomposes a feature, issue, or PR into a contract-first TDD plan through discover, research, design, decompose…

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

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

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

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

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

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

hex-plan — Planning Orchestrator

Thin dispatcher. It parses arguments, classifies the target's tier, resolves overlays, runs the single meta-plan approval gate, announces the resolved config, and hands off to the matching tier file. The phase plans live in the five tier-<tier>.md files; the shared vocabulary (tiers, the Review-Fix Loop, worker roles, model classes, the memory file) lives in the hex-core reference library and is linked here, never copied.

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

Argument syntax

/hex-plan [tier] <target> [flags]
  • tier (optional): low | medium | high | xhigh | max | auto. Default auto — the classifier picks the lowest-fit tier, low … xhigh (classify.md); a higher tier needs the user. max is explicit only — --tier=max, or a plan whose Status block says Tier: max; the classifier never emits it (protocol.md).
  • target (one of):
    • free-text prompt;
    • <N> or #<N> — a number; probe PR first, fall back to issue;
    • PR <N> / pull/<N> — an explicit pull request;
    • issue <N> / issues/<N> — an explicit issue;
    • a full GitHub URL https://github.com/<owner>/<repo>/(pull|issues)/<N>.
  • flags (before the target, by convention):
    • --architect=inline|on — override the Design phase (see overlays.md).
    • --research=skip|1|3 — override Research breadth.
    • --adversary / --no-adversary — force the cross-model plan-artifact pass on or off.
    • --dry-run — make the meta-plan gate block for explicit approval and stop there (preview only, no workers launched).

Dispatch

The outer loop every hex orchestrator shares (protocol.md):

1. Parse arguments and resolve memory

Parse the tier, target, and flags. Locate .agents/memory/hex.md by searching upward from the working directory; a missing file is normal (memory.md) — fall back to shipped defaults and note that /hex-init can create one. When present, read hex.md › Pointers for cached locations (where verification and plan/ADR conventions are documented; verify on consumption, re-point on a miss), hex.md › Preferences for the instantiated model matrix, the adversary skill name, limits, and always-on perspectives, and hex.md › Memory for any active plan already in flight. Product context (what the product is, users, related repos, research keywords) lives in project context, located via hex.md › Pointers.

If the resolved hex.md carries a Federation lead: bullet, halt per memory.md § Location and resolution — this repo is a federation satellite and its memory is not the plan's.

2. Resolve the target

If the target is a GitHub reference, fetch its title, body, labels, and (for PRs) file list, in this order of preference:

  1. the client's GitHub MCP tools (PR/issue read) when it exposes them;
  2. the gh CLI (gh pr view / gh issue view --json title,body,comments,labels,files) as fallback;
  3. neither available — treat the input as free text and continue.

Probe order for a bare <N>/#<N> is a PR then an issue; PRs and issues are equal-class targets. The fetched body and labels feed classification; a PR's file list feeds the Discover scope, not the tier decision.

3. Classify (only when tier is auto)

Read classify.md. Apply its tier signals and overlay triggers to the prompt plus any fetched GitHub context. It emits a candidate tier (only low, medium, high, or xhigh), a confidence flag, and an overlay set. Low confidence forces the gate in step 5. Never ask a mid-flow question during classification — ambiguity is resolved at the single gate.

4. Resolve overlays

Final config = the tier's baseline from overlays.md + classifier-inferred overlays + hex.md › Preferences hints + user flags. Later wins; user flags always override (see protocol.md).

5. Meta-plan gate (the single approval point)

Exactly one gate, before any worker launches (protocol.md). Its weight scales:

  • Confident low / medium / high — announce the resolved config (step 6) and proceed; the user can still abort. An explicit user tier always counts as confident — the classifier never ran.
  • xhigh or max tier, low-confidence classification, or --dry-run — block for explicit appr
Полный SKILL.md на GitHub

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

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

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

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

  • classify.md
  • overlays.md
  • tier-high.md
  • tier-low.md
  • tier-max.md
  • tier-medium.md
  • tier-xhigh.md

FAQ

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

Tiered multi-agent planning orchestrator — decomposes a feature, issue, or PR into a contract-first TDD plan through discover, research, design, decompose, and adversarial-review phases. Use for multi-step feature planning, task decomposition, swarm planning, multi-perspective research, meta-plan preview, or ADR scaffolding. Tier (low|medium|high|xhigh|max, auto by default) scales research depth, whether an architect designs, and review breadth.

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

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

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

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

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

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