Логотип Handoffplan

Handoffplan

Сообщество
REMvisual
handoffplan

Run /handoff to capture session data, then write a phased implementation plan that references it. Creates beads for tracking.

Обзор

ИздательREMvisual
Репозиторийclaude-handoff
Название навыкаhandoffplan
Звёзды
70
Форки
6
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — REMvisual. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Handoffplan в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/REMvisual/claude-handoff/tree/master/skills/handoffplan
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/REMvisual/claude-handoff.git /tmp/claude-handoff
mkdir -p .claude/skills
cp -r /tmp/claude-handoff/skills/handoffplan .claude/skills/handoffplan
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Handoffplan в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Handoffplan, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Handoffplan не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

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

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Handoff Plan

IMPORTANT: This skill writes files. You MUST NOT be in Claude Code's built-in plan mode. If you are currently in plan mode, exit plan mode first (use ExitPlanMode) before proceeding. This skill produces plan files — it does not use Claude Code's plan mode feature. They are different things.

Step 1: Run /handoff to create the data file — FULL TWO-PHASE PROCESS.

Execute the full /handoff skill first, including the mandatory two-phase write process:

  • Phase 1: Write the handoff file (all sections, narrative + evidence)
  • Phase 2 (MANDATORY for Deep and Chunked passes): Read it back, scan conversation for uncaptured data, use Edit to expand toward the ceiling (800 lines for 1M context)

This is not optional. The handoff is the data store — a thin handoff produces a thin plan. Follow the handoff skill's mining-pass detection, line count checks, and gap research pass exactly as specified.

Do NOT skip or abbreviate the handoff. Do NOT skip Phase 2. If the handoff is under 500 lines on a Chunked pass, you haven't mined deep enough — go back and expand before writing the plan.

Do NOT ask to close the session after the handoff. Skip Step 8 of the handoff skill — the close prompt happens after the plan is written, not after the handoff.

Do NOT enter Claude Code plan mode at any point. This skill writes files and commits. Plan mode is not used.

This skill creates a plan for the NEXT session to execute. The handoff captures data. The plan defines work. Beads track phases. Then you commit, close, and give the user a paste prompt that tells the next session to start executing Phase 1 immediately — no onboarding, no exploration, just code. The next session gets full clean context because it's a fresh session.

Arguments: $ARGUMENTS

Compact mode. If $ARGUMENTS contains the word compact-mode, the compact-handoff mod started this run and will replace the conversation with the plan when your turn ends. Follow the handoff skill's compact-mode rules: ask nothing in this turn, and take stated defaults. If $ARGUMENTS has context={N}k, the handoff chooses its mining pass from that number. Run Steps 1-6 as normal, but keep Step 5's report to one line (the compaction replaces it seconds later) and skip Step 6 item 3. Print Step 6's paste prompt block exactly as the template has it (header, dashed rules, every line): the mod sends it as the next prompt word for word. End your turn with this exact last line, paths relative to the repo root: COMPACT-HANDOFF-READY: {handoff path} | {plan path} If either file could not be written, end with COMPACT-HANDOFF-FAILED: {reason} instead.


