agent-harness · phuryn — плагин для Claude Code: функции и установка
Плагин agent-harness для Claude Code помогает настраивать инструкции, хуки и сохранение состояния агента. Навыки оформляют передачу работы между сессиями и исправляют проблемы настройки после ретроспективы.
MIT ★ 741 обновлён 2026-11-14
/plugin marketplace add phuryn/product-engineering
/plugin install agent-harness@product-engineeringЧто делает agent-harness
agent-harness собирает шесть навыков для устройства агентской среды. Одни запускаются сами: поддерживают AGENTS.md и CLAUDE.md, превращают правила в хуки Claude Code и сохраняют статус работы между сессиями. flight-deck ведёт доску статуса и журнал для каждой области работы.
Два навыка запускаются вручную в конце сессии. handover сверяет состояние файлов и процессов, затем готовит заметку для следующей сессии; retro превращает проблемы и выводы в правки инструкций, маршрутов, хуков или скриптов. Если изменений настройки не требуется, навык может зафиксировать и этот результат.
windows-agent-shell разбирает сбои и тихое повреждение файлов в Git Bash, PowerShell и cmd. Установка выполняется командами маркетплейса Claude Code.
Какие задачи решает
- сохранить статус длительной работы между сессиями
- подготовить следующей сессии передачу с текущим состоянием и дальнейшим действием
- превратить выводы сессии в правки инструкций или хуков
- защитить агента от ошибок оболочек Windows
- поддерживать инструкции для разных типов задач
Примеры запросов агенту
- Подготовь передачу работы следующей сессии:
/agent-harness:handover. - Разбери, что пошло не так в этой сессии, и предложи правку настройки:
/agent-harness:retro. - Обнови инструкции агента для этой области работы.
Как установить agent-harness
Через маркетплейс плагинов
/plugin marketplace add phuryn/product-engineering/plugin install agent-harness@product-engineeringПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы об agent-harness
Как установить agent-harness в Claude Code?
Выполни команды по порядку: /plugin marketplace add phuryn/product-engineering, затем /plugin install agent-harness@product-engineering.
Что делает agent-harness?
Плагин добавляет навыки для инструкций агента, хуков, состояния длительной работы, передачи между сессиями и разбора ошибок оболочек Windows.
Какие навыки agent-harness запускаются вручную?
handover и retro запускаются в конце сессии командами /agent-harness:handover и /agent-harness:retro. Остальные навыки начинают работу самостоятельно.
Исходный текст
agent-harness · MIT
# agent-harness — make your own agent setup reliable The machinery around the agent: instructions met at the moment they apply, rules held by code instead of prose, state that survives the context window, and the shell traps that break agents on Windows. ## Install ```bash claude plugin marketplace add phuryn/product-engineering claude plugin install agent-harness@product-engineering ``` Codex, Cursor and other agents: see the collection's root `README.md`. ## Skills (6) **You start them**, at the end of a session (`/agent-harness:<skill>` in Claude Code, `$agent-harness:<skill>` in Codex): - **handover** — The note the next session starts from: the objective, what is true now, the evidence actually obtained, what is left, the open decisions and the next concrete action, reconciled with the disk and the running processes before it is written. - **retro** — A session's learnings, built into your setup: what went wrong and why, then an improved instruction, route, hook or script, checked where it applies, or "no setup change warranted". **They start on their own:** - **agent-instructions** — Writing and maintaining the instruction file every session reads (AGENTS.md / CLAUDE.md): a general section and a product section, a router keyed by what the agent is doing, progressive disclosure, receipts, and the passes that keep it short and true. - **guardrail-hooks** — Turning a rule an agent must remember at the decisive moment into a code path: Claude Code hooks that ask before one-way doors or block a wrong commit identity, with templates to adapt. - **flight-deck** — Two files per area of work — a STATUS board rewritten in place and a LOG appended to — so long-running work stays legible across context compaction; and the owner's page, one shared page holding only what needs the human, under a short status, with several areas of work as tabs, each with a board of its key items. - **windows-agent-shell** — The Windows (Git Bash, PowerShell, cmd) traps that make coding agents fail or silently corrupt files, and the wider class of works-here-breaks-there. ## Author Paweł Huryn — [The Product Compass](https://www.productcompass.pm)
© Paweł Huryn · MIT · phuryn/product-engineering
Похожие плагины
Все плагины по теме «Настройка агента: память, контекст, субагенты» →Сначала — agent-harness от других авторов.