handoffkit

Generates a Markdown handoff document summarizing session state, decisions, and next steps for a fresh agent.

1|Updated Jul 12, 2026
One-click install
npx skills add https://github.com/mimukit/skills --skill handoffkit-mimukit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: handoffkit
Source: https://github.com/mimukit/skills/tree/main/skills/handoffkit
Command: npx skills add https://github.com/mimukit/skills --skill handoffkit-mimukit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a conversation runs out of context or work must move to another agent or session, critical reasoning, decisions, and loose ends live only in the chat and are lost. This Skill compacts the current conversation into a single handoff document that a fresh agent can read cold and continue from. ## Core Features & Use Cases - Session compaction: Captures goal, current state, next steps, decisions, constraints, and open questions in a structured Markdown template. - Reference over duplication: Links existing artifacts (specs, PRs, commits, diffs) by path or URL instead of copying their contents, and redacts secrets and PII before output. - Flexible output: Saves to docs/handoffs/handoff-<slug>-YYYY-MM-DD.md by default, or prints inline as a copy-pastable block when requested or when no filesystem is writable. - Use Case: Before hitting a context limit mid-migration, run the handoff with a focus argument like "finishing the migration" to produce a document the next session can act on immediately. ## Quick Start Ask the agent to run /handoffkit with an optional focus such as "handoff for finishing the auth migration" to write a handoff document into docs/handoffs/.

Frequently Asked Questions about handoffkit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I hand off work to another AI agent or session?

Invoke the handoff skill explicitly, optionally with a focus argument describing the next session's goal. It scans the conversation, drafts a structured Markdown document with goal, state, next steps, and decisions, then saves it under docs/handoffs/ for the next agent to read.

What should a good session handoff document include?

Include the goal and why it matters, what is done versus open, the immediate next action, decisions with reasoning, ruled-out approaches, and how to run or verify. Reference existing artifacts like specs and PRs by path or URL instead of copying their contents.

Does the handoff document copy code diffs and specs into it?

No. Anything already written down, such as specs, ADRs, commit messages, diffs, and PR descriptions, is linked by path or URL rather than reproduced. The document only carries reasoning and state that exist solely in the conversation.

Are API keys and secrets safe when generating a handoff?

Yes. The skill redacts API keys, tokens, passwords, and personally identifiable information before output. Secrets are referred to by name only, such as the staging DB password in .env, never by value.

What happens if the environment cannot write files?

The skill degrades gracefully by emitting the finished handoff as a single Markdown code block in the chat and stating that no file was created. It also prints inline when the user explicitly requests terminal or copy-pastable output.

Why does the handoff skill not trigger automatically?

Model invocation is disabled so a session compaction never fires mid-work. It runs only when the user deliberately invokes it, ensuring the handoff captures a deliberate stopping point rather than interrupting active work.