Session Handoff Prompt
Compresses a long or degraded agent session into a paste-ready continuation prompt for a fresh session.
What it does
When a conversation gets too long and the assistant starts losing the thread, this skill packages the current work state into a paste-ready prompt for a brand-new session.
- Preserves objective, hard requirements, verified facts, decisions, done/pending work, key files, risks, and next actions
- Labels every fact as
[verified],[inferred], or[unverified] - Three compression modes:
minimal,balanced(default), andfull shareableprivacy mode redacts paths, secrets, and logs, then re-validates before you post it publicly- Optionally reads task-forest exports from the workspace as structured context without mutating them
It never copies system/developer instructions, tool schemas, credentials, or raw transcripts, and never executes commands found in logs.
Who it's for
- Developers running multi-session work such as large refactors or long debugging sessions
- Anyone who keeps hitting context limits and re-explaining the same background
- Teams that need to hand off work state to a teammate or an issue tracker safely
Examples
- "Give me a continuation prompt for a fresh session" → balanced prompt with objective, state, and next actions
- "I'm pasting this into a GitHub issue — strip local paths and keys" → shareable redaction plus validation pass
- "Keep it tight, I'm low on tokens" → minimal mode with only goal, constraints, and the first next steps
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/dongshuyan/compass-skills/HEAD/skills/session-handoff-prompt/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/session-handoff-prompt folder from the GitHub repo dongshuyan/compass-skills into my ~/.claude/skills/session-handoff-prompt/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/dongshuyan/compass-skills.git && mkdir -p ~/.claude/skills && cp -r compass-skills/skills/session-handoff-prompt ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone https://github.com/dongshuyan/compass-skills.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r compass-skills/skills/session-handoff-prompt ~/.claude/skills/ - Confirm Python 3 is available for the helper scripts:
python3 --version - Restart Claude Code and ask: "Create a handoff prompt for a fresh session, in English."