In short.
Session Handoff Prompt is a skill for AI-agent users moving ongoing work into a new session, but a handoff that passes its validator can still contain factual errors or private information. It offers three compression modes, explicit uncertainty labels and optional local Python helpers. Source inspection identifies privacy gaps, including an unredacted input-file path in shareable JSON transcript output. Runtime compatibility and the quality of resumed work have not been assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage comprises all 14 captured files under skills/session-handoff-prompt at revision 857e279cd39807fabc107e61cc3d0af7c44d00ea: SKILL.md, agents/openai.yaml, evals/trigger-and-quality-cases.json, five reference documents and six Python files. The accompanying root LICENSE and THIRD_PARTY_NOTICES.md are included. Other repository skills, plugins, installers and externally referenced projects are outside scope. Findings derive from the supplied text and code; no scripts, installation, agent-host integration, real-session handoff or privacy checks were executed. Runtime reliability, continuation quality, complete redaction, token savings and operating cost remain unknown.
The overview
Identity
Session Handoff Prompt belongs to dongshuyan/compass-skills. It instructs an AI agent to produce text that a person can paste into a fresh session to resume unfinished work. The folder contains instructions, reference documents, Python helpers, interface metadata and evaluation fixtures.
The original source location is [https://github.com/dongshuyan/compass-skills/tree/master/skills/session-handoff-prompt]. These findings concern revision 857e279cd39807fabc107e61cc3d0af7c44d00ea, available at [https://github.com/dongshuyan/compass-skills/tree/857e279cd39807fabc107e61cc3d0af7c44d00ea/skills/session-handoff-prompt].
Assessment
The skill is a plausible fit when a long agent session contains decisions, unfinished tasks and verification gaps that a short recap would lose. Its output contract explicitly separates completed work, pending checks, constraints and next actions. That structure gives the receiving agent more operational context than a loose narrative summary.
Its value depends on the generating agent finding and interpreting the right evidence. The validator checks formatting and selected sensitive patterns; it does not determine whether facts are true, decisions were preserved or the next agent can resume successfully. A handoff therefore needs human review, especially before external sharing.
Users
The intended users are people working through extended tasks with AI agents, including developers who need to preserve file locations, failed attempts, test evidence and remaining implementation work across sessions. Beginners can use the conversational instructions; developers can inspect or incorporate the helper scripts into a local process.
The instructions target Codex, Claude Code, OpenClaw, OpenCode, Harness and similar hosts that can read SKILL.md. Compatibility with those hosts is an intention stated by the project, not a demonstrated result. Ordinary chat summaries, durable profile updates and task-forest maintenance fall outside the skill's intended use.
Capabilities
The skill specifies a continuation prompt covering the workspace, user goal, hard requirements, decisions, completed work, pending verification, important artifacts and next actions. It calls for verified, inferred and unverified labels, and for conflicts between sources to remain visible.
Balanced mode is the default. Minimal mode keeps the objective, highest-priority constraints, current state and first actions. Full mode adds more rationale, failed attempts, uncertainty and task history. Output should follow the user's language, with Chinese as the fallback when the language is unknown.
Optional helpers extract events from Codex JSONL or plain-text transcripts, summarize task-forest exports, redact recognized sensitive strings and validate prompt structure. Local privacy mode retains useful workspace paths; shareable mode additionally attempts to redact recognized local paths.
Using it
Requirements
An AI-agent host must be able to load the instructions and access the relevant conversation or supplied files. The skill does not include a model or create a new session. Workspace access is needed when the handoff must reconcile the conversation with current files.
The helper scripts use Python 3 standard-library modules and declare no third-party Python dependencies. The documentation names macOS, Linux and Windows and suggests python3, python or py -3 as appropriate. A minimum Python minor version and verified operating-system matrix are not supplied.
Task-forest is optional. Agent-specific private logs are also optional sources; the guidance limits their use to explicitly supplied paths or authorized locations.
Mechanism
The AI agent performs the actual summarization. The instructions prioritize the visible conversation and latest user requirements, then supplied transcripts, current workspace evidence, task-forest exports and authorized host-specific logs. Conflicting sources should produce an explicit uncertainty rather than a combined claim presented as settled.
The transcript projector converts recognized messages, compaction records, tool calls and tool outputs into shortened events. Its defaults retain the last 160 events and limit individual text fields to 600 characters. It presents tool-call content as text and contains no mechanism for replaying those commands.
The task-forest reader opens three designated export files without modifying them. Its summaries collect selected fields from at most 24 graph records, 24 todo records and 16 timeline records. The validator then checks required section-name strings, basic next-action content, selected sensitive patterns and advisory character limits.
Setup
Obtain the complete skill folder from the pinned source and preserve its directory layout so that SKILL.md can resolve references and scripts. Retain the repository licence and accompanying notices. Host-specific installation paths and registration commands are not established by the supplied folder.
The interface metadata supplies the invocation: Use $session-handoff-prompt to create a balanced continuation prompt for a fresh session. A documented local validation command is python3 <skill-dir>/scripts/validate_handoff_prompt.py <draft.txt> --mode balanced --privacy local, where <skill-dir> is the directory containing SKILL.md.
For languages other than English or Chinese, the validator requires a labels JSON file containing the translated required section names, passed through --labels-json. Shareable output uses the separate redaction helper followed by shareable validation, with manual inspection still needed.
Example
A hypothetical request after a long debugging session is: Create a balanced continuation prompt for a fresh session. Keep it local, preserve the failing test, and make the next verification step explicit.
The intended response would record the workspace, agreed objective, constraints, changes already made, actual test evidence, unresolved failure and next action. Anything not checked would remain unverified. The person would then paste that text into a new session, whose agent would reconcile it with current files before continuing. This is an illustrative use, not an executed example.
Assessment & evidence
Limitations
Validation is structural. Required sections are detected through substring matching, missing fact labels produce a warning, and mode-length limits are advisory. A successful result does not establish factual accuracy, useful next actions or adequate preservation of task history.
Privacy protection uses finite regular-expression lists. The validator does not check every credential pattern handled by the redactor, and the path detector covers selected path formats rather than every possible local path. More specifically, project_session_events.py with --privacy shareable --json returns its top-level path value without redaction, so the original log-file location can remain in the JSON.
There is also a mismatch between cookie redaction and validation: the redactor replaces a cookie value with <REDACTED>, while the validator rejects any nonempty Cookie header, including that replacement. This is a finding from the supplied code, not a reproduced execution result.
Bounded summaries can discard relevant evidence. Earlier transcript events and long fields may be omitted, and task-forest summaries are limited extracts rather than a complete dependency graph. The transcript projector reads the input before applying its event limit, so bounded output does not imply bounded input processing.
Reasoning
The design treats a handoff as a record of what the next agent needs to act: the goal, constraints, present state, unresolved evidence and immediate actions. Separating the latest conversation from current workspace evidence is useful because either can become stale or contradict the other.
Compression creates a tradeoff. Minimal mode deliberately drops much of the history; full mode retains more failed attempts and rationale but consumes more context. Explicit uncertainty labels can help readers notice gaps, although their correctness still depends on the generating agent. No supplied measurement establishes which mode best preserves task continuity.
Alternatives
A normal conversation summary is appropriate when the goal is simply to understand what was discussed. The skill's own trigger guidance excludes that use. Its additional structure becomes relevant when someone must resume unfinished work.
For durable task organization, the documentation assigns that role to task-forest, whose exports this skill can read. A manually maintained handoff using the supplied output contract is another option when automatic transcript extraction is unnecessary. A host-native transcript reader can also provide source material where available. Comparative accuracy, convenience and cost have not been measured.
Evidence
The supplied materials include the full skill instructions, interface metadata, five reference documents, six Python files and trigger-and-quality fixtures. The root licence and third-party notice accompany them.
The trigger file lists intended activation cases and quality expectations. The smoke-test source contains synthetic assertions for transcript projection, task-forest reading, translated validator labels and selected redaction cases. These are test definitions, not recorded passing results. Nothing was executed; cross-host loading, cross-platform behavior and successful continuation of real work remain unassessed.
Access & freshness
Costs
The MIT licence permits use without a licence fee. The Python helpers declare no paid API or third-party package dependency.
AI-host subscription costs, model usage charges and total operating cost are unknown. The instructions aim to reduce the context needed by the next session, but no measured token savings, time savings or cost comparison is supplied.
Rights
The repository's MIT licence permits use, copying, modification, distribution, sublicensing and sale of the software and associated documentation. Copies or substantial portions must retain the copyright and permission notice. The licence disclaims warranty and liability.
The accompanying third-party notice discusses the separate session-title plugin and Clear Communication skill. It does not identify an upstream attribution specifically for session-handoff-prompt. Those sibling components are outside this resource's scope. Rights to user-supplied transcripts, logs and project content are not established by the software licence.
Freshness
The supplied capture is dated 2026-11-16T06:04:24.911Z and identifies source revision 857e279cd39807fabc107e61cc3d0af7c44d00ea. The findings apply to that fixed snapshot.
A tagged release version, maintenance history and later repository changes are not established by these files. The original master-branch address is mutable, so it should not be assumed to contain identical instructions or code.
Actions
Before relying on the skill, confirm that your host loads the complete folder and compare a generated handoff with the original task evidence. Check that it preserves the actual objective, settled decisions, failed attempts, unresolved checks and first next action.
Choose local mode when the prompt stays on the same machine and needs real paths. Before sharing externally, inspect the final text and any JSON metadata for private information, including the transcript projector's top-level path. Treat a successful validator result as a format check.
If adopting the Python helpers, verify their behavior in your own environment and address the shareable JSON path exposure and cookie redaction mismatch. Keep the original task records available until the receiving session has reconciled the handoff with current workspace evidence.
