Skip to content
Back to skills

Handoff

ASecurity

Finish the CURRENT session in one move: write a rich model-authored handoff, open a fresh full-window Kimi session that takes over (its SessionStart hook auto-loads the handoff into context), and close this one once the fresh session has it — a clean baton pass, one session at a time. Use when you want to wrap up and continue fresh on demand (not just at the compaction threshold). Trigger: /skill:handoff

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgobashnode

Works with

  • terminal

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add sashabogi/trantor --skill handoff --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Handoff?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Handoff
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sashabogi-handoff/badge)](https://www.skillsdirectory.com/skills/sashabogi-handoff)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: handoff
description: |
  Finish the CURRENT session in one move: write a rich model-authored handoff, open a fresh
  full-window Kimi session that takes over (its SessionStart hook auto-loads the handoff into
  context), and close this one once the fresh session has it — a clean baton pass, one session
  at a time. Use when you want to wrap up and continue fresh on demand (not just at the
  compaction threshold). Trigger: /skill:handoff
whenToUse: When the user wants to wrap up this session and continue in a fresh one — "hand off", "pass the baton", "continue in a new session"
---

# Relay Handoff — pass the baton to a fresh session

Write a complete handoff capturing everything a NEW session needs to continue this work without
re-deriving context, and save it so the next session in this project auto-loads it on start.

## Instructions

1. Compose a thorough markdown handoff for the current task with these sections (be specific —
   exact file paths, concrete next actions; the successor has a fresh window and only this):
   - **TASK** — what we're doing and the goal
   - **STATE** — what's done, what's in progress
   - **KEY DECISIONS** — choices made and why
   - **OPEN THREADS & NEXT STEPS** — the concrete actions to do next, in order
   - **KEY FILES & LOCATIONS** — exact paths, commands, URLs, IDs the successor needs
   - **GOTCHAS** — anything that will bite if forgotten

2. Save it AND pass the baton in one shot — pipe the markdown to the helper with `--baton`:
   ```bash
   cat << 'HANDOFF' | node "${KIMI_SKILL_DIR}/../../bin/write-handoff.mjs" --baton
   <your handoff markdown>
   HANDOFF
   ```
   `--baton` writes the handoff, opens a FRESH `kimi` session in a new Terminal window (its
   SessionStart hook claims the handoff and injects it into context — the new session resumes
   on its first prompt; say "recap" and it summarizes where the work stands), and closes THIS
   Terminal window once the fresh session has taken over — a true baton pass, one session at a
   time. (Omit `--baton` to only write the handoff without spawning/closing.) It's safe: the
   original window is closed ONLY after the fresh session confirms it took over, and never if
   the fresh session fails to start.

3. Tell the user briefly: "Handoff written — a fresh session is opening with the handoff loaded;
   this window closes once it takes over. Ask it to recap." Then stop (the baton will close this
   session shortly).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.