pan-handoff
pan handoff <conv> — agent-authored conversation handoff that spawns a new conversation. Keep the focus short and steering; the hard cap is 10000 characters…
от eltmon★ 36 звёзд на GitHub
Установить pan-handoff в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
pan handoff
Create a new conversation seeded by a handoff document written by the live source agent.
Quick command
pan handoff [conv] [focus text...]
The trailing text after the conversation reference becomes the focus — no flag required.
Keep the focus short and steering; do NOT pack backstory/context into it — the author reads the full source transcript for that, and long briefs belong in a file the focus points at. The hard cap is 10,000 characters (multi-line is fine; PAN-3737) — a longer focus is rejected with
Fork request rejected: focus must be 10000 characters or fewerand no conversation is created.
Where to run it, and where the successor lives
Two separate directories are involved, and each has its own rule:
- Run the command from your project directory (the directory your session was launched in). Do NOT
cdinto the--cwdtarget, a/tmpbrief directory, or any other path first —--cwdis where the successor will live; you never need to stand there. Sandboxed harnesses (e.g. codexworkspace-write) block network and non-workspace writes for commands run from untrusted directories. The failure signature isattempt to write a readonly databasefollowed byCould not reach the Overdeck dashboard at http://127.0.0.1:3011 … (fetch failed)while the dashboard is actually up — if you see that pair, re-run from your project directory (PAN-3735). --cwdmust be an absolute path to an existing directory under your home directory, inside a git working tree. The server rejects violations and creates no conversation:/tmp/...fails the home-containment check (Invalid cwd), a relative path like../worktreefails the absolute-path check (the CLI does not resolve it for you), a not-yet-created directory fails the existence check, and a plain non-git directory fails withHandoff cwd is not inside a git repository. A--cwdthat resolves (symlinks followed) to a project's primary checkout is refused too, withInvalid cwd: <path> is the primary checkout of <project>; use a worktree—--allow-primaryoverrides this, but only for an operator shell or operator conversation, never an agent session. The reliable recipe is an isolated worktree:git -C <repo> worktree add -b hoff/<slug> "$HOME/hoff-<slug>-wt" main, put any brief files in it, then pass it as--cwd. In a polyrepo project whose parent directory is not itself a git repo, point--cwdat (a worktree of) the relevant sub-repo — the parent fails the git check.
Handing off the conversation you are in (the common case)
If you are an agent inside a conversation and want to hand off your own
conversation, omit <conv> — or pass self. Do NOT run pan conv scan,
pan conv list, or pan conv show to "find yourself" and then guess an id.
That scan-and-guess pattern picks the wrong source (PAN-1520); the command
identifies your conversation deterministically from the session you are running
in.
pan handoff # hand off this conversation, no focus
pan handoff self wire the Stripe webhook # hand off this conversation, with focus
Because focus text is positional, prefer the explicit self token whenever you
pass focus — a bare first word like pan handoff continue the wiring is
interpreted as a conversation reference named "continue", not focus. self
removes the ambiguity.
If you want to know which conversation you are resolved to, run pan conv current
(alias pan conv whoami). It prints the deterministic answer with no guessing.
Self-detection works for non-Docker claude-code conversations. If it cannot
resolve (run outside a conversation, or a Docker workspace), the command errors
and asks for an explicit <conv> — it never falls back to a guess.
Usage
pan handoff # hand off the conversation you are in
pan handoff self continue the API wiring # same, with focus
pan handoff 42
pan handoff source-conv continue the API wiring
pan handoff source-conv --model claude-sonnet-4-6
pan handoff source-conv --effort low cheap follow-up
pan handoff source-conv --harness pi
pan handoff source-conv --cwd /home/you/Projects/project/workspaces/feature-pan-123
pan handoff source-conv --cwd /home/you/Projects/isolated-worktree --project mind-your-now
pan handoff source-conv --model claude-opus-4-7 wire the Stripe webhook into checkout
pan handoff source-conv --author external --author-model claude-haiku-4-5 cheap clean handoff
pan handoff source-conv --author source uses-source-agent-and-pollutes-its-context
pan handoff source-conv --issue PAN-1234 continue the API wiring
pan handoff self --issue PAN-1234 --role review "review the PR"
pan handoff source-conv --title "Checkout webhook repair" continue the API wiring
Project and issue association
Use --project <key-or-name> when the successor runs from a --cwd outside the registered project's directory, such as an isolated worktree. The `--
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash - 02
Read
FAQ
Что делает скилл pan-handoff?
pan handoff <conv> — agent-authored conversation handoff that spawns a new conversation. Keep the focus short and steering; the hard cap is 10000 characters (PAN-3737). Pass --title to name the successor. --fresh starts a clean conversation with no summary and no parent link.
Как установить скилл pan-handoff?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pan-handoff запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…