Command Palette

Search for a command to run...

Назад к скиллам
скилл № 28743

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от 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 fewer and 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 cd into the --cwd target, a /tmp brief directory, or any other path first — --cwd is where the successor will live; you never need to stand there. Sandboxed harnesses (e.g. codex workspace-write) block network and non-workspace writes for commands run from untrusted directories. The failure signature is attempt to write a readonly database followed by Could 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).
  • --cwd must 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 ../worktree fails 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 with Handoff cwd is not inside a git repository. A --cwd that resolves (symlinks followed) to a project's primary checkout is refused too, with Invalid cwd: <path> is the primary checkout of <project>; use a worktree — --allow-primary overrides 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 --cwd at (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 `--

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Bash
  2. 02Read

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), без исполняемых скриптов.

Похожие скиллы

Сравнить pan-handoff с