AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

Session Handoff Prompt

Compresses a long or degraded agent session into a paste-ready continuation prompt for a fresh session.

AutomationIntermediate★ 762⑂ 63AI score 9/10Last updated: Oct 30, 2026

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), and full
  • shareable privacy 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

  1. "Give me a continuation prompt for a fresh session" → balanced prompt with objective, state, and next actions
  2. "I'm pasting this into a GitHub issue — strip local paths and keys" → shareable redaction plus validation pass
  3. "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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI 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.

  1. Open a terminal.
  2. Clone the repository: git clone https://github.com/dongshuyan/compass-skills.git
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the skill in: cp -r compass-skills/skills/session-handoff-prompt ~/.claude/skills/
  5. Confirm Python 3 is available for the helper scripts: python3 --version
  6. Restart Claude Code and ask: "Create a handoff prompt for a fresh session, in English."