Session Handoff Prompt

Generates a structured, fact-labeled prompt to resume work in a fresh agent session

Tested · Works

Test report

Verdict
Tested · Works
Score
9.2/10
Tested
Jul 21, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Aug 10, 2026 · cd1235e

Cloned the repo; SKILL.md frontmatter parses with name+description; spot-checked references/output-contract.md and 3 scripts (all HTTP 200); ran smoke_test_handoff.py which passed. For output, I invented a rate-limit-bug coding session and wrote two handoffs: a plain-prose baseline and one following output-contract.md. validate_handoff_prompt.py returned ok=True for the skill artifact but ok=False for the baseline with 6 HARD missing_section errors (workspace/goal/requirements/completed/pending/next) plus missing fact labels. Also verified redact_handoff.py replaced an absolute path with <LOCAL_PATH> and an sk- API key with sk-<REDACTED>, matching the shareable-privacy claim.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 5/5
  • Triggers reliably 5/5
  • Output vs. baseline 8/10
  • Docs & honesty 5/5

What Session Handoff Prompt does

Produces a paste-ready continuation prompt so a fresh agent session can resume a long or degraded session with high task-state fidelity and low token cost, organizing goal, hard requirements, verified facts, completed and pending work, key files, and next actions into a fixed contract. Triggers when the user asks for a handoff, restart, continuation, or context-transfer prompt; it explicitly avoids ordinary summaries, task-forest maintenance, and profile updates. Ships Python stdlib helpers to project transcripts, validate prompt structure, and redact local paths and credentials before sharing.

How to install Session Handoff Prompt

git clone --depth 1 https://github.com/dongshuyan/compass-skills.git /tmp/session-handoff-prompt-src
mkdir -p ~/.claude/skills
cp -R /tmp/session-handoff-prompt-src/skills/session-handoff-prompt ~/.claude/skills/session-handoff-prompt
# No external deps: helper scripts use Python 3 standard library only (python3/python/py -3).
# Optional self-check: python3 ~/.claude/skills/session-handoff-prompt/scripts/smoke_test_handoff.py --skill-dir ~/.claude/skills/session-handoff-prompt

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger Session Handoff Prompt

  • /session-handoff-prompt Generates a structured, fact-labeled prompt to resume work in a fresh agent session

It also activates on plain-language prompts like these:

  • Create a handoff prompt to resume this session
  • Write a restart prompt summarizing our progress
  • Compress this session into a continuation prompt

Frequently asked questions

Is the Session Handoff Prompt skill free?
Yes. The skill itself is free from dongshuyan/compass-skills. SkillProof publishes the install command and an independent test verdict at no cost.
Does Session Handoff Prompt work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 21, 2026. Verdict: Tested · Works. Cloned the repo; SKILL.md frontmatter parses with name+description; spot-checked references/output-contract.md and 3 scripts (all HTTP 200); ran smoke_test_handoff.py which passed. For output, I invented a rate-limit-bug coding session and wrote two handoffs: a plain-prose baseline and one following output-contract.md. validate_handoff_prompt.py returned ok=True for the skill artifact but ok=False for the baseline with 6 HARD missing_section errors (workspace/goal/requirements/completed/pending/next) plus missing fact labels. Also verified redact_handoff.py replaced an absolute path with <LOCAL_PATH> and an sk- API key with sk-<REDACTED>, matching the shareable-privacy claim.
What is the Session Handoff Prompt SkillProof Score?
9.2/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 8/10, docs & honesty 5/5.
How do I install Session Handoff Prompt?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use Session Handoff Prompt with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.