К основному содержанию
плагин

the-h-ai-k-u-method — плагин для Claude Code

Оркестратор жизненного цикла: ведёт работу по стадиям с ролями и шлюзами проверки, а состояние держит на диске. Пригодится, когда один промпт даёт правдоподобный, но непроверенный результат.

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add anthropics/claude-plugins-community
/plugin install the-h-ai-k-u-method@claude-community
Открыть на GitHub

Что делает the-h-ai-k-u-method

Плагин превращает «скажи ИИ, что делать» в размеченный маршрут. Работа идёт по схеме Studio > Stage > Unit > Bolt: студия — шаблон жизненного цикла, стадия — фаза со своей последовательностью ролей, юнит — отдельный кусок работы с критериями завершения, болт — одна итерация по ролям. Роли не запускаются как отдельные процессы: одна сессия Claude по очереди надевает шляпу планировщика, затем исполнителя, затем проверяющего.

Инструкции не грузятся в контекст агента целиком. Оркестратор выдаёт по одному действию из плана, который лежит на диске в .haiku/intents/<slug>/. Поэтому прогон переживает сжатие контекста, /clear и перезапуск Claude. Каждая стадия заканчивается шлюзом: auto продвигает сам, ask ждёт подтверждения человека в веб-интерфейсе ревью, external блокируется до одобрения PR или MR на GitHub либо GitLab, await ждёт внешнего события. Шлюзы комбинируются, например [external, ask].

Встроенных студий 24: софт, дата-пайплайны, миграции, реагирование на инциденты, комплаенс, оценка безопасности, контроль качества, разработка игр и железа, а также продажи, маркетинг, стратегия продукта и другие. У каждой стадии есть детектор дрейфа, который ловит правки отслеживаемых файлов между тиками. Если он срабатывает ложно, в .haiku/settings.yml ставится drift_detection: false — только литерал в нижнем регистре; строка "false" и False игнорируются молча.

Какие задачи решает

  • разложить большую задачу на стадии с критериями завершения
  • продолжить работу после сброса контекста или перезапуска Claude
  • поймать ошибку на стадии, а не в продакшене
  • подключить ревью агентов, которые ищут слабые места до открытия шлюза
  • согласовать стадии, где нужен внешний апрув по PR или MR

Примеры запросов агенту

  • Запусти /haiku:haiku-start и опиши, что нужно сделать
  • Продвинь процесс на один шаг через /haiku:haiku-pickup
  • Вызови haiku_baseline_init для интента и покажи, есть ли drift_disabled_warning

Как установить the-h-ai-k-u-method

Через маркетплейс плагинов

/plugin marketplace add anthropics/claude-plugins-community
/plugin install the-h-ai-k-u-method@claude-community

По шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой

Вопросы о the-h-ai-k-u-method

Как установить the-h-ai-k-u-method в Claude Code?

Сначала добавь маркетплейс: /plugin marketplace add anthropics/claude-plugins-community. Затем поставь плагин: /plugin install the-h-ai-k-u-method@claude-community.

Что делает the-h-ai-k-u-method?

Ведёт работу по стадиям с последовательностью ролей и шлюзом проверки в конце каждой. Состояние хранится на диске, поэтому сброс контекста не обнуляет прогресс.

Чем отличаются студии от стадий?

Студия — шаблон жизненного цикла целиком, стадия — фаза внутри неё со своими ролями и шлюзом. Так же различаются юнит и болт: юнит — кусок работы, болт — одна итерация по ролям.

Исходный текст

plugin · Apache-2.0
# H·AI·K·U

**Human + AI Knowledge Unification** — a Claude Code plugin that turns "tell the AI what to do" into a structured workflow with role-based hats, hard quality gates, and completion criteria.

AI can only move as fast as the rails it runs on. H·AI·K·U is the rails.

> **This is a Claude Code plugin, not a JavaScript library.** `import` and `require` won't do anything useful — install it via your Claude harness (instructions below). The npm package exists so the plugin can be distributed and version-pinned through standard tooling.

## The problem

Most AI workflows are a single prompt and a hope. The model produces 400 lines of plausible-looking code, you skim it, you ship it, and the bug shows up in production. The model wasn't wrong because it was dumb — it was wrong because nothing was checking, and nothing was telling it to slow down.

H·AI·K·U adds the structure that stops fast movement from becoming fast-wrong. Every piece of work runs through stages. Every stage has a hat sequence (planner → builder → verifier, or whatever the work demands). Every stage ends in a review gate. State lives on disk, so a context reset isn't a progress reset.

## Install

```
/plugin marketplace add gigsmart/haiku-method
/plugin install haiku --scope project
```

Works in [Claude Code](https://claude.ai/code), [Claude Cowork](https://claude.ai/cowork), and other MCP-compatible harnesses (Cursor, Windsurf, Gemini CLI, OpenCode, Kiro).

### Other MCP harnesses

Configure your harness's MCP server list with:

```json
{
  "mcpServers": {
    "haiku": {
      "command": "npx",
      "args": ["-y", "haiku-method", "mcp"]
    }
  }
}
```

The skills (`/haiku:haiku-start`, `/haiku:haiku-pickup`, etc.) are Claude-specific — outside Claude, you drive the workflow by calling MCP tools directly (`haiku_run_next`, `haiku_intent_create`, etc.).

## Quickstart

```
/haiku:haiku-start              # describe what you want; the plugin scaffolds an intent
/haiku:haiku-pickup             # advance the workflow one tick at a time
```

The orchestrator drives the stage loop. It tells you what to do next; you do it; it advances. When a stage finishes, adversarial review agents try to break the output before the gate opens.

## Studios

Studios are the lifecycle templates — pre-built sequences of stages, hats, and gates tuned for a class of work.

| Engineering | Go-to-Market | General Purpose |
|---|---|---|
| Software | Sales | Ideation |
| Data Pipeline | Marketing | Documentation |
| Migration | Customer Success | Project Management |
| Incident Response | Product Strategy | Executive Strategy |
| Compliance | Dev Evangelism | Training |
| Security Assessment | | |
| Quality Assurance | | |
| Hardware Dev | | |
| Game Dev | | |
| Library Dev | | |

Plus support studios for HR, Legal, Finance, Vendor Management, and more. See the full catalog at [haikumethod.ai/studios](https://haikumethod.ai/studios).

## The model

```
Studio > Stage > Unit > Bolt
```

- **Studio** — the lifecycle template
- **Stage** — a phase within the studio with its own hat sequence and review gate
- **Unit** — a discrete piece of work with explicit completion criteria
- **Bolt** — one iteration through the hat sequence on a unit

Studio is *not* the same as Stage. Unit is *not* the same as Bolt. The vocabulary is load-bearing — see the [paper](https://haikumethod.ai/papers/haiku-method) for the full model.

## Why it's different

- **The work fails fast, not slow.** Quality gates run after every stage. A broken build doesn't propagate downstream; it bounces back to the hat that caused it.
- **Context-reset proof.** State lives on disk in `.haiku/intents/<slug>/`. Lose your conversation, restart Claude, swap models — the work picks up where it left off.
- **No magic, just file boundaries.** Every artifact is a markdown file you can read, grep, diff, and commit. The plugin enforces who can write what; nothing else is hidden.
- **Adversarial review is the default.** Every stage spawns review agents whose job is to find what's wrong. Findings become open feedback that has to be addressed (or explicitly rejected) before the gate opens.
- **Hats over agents.** Roles are stage-scoped behavioural definitions, not separate agent processes. The same Claude session puts on the planner hat, then the builder hat, then the verifier hat — context flows through.

## Review gates

Each stage's gate decides whether work advances:

- **`auto`** — the harness advances automatically (low-risk, machine-verifiable work)
- **`ask`** — local human approval via the review web UI
- **`external`** — blocks until a PR/MR is approved on GitHub or GitLab
- **`await`** — blocks until an external event fires (customer reply, pipeline finish, etc.)

Mix them per stage. Compound gates like `[external, ask]` let you choose at runtime.

## Kill-switch — disabling drift detection

H·AI·K·U ships a per-stage drift-detection gate that catches out-of-band edits to tracked files between ticks. If it ever misfires (false positives during a noisy refactor, an integration that legitimately rewrites tracked surfaces, load shedding under heavy churn), turn it off in `.haiku/settings.yml`:

```yaml
drift_detection: false
```

That single key disables the drift-detection gate for the project. Reconciliation, baseline establishment, and every other gate continue to run normally — only drift-finding emission is silenced. Flip it back to `true` (or remove the key entirely) once the noisy condition clears.

**Verifying the kill-switch is live.** After flipping the flag, call `haiku_baseline_init` against any intent — the response will include a `drift_disabled_warning` key when the kill-switch is active. The flag uses the literal lowercase boolean `false`; `"false"` (string) and `False` (Python-cased) are silently ignored. If `drift_disabled_warning` is absent on the next call, the YAML key is malformed.

For incident playbooks — including how to verify the kill-switch is live, how to roll back a corrupt baseline, and how to clear stuck reconciliation findings — see `.haiku/knowledge/RUNBOOK.md` inside any intent that uses drift detection.

## Links

- **Method paper** — [haikumethod.ai/papers/haiku-method](https://haikumethod.ai/papers/haiku-method)
- **Website + docs** — [haikumethod.ai](https://haikumethod.ai)
- **Source** — [github.com/gigsmart/haiku-method](https://github.com/gigsmart/haiku-method)
- **Changelog** — [CHANGELOG.md](https://github.com/gigsmart/haiku-method/blob/main/CHANGELOG.md)

## License

[Apache 2.0](https://github.com/gigsmart/haiku-method/blob/main/LICENSE) — use it, fork it, ship it.

© gigsmart · Apache-2.0 · gigsmart/haiku-method

Похожие плагины

Все плагины по теме «Настройка агента: память, контекст, субагенты» →
mcp-probe-kit mybolide Организует разработку по спецификациям, сохраняет шаги выполнения и передаёт контекст между сессиями. Полезен, когда агенту нужно вести фичи через строгие проверки качества. CX Codex +1 ★ 39звёзд репо cargo-orchestration getcargo Запускает коннекторы Cargo, воркфлоу и батчи по сегментам, строит графы операций, визуализирует пайплайны и опрашивает таблицы выполнения через SQL. CX Codex +1 10 000установок project-supervisor-orchestrator davila7 Субагент, который ведёт цепочку других агентов по шагам и возвращает результат в JSON. Пригодится, когда один запрос должен пройти через несколько специализированных агентов. 1 563установок workflow-orchestrator zhaono1 Скилл ловит момент, когда другой скилл закончил работу, и решает, что запускать дальше: логирование сессии, разбор ошибок или захват кандидата на самоулучшение. CX Codex +1 833установок goal-plan ruvnet Скилл создаёт пошаговые планы для сложных задач, анализирует, какие условия должны быть выполнены перед каждым шагом, оценивает затраты и переходит на новый маршрут, если что-то пошло не так. CX Codex +1 770установок workflow-create ruvnet Скилл для написания рабочих потоков: либо MCP-шаблоны с паузами и одобрениями, либо JS-скрипты с фан-аутом субагентов. Для длительных конвейеров и комплексных аудитов. CX Codex +1 738установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой