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★ 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. Defaultauto— the classifier picks the lowest-fit tier,low…xhigh(classify.md); a higher tier needs the user.maxis explicit only —--tier=max, or a plan whose Status block saysTier: 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 (seeoverlays.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:
- the client's GitHub MCP tools (PR/issue read) when it exposes them;
- the
ghCLI (gh pr view/gh issue view --json title,body,comments,labels,files) as fallback; - 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. xhighormaxtier, low-confidence classification, or--dry-run— block for explicit appr
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…