CHECKPOINT before Step 2: Count the handoff's lines and print the handoff skill's Length check line. Check its mining-pass minimum (Quick: 150/250, Deep: 300, Chunked: 500 — see handoff skill's Line Budget table). If the handoff is under its pass minimum, STOP. Run the handoff's Phase 2 gap research pass now — read back what you wrote, scan the conversation for uncaptured data, and Edit to expand. Do not proceed to the plan with a thin handoff. The plan's quality is bounded by the handoff's quality.


Step 2: Write the plan file.

Once the handoff file exists, write the plan. The plan lives in the same directory as the handoff, with the same slug:

  • Handoff: HANDOFF_{chain_tag}_{slug}_{date}.md (already written — or HANDOFF_{slug}_{date}.md if no beads)
  • Plan: PLAN_{chain_tag}_{slug}_{date}.md (write this now — mirror the handoff's naming)

What makes a good plan

If arguments were provided (check $ARGUMENTS above): use them as a soft hint for framing the Problem Statement and phasing. They may suggest the epic scope, priority order, or what the user considers the first phase. Let them shape emphasis, but the handoff data is still the authority on what was actually tried and discovered.

The plan is an action document. It answers "what do we do next and how?" It should be:

  • Grounded in the handoff data. Every phase should trace back to evidence. Don't propose approaches that contradict what "What We Tried" showed didn't work.
  • Specific enough to execute without the conversation. Someone reading just the plan + handoff should be able to start coding. No vague "investigate X" — say what to investigate, where, and what outcome you expect.
  • Honest about what we don't know. If a phase has uncertainty, say so and include how to handle both outcomes.
  • Referencing, not duplicating. Data lives in the handoff. The plan points to it: "See Evidence section in {handoff_file}". Don't copy tables or measurement lists into the plan.

Line budget: 120-250 lines

Scale with the number of phases and complexity. A 2-phase plan is shorter than a 5-phase plan.

Plan Structure

markdown
# {One-line summary of what we're planning}

**Date:** {YYYY-MM-DD}
**Status:** PLANNED
**Bead(s):** {active bead IDs, or "none"}
**Epic:** {parent epic/initiative name, if any}
**Chain:** `{chain_tag}` seq `{N}` (copied from paired handoff)
**Context:** See `{handoff_file_name}` for session data, test results, and prior approaches.

---

## Problem Statement

{3-5 sentences. What are we solving? Why does it matter? What's broken or missing?
Be specific — include key numbers from the handoff.
Reference the handoff for full data: "See Evidence & Data in {handoff_file}".}

## Key Findings

{5-8 bullet summary of the discoveries from this session (and prior sessions) that drive the plan.
These are CONCLUSIONS, not raw data — the raw data is in the handoff.
Each bullet should connect to a phase: "→ drives Phase N" to show the data-to-action link.}

## Anti-Goals (What NOT To Do)

{Approaches explicitly rejected and why. Things the next session should NOT attempt.
Pull from "What We Tried" and "Key Decisions" in the handoff.
2-5 bullets. Skip only if no approaches were rejected.}

## Plan

### Phase 1: {name}

**Goal:** {One sentence — what this phase achieves and why it matters}

**Why this approach:** {1-2 sentences connecting this to the evidence. Why THIS and not the alternatives tried/rejected?}

{Detailed implementation steps — explain HOW, not just WHAT:
- Specific functions/methods to change and what the change is
- New parameters, their defaults, and WHY those defaults (connect to evidence)
- The before→after for each change (old behavior → new behavior)
- Edge cases to handle and how
- How this connects to the findings above
6-10 bullet points.}

**Files:** {files to modify/create, with brief note on what changes in each}
**Validates with:** {specific test commands, expected outputs, success criteria with numbers}
**Rollback:** {what to revert if this phase makes things worse}

### Phase 2: {name}

**Goal:** {One sentence}
**Why this approach:** {1-2 sentences}

{Same level of detail. 6-10 bullet points.}

**Files:** {files}
**Validates with:** {criteria}
**Rollback:** {revert plan}

### Phase N: {name} (as many as needed, prefer 2-5)

{Same format.}

## Dependencies & Order

{What must happen before what. Which phases can run in parallel.
2-5 bullets.}

## Risks & Mitigations

{What could go wrong AND what to do about it. For each:
- The risk
- How likely (based on evidence from the handoff)
- The mitigation or fallback
3-6 bullets.}

## Success Criteria

{How do we know the plan worked? Specific, measurable outcomes.
Reference baseline numbers from the handoff.
Include both "minimum viable success" and "full success" if applicable.
3-6 bullets.}

## Quick Start

```bash
# Restore full context
cat {handoff_file_path}

# Prior context (if OV available)
# /memory-recall {topic keywords}

# Key source files for Phase 1
{3-5 files to read before starting}

# Baseline data to reference
{path to test results / measurement files}

# Verify starting state
{test command to confirm things work before changing anything}

# First concrete action
{THE specific code change or command to begin Phase 1}

---

**Step 3: Create beads for phases (if available).**

```bash
bd create --title="Phase 1: {name}" --description="{what and why}" --type=task --priority=2
bd create --title="Phase 2: {name}" --description="{what and why}" --type=task --priority=2
# Add dependencies between phases
bd dep add {phase2_id} {phase1_id}

If tasks are already in_progress, update their notes:

bash
bd update {id} --notes "Plan written. See {plan_file_path}"

Step 4: Persist to memory (if available).

bash
bd remember "Plan written to {plan_path}, handoff to {handoff_path}. Next: Phase 1 — {first action}"

Step 5: Report.

Tell the user concisely:

  • Both files written and their paths
  • Line counts for each
  • The "First Action" from Quick Start
  • Beads created for each phase (if available)

Step 6: Commit and close.

This skill always closes the session. The next session executes the plan with full clean context.

  1. Commit all session work:

    bash
    git status -s
    git diff --stat

    Stage all changed/new files relevant to this session's work, then commit:

    session: {slug} [{chain_tag}]
    
    {One-line summary of what this session accomplished}
    
    Handoff: {handoff_filename}
    Plan: {plan_filename}
    Bead(s): {bead_ids or "none"}
    
    Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>

    Be surgical — only commit files related to this session's work. If git status shows unrelated changes from other sessions, mention them but don't commit them.

  2. Output the ready-to-paste prompt:

    -------------------------------------------------------
    PASTE THIS INTO YOUR NEXT SESSION:
    -------------------------------------------------------
    Read `{plan_file_path}` and `{handoff_file_path}` (seq {N}, {chain_tag}).
    Execute the plan starting at Phase 1. Beads are already created with dependencies.
    
    Your first actions:
    1. Read the plan file
    2. Create a task for each phase (TaskCreate) so you can track progress
    3. Claim Phase 1: `bd update {phase1_bead} --claim`
    4. Read the source files listed in the plan's Quick Start
    5. Start coding Phase 1's first concrete action: {first_action}
    
    For phases the plan marks as parallelizable, use the Agent tool to run them concurrently in worktrees.
    
    Do NOT onboard, explore, or ask questions. The plan has everything. Build.
    -------------------------------------------------------
  3. Tell the user: "Session closed. Paste that into a fresh session to start executing Phase 1 with full context."


Rules

  1. Handoff first, always. Run the full /handoff skill. Don't abbreviate it. Don't skip steps. The plan depends on the handoff being thorough.
  2. Plan references handoff, never duplicates. Data lives in the handoff. The plan points to it.
  3. Every phase traces to evidence. "Why this approach" must connect to findings from the handoff.
  4. Anti-Goals prevent re-work. Explicitly state what NOT to do based on prior failures.
  5. Phases explain HOW, not just WHAT. "Remove is_low_onset param, compute own onset from low_flux using 3.0x median threshold" not "modify the detector."
  6. Success criteria use baseline numbers. Reference the handoff's Evidence & Data section.
  7. Rollback per phase. Every phase must say what to revert if it makes things worse.
  8. Same naming for paired files. Mirror the handoff filename: HANDOFF_Proj-abc_foo_date.md + PLAN_Proj-abc_foo_date.md (or without chain tag if no beads).
  9. Always close the session. This skill mines, plans, and closes. The next session executes with full clean context. Don't try to execute in the same session — context is exhausted from mining.
  10. Chain metadata propagates. The PLAN file must copy the Chain line from its paired HANDOFF file. Same chain-id, same seq. This lets cleanup find both files together.
  11. The paste prompt is an execution prompt, not an onboarding prompt. The difference between /handoff and /handoffplan is what the next session does. After /handoff, the next session onboards and explores. After /handoffplan, the next session reads the plan and starts coding Phase 1 immediately.

Часто задаваемые вопросы

Что делает навык ИИ Handoffplan?

Run /handoff to capture session data, then write a phased implementation plan that references it. Creates beads for tracking.

Зачем использовать Handoffplan в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Handoffplan — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Handoffplan в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/REMvisual/claude-handoff/tree/master/skills/handoffplan. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Handoffplan?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Handoffplan?

С любым количеством. В TypingMind вы можете использовать Handoffplan с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Handoffplan?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — REMvisual. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