Session Handoff Prompt
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…
- Type
- Skill
- Repository
- dongshuyan/compass-skills
- GitHub stars
- 746
- License
- MIT
- Repo last updated
- Aug 26, 2026
- Source file
- README.md
What Session Handoff Prompt is
Session Handoff Prompt is a skill published in the dongshuyan/compass-skills repository on GitHub, which has about 746 stars. The repository describes itself as: “司南:个性化 AI 任务总控 Skills 系统 /COMPASS: Personal Alignment Skills OS for AI Agents”
A skill is a folder with a SKILL.md file: frontmatter with a name and a description, followed by instructions Claude follows. Claude loads a skill automatically when a task matches its description, and you can also run it directly with a slash and its name.
Skills work in Claude Code and in Claude Cowork, which makes Session Handoff Prompt a portable way to give Claude the same method everywhere.
How to install Session Handoff Prompt
Claude Code
- Download the session-handoff-prompt folder from the repository.
- Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project.
- Claude loads it automatically when a task matches; you can also run it with / and its name.
Claude Cowork
- Zip the skill folder so SKILL.md sits at the top level of the folder.
- Open Customize → Skills, click +, then upload the ZIP.
- Start a task that matches the description, or call it by name with /.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from README.md, shared under the repository's MIT license. Read the full file on GitHub.
COMPASS Skills
中文 · Security · License
> Start here: Use & develop your own Skill ecosystem > > A practical tutorial for using SKILL.md, auditing reusable skills, drafting skills with AI, extracting real workflows, and building a local Skill ecosystem.
npx skills add dongshuyan/compass-skills --skill '*' -a claude-codeCOMPASS Skills gives AI agents nine local skills: five runtime collaboration skills, two run-history skill-engineering skills, one academic humanization skill, and one local hiring-support skill.
The project currently ships nine SKILL.md skills:
For multi-skill repositories, install only the functions you actually need. Use pause-and-resume when the same AI conversation will remain available; use session-handoff-prompt when work must move to a fresh conversation. The run-history pair supports skill engineering, and academic-humanizer improves academic prose without changing its claims.
Quick Start
List the available skills before installing:
npx skills add dongshuyan/compass-skills --listInstall all skills for Claude Code:
npx skills add dongshuyan/compass-skills --skill '*' -a claude-codeInstall all skills for both Codex and Claude Code:
npx skills add dongshuyan/compass-skills --skill '*' -a codex -a claude-codeAfter installation, invoke the skills directly in an AI conversation:
$task-clarifier
$task-forest
$pause-and-resume
$session-handoff-prompt
$user-profile-keeper
$run-history-skill-builder
$run-history-skill-upgrader
$academic-humanizer
$assess-interview-candidateFor manual installation, copy the nine folders under skills/ into the agent's local skills directory and keep their references/, scripts/, assets/, evals/, and agents/ subdirectories intact.
Why COMPASS Exists
Long-running agent work needs five kinds of state:
- User context: communication preferences, risk boundaries, recurring omissions, and collaboration style.
- Project context: where the current request fits, what it depends on, and how far it has progressed.
- Goal context: how the current task contributes to the original objective and whether it still matches it.
- Pause context: the safe stopping point, remaining work, non-repeatable effects, and first action when the same AI conversation resumes.
- Handoff context: what a new AI conversation needs to continue the current task without replaying the whole transcript.
COMPASS organizes that state into five local workflows:
- A local profile that the user can inspect and correct.
- A repo-local task graph that survives AI conversation boundaries.
- A cooperative pause checkpoint for continuing in the same AI conversation.
- A paste-ready continuation prompt for a new AI conversation.
- A clarification gate before ambiguous or risky execution.
How The Core And Meta Skills Work Together
task-clarifier is the entry point for ambiguous, high-cost, high-risk, evidence-sensitive, or externally visible work. It first identifies the user-owned decisions that must be made, asks 1-3 focused questions with recommended answers, confirms shared understanding, and only then searches or executes.
task-forest records long-running work structure: why a task exists, where it fits, how far it progressed, what changed, and what remains unresolved.
pause-and-resume stops an unfinished task at the nearest safe boundary, records what must and must not be repeated, and continues from that checkpoint when the user returns to the same AI conversation. It creates no file solely for pausing.
session-handoff-prompt turns the current AI conversation, explicit transcripts, workspace evidence, and optional task-forest exports into a concise prompt for the next AI conversation. It reads task-forest as structured context but never modifies it.
user-profile-keeper stores collaboration preferences locally. Future AI conversations use the profile to ask relevant questions and apply the right risk boundary. Current files, logs, and user-provided context remain the authority; secrets stay out of the profile.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Session Handoff Prompt?
Session Handoff Prompt is a skill for Claude Code and Claude Cowork from the dongshuyan/compass-skills repository on GitHub. 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…
How do I install Session Handoff Prompt in Claude Code?
Download the session-handoff-prompt folder from the repository. Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project. Claude loads it automatically when a task matches; you can also run it with / and its name.
Can I use Session Handoff Prompt in Claude Cowork?
Zip the skill folder so SKILL.md sits at the top level of the folder. Open Customize → Skills, click +, then upload the ZIP. Start a task that matches the description, or call it by name with /.
Is Session Handoff Prompt safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Agent Md Advisor AGENTS.md / CLAUDE.md 最佳实践顾问。用于用户询问 agents markdown、AGENTS.md、CLAUDE.md、Claude Code memory、AI coding agent… Skill · chujianyun/skills
- Brainstorming Ideas Into Designs Interactive idea refinement using Socratic method to develop fully-formed designs Skill · obra/superpowers-skills
- Adding Dbt Unit Test Creates unit test YAML definitions that mock upstream model inputs and validate expected outputs. Use when adding unit tests for a dbt… Skill · dbt-labs/dbt-agent-skills
- Azure Active Directory B2c Expert knowledge for Azure Active Directory B2C development including troubleshooting, best practices, decision making, architecture &… Skill · MicrosoftDocs/Agent-Skills
- Aeo Optimization AI Engine Optimization - semantic triples, page templates, content clusters for AI citations Skill · alinaqi/maggy
- Seedance 2.0 Prompter Expert prompt engineering for Seedance 2.0. Use when the user wants to generate a video with multimodal assets (images, videos, audio) and… Skill · pexoai/pexo-skills
- Architecture Diagram Creator Creates comprehensive HTML architecture diagrams with SVG visualizations showing business context, data flows, processing pipelines, and… Skill · mhattingpete/claude-skills-marketplace
- V3 CLI Modernization CLI modernization and hooks system enhancement for claude-flow v3. Implements interactive prompts, command decomposition, enhanced hooks… Skill · ruvnet/agentic-flow