Captures and restores work progress for agent sessions.
Install
mkdir -p .claude/skills/handoff-vergil-project && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11548" && unzip -o skill.zip -d .claude/skills/handoff-vergil-project && rm skill.zipInstalls to .claude/skills/handoff-vergil-project
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Capture or restore work state across sessions. Use when wrapping up and you want to preserve context for next time ("/handoff stop", "save my progress", "hand this off before I stop"), or when picking work back up ("/handoff start", "resume where I left off", "what was I working on"). Captures work state before stopping and restores it on resume.Key capabilities
- →Capture current work state into a handoff file
- →Resume work from a previously saved handoff file
- →Summarize the content of a handoff file
- →Archive active handoff files after resumption
- →Update MEMORY.md with handoff file pointers
How it works
The skill writes a structured markdown file with current task details, completed items, remaining work, and key context when stopping, and reads and summarizes this file when starting to facilitate resumption.
Inputs & outputs
When to use handoff
- →Saving progress before a break
- →Resuming work after agent restart
- →Handing off task state between sessions
About this skill
Handoff
Overview
Standardize session-to-session continuity when an agent must restart mid-work (plugin updates, context limits, crashes). Replaces ad-hoc memory files with a disciplined, template-driven handoff protocol.
Not the PR handoff. This is session-continuity state, distinct from the
.vergil/pr-template.ymlPR handoff used by theimplement/auditpair.
Two modes:
/handoff stop— Capture current work state before killing the session./handoff start— Resume from the last handoff file after restarting.
Memory policy exemption. This skill writes to the memory directory
as part of its documented workflow. Because the human invokes /handoff
explicitly, the write has implicit approval and is exempt from the
global memory management policy's approval requirement.
Mode: stop
Write a structured handoff file to the project memory directory:
<memory-dir>/handoff_active.md
Template
The agent fills in the template from conversation context. The agent writes the content — this skill provides the structure.
---
name: active handoff
description: Session handoff — <one-line summary of in-progress work>
type: project
---
## In-progress task
<What the agent was doing when stop was called. Phase, step, branch name,
PR numbers — enough to resume without re-deriving.>
## Completed this session
<Bulleted list of completed items with PR/issue URLs.>
## Remaining work queue
<Numbered list in execution order. Each item is one sentence.>
## Key context
<Anything non-obvious that the next session needs to know: workarounds in
effect, known failures, blocked items, environment state.>
## Restart command
<The exact slash command or instruction to resume.>
Behavior
- Fill in the template from conversation context.
- Write the file to
<memory-dir>/handoff_active.md. - Add a pointer to
MEMORY.md(or update the existing pointer):- [Active handoff](handoff_active.md) — <one-line summary>. - Confirm the handoff file was written and tell the user it is safe to kill the session.
Constraints
- Only one active handoff at a time. Writing a new one overwrites the previous.
- Do not invent or guess state — if something is unknown, say so in the file.
- All issue and PR references must be full URLs, not short
#Nreferences.
Mode: start
When invoked (or when the agent sees handoff_active.md in memory at
session start):
- Read
<memory-dir>/handoff_active.md. - Summarize it to the user in 3-5 lines: what was in progress, what is next.
- Ask: "Continue from where the last session left off?"
- If the user confirms, proceed with the restart command / remaining work queue.
- After the user confirms and work resumes, rename the handoff file
from
handoff_active.mdtohandoff_<date>.md(archived, no longer active). Update the MEMORY.md pointer accordingly.
Auto-detection
If the agent starts a session and finds handoff_active.md in the
memory directory, it should proactively mention it: "There is a
pending handoff from a previous session. Run /handoff start to
resume, or ignore it to start fresh."
Edge cases
- No active handoff on start: Tell the user there is no pending handoff and exit.
- Multiple restarts without completing work: Each
/handoff stopoverwrites the active file. Old state is lost — this is intentional; only the most recent stop matters. - User does not run stop before killing: No handoff file is written. The agent has no special recovery. This is the status quo and is acceptable.
What this is NOT
- Not a task tracker. It captures a snapshot for session continuity, not a persistent backlog.
- Not a replacement for issue tracking. Work items belong in GitHub issues.
- Not a memory dump. It captures only what is needed to resume — not everything that happened.
When not to use it
- →For persistent backlog management
- →As a replacement for issue tracking systems
- →As a complete memory dump of all session activities
Limitations
- →Only one active handoff file exists at a time; new ones overwrite previous ones.
- →Does not invent or guess state; unknown information is explicitly noted as such.
- →Does not provide recovery if a user kills the session without explicitly invoking `/handoff stop`.
How it compares
This skill standardizes session continuity with a template-driven protocol, ensuring consistent state capture and restoration, unlike ad-hoc memory files.
Compared to similar skills
handoff side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| handoff (this skill) | 0 | 2mo | No flags | Beginner |
| linear | 10 | 2mo | No flags | Beginner |
| zapier-workflows | 11 | 8mo | Review | Beginner |
| attio-skill-generator | 7 | 7mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
linear
lobehub
Linear issue management guide. Use when working with Linear issues, creating issues, updating status, or adding comments. Triggers on Linear issue references (LOBE-xxx), issue tracking, or project management tasks. Requires Linear MCP tools to be available.
zapier-workflows
davila7
Manage and trigger pre-built Zapier workflows and MCP tool orchestration. Use when user mentions workflows, Zaps, automations, daily digest, research, search, lead tracking, expenses, or asks to "run" any process. Also handles Perplexity-based research and Google Sheets data tracking.
attio-skill-generator
kesslerio
Generate use-case-specific Attio workflow skills from templates. Use when creating new skills for lead qualification, deal management, customer onboarding, or custom Attio workflows.
automation-brainstorm
MacroMan5
Interactive workflow design advisor for Power Automate, n8n, Make, Zapier and other platforms. Guides users through planning automation workflows with smart questions about triggers, actions, data flow, and error handling. Uses research sub-agent to find best practices and generates detailed implementation plan. Triggers when user mentions "create workflow", "build flow", "design automation", "need ideas for", or describes workflow requirements without having a complete design.
daily-briefing
anthropics
Start your day with a prioritized sales briefing. Works standalone when you tell me your meetings and priorities, supercharged when you connect your calendar, CRM, and email. Trigger with "morning briefing", "daily brief", "what's on my plate today", "prep my day", or "start my day".
jira
davila7
Use when the user mentions Jira issues (e.g., "PROJ-123"), asks about tickets, wants to create/view/update issues, check sprint status, or manage their Jira workflow. Triggers on keywords like "jira", "issue", "ticket", "sprint", "backlog", or issue key patterns.