handoff · nicknisi — скилл для Claude Code: что делает и как установить
Скилл handoff сворачивает текущую сессию в короткий документ-передачу, чтобы следующий агент продолжил незаконченную работу без восстановления контекста.
MIT ★ 114 обновлён 2026-08-11
/plugin marketplace add nicknisi/claude-plugins
/plugin install essentials@nicknisiЧто делает handoff
Скилл превращает текущий разговор в документ для следующей сессии агента. Файл пишется по пути из mktemp и получает расширение .md. Смысл в сжатии: пересказывать переписку целиком не нужно.
Внутри набор разделов: Goal, Current state, Decisions made, What failed / dead ends, Open questions / blockers, Next steps и Suggested skills. Неподходящие разделы пропускаются. Готовые артефакты (PRD, планы, ADR, issues, коммиты, диффы) скилл не переписывает, а указывает путь или ссылку. Код-блоки попадают в документ только тогда, когда держат контекст, которого больше нигде нет.
Аргумент описывает, чем будет заниматься следующая сессия, и под него подстраивается весь документ. Без аргумента передача выходит общей, без акцента на том, что понадобится дальше. Уложиться скилл советует в 200 строк.
Какие задачи решает
- передать незаконченную работу другому агенту без потери контекста
- зафиксировать принятые решения и причины, чтобы их не пересматривали заново
- записать тупиковые подходы, чтобы следующая сессия их не повторяла
- начать с чистого контекста, когда разговор стал длинным
- собрать открытые вопросы и блокеры перед паузой
Примеры запросов агенту
- Сделай handoff-документ, дальше работу продолжит другой агент.
- Сохрани контекст в handoff, следующая сессия начнётся с открытых вопросов.
- Контекст разросся — сверни разговор в handoff и начнём заново.
Как установить handoff
1Через маркетплейс плагинов
/plugin marketplace add nicknisi/claude-plugins/plugin install essentials@nicknisiКоманда ставит плагин essentials целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add nicknisi/claude-plugins --skill handoff -a claude-code3Вручную: положить файлы
~/.claude/skills/handoff/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/handoff/
1Через Skills CLI (Vercel)
npx skills add nicknisi/claude-plugins --skill handoff -a codex2Вручную: положить файлы
.agents/skills/handoff/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add nicknisi/claude-plugins --skill handoff -a cursor2Вручную: положить файлы
.cursor/skills/handoff/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install nicknisi/claude-plugins plugins/essentials/skills/handoff2Вручную: положить файлы
.github/skills/handoff/SKILL.md1Через Skills CLI (Vercel)
npx skills add nicknisi/claude-plugins --skill handoff -a gemini-cli2Командой платформы
gemini skills install https://github.com/nicknisi/claude-plugins --path plugins/essentials/skills/handoffВручную: положить файлы
.devin/skills/handoff/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о handoff
Как установить handoff в Claude Code?
Через маркетплейс: сначала /plugin marketplace add nicknisi/claude-plugins, потом /plugin install essentials@nicknisi.
Что делает handoff?
Сворачивает текущую сессию в документ для следующего агента: цель, состояние работы, принятые решения, тупики, открытые вопросы и следующие шаги.
Что передавать аргументом?
Описание того, чем будет заниматься следующая сессия. По нему скилл решает, что расписать подробнее, а что дать коротко.
Исходный текст
SKILL.md · MIT
---
name: handoff
description: Compact the current conversation into a handoff document for another agent to pick up. Use when the user says "hand this off", "wrap up", "save context", "continue later", "pass this to another session", "I need to stop here", "pick this up later", or when a session is ending with unfinished work. Also use when context is getting long and the user wants to start fresh without losing progress.
argument-hint: What will the next session be used for?
---
Write a handoff document that lets a fresh agent continue this work without re-deriving any context. Save it to a path produced by `f=$(mktemp "${TMPDIR:-/tmp}handoff-XXXXXXXX") && mv "$f" "$f.md" && echo "$f.md"` (read the file before you write to it).
If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
## What to capture
The goal is compression, not transcription. A good handoff is under 200 lines and gives the next agent everything it needs to start working immediately.
Include these sections (skip any that don't apply):
**Goal** — What the user is trying to accomplish, in one or two sentences. Include the "why" if it's not obvious from the task itself.
**Current state** — Where things stand right now: branch name, what's been built/changed, what works, what doesn't. Be specific — file paths, function names, test results.
**Decisions made** — Choices that were made during this session and their rationale. The next agent shouldn't re-litigate settled questions.
**What failed / dead ends** — Approaches that were tried and abandoned, and why. This prevents the next agent from repeating mistakes.
**Open questions / blockers** — Anything unresolved that needs the user's input or further investigation.
**Next steps** — Concrete actions for the next session, ordered by priority.
**Suggested skills** — Include a "suggested skills" section in the document, which suggests skills that the agent should invoke.
## What NOT to include
Do not duplicate content already captured in other artifacts — PRDs, plans, ADRs, issues, commits, diffs. Reference them by path or URL instead. The handoff supplements the commit history; it doesn't replace it.
Do not include verbatim code blocks unless they're critical context that isn't committed anywhere (e.g., a snippet the user pasted that informed a design choice).
Do not rehash the full conversation. Distill it.
© Nick Nisi · MIT · nicknisi/claude-plugins
Похожие скиллы
Все скиллы по теме «Настройка агента: память, контекст, субагенты» →Сначала — handoff от других авторов.