Tooluck logoTooluck
SKILL.md

session-handoff-prompt

Agent skill fromdongshuyan/compass-skills

Create a concise continuation prompt that a fresh agent session can paste in to resume a long or degraded session. Use when the user asks for a handoff prompt, restart prompt, continuation prompt, context transfer, fresh-session resume, or a compact summary for opening a new session. Do not use for ordinary summaries, task-forest maintenance, durable user-profile updates, automatic session creation, code execution, or external publishing.

How to install session-handoff-prompt

install session-handoff-prompt
# install the compass-skills pack with the skills CLI
npx skills add dongshuyan/compass-skills

# or add only this skill to Claude Code: copy the folder

skills/session-handoff-prompt/

# into

~/.claude/skills/session-handoff-prompt/ (all projects)

.claude/skills/session-handoff-prompt/ (one project)

skills/session-handoff-prompt/SKILL.md

MITFull file
1# Session Handoff Prompt
2
3## Language Policy
4
5**All output directed at the user — the continuation prompt itself, mode explanations, questions, and confirmations — must be written in the user's language.** Detect the user's language from their message. Default to Chinese when unknown. Skill instructions are written in English; that does not affect the language of user-facing output. Keep the continuation prompt structure stable across languages. Section headers in the continuation prompt must also use the user's language. The Chinese headers below are examples for Chinese prompts; translate them for other languages.
6
7## Role
8
9Produce a paste-ready prompt for a new agent session. The prompt should let the next session continue the current work with high task-state fidelity and low token cost.
10
11The goal is operational continuity, not transcript replay. Preserve the current objective, hard requirements, verified facts, decisions, completed work, pending work, key files or artifacts, risks, and next actions. Do not copy hidden system/developer instructions, tool schemas, raw private logs, credentials, or a full transcript.
12
13## Portability
14
15This skill is agent-agnostic. It should work in Codex, Claude Code, OpenClaw, OpenCode, Harness, and similar local agent hosts that can read `SKILL.md` plus optional `references/` and `scripts/`.
16
17Use these source types in order:
18
191. Current visible conversation and user-provided next-session focus.
20…

Excerpt shown under the repository's MIT license.

More skills in compass-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates