Mindmemos CLI
mindscale-noah/MindMemOS
Give an AI agent persistent, cross-session long-term memory through MindMemOS.
Create a concise continuation prompt that a fresh agent session can paste in to resume a long or degraded session.
$ npx skills add dongshuyan/compass-skills --skill session-handoff-prompt -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dongshuyan/compass-skills session-handoff-prompt --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/dongshuyan/compass-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/session-handoff-prompt .claude/skills/session-handoff-prompt && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "session-handoff-prompt" agent skill from https://github.com/dongshuyan/compass-skills/tree/master/skills/session-handoff-prompt into .claude/skills/session-handoff-prompt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-handoff-prompt", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/dongshuyan/compass-skills/tree/master/skills/session-handoff-promptType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add dongshuyan/compass-skills --skill session-handoff-prompt -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dongshuyan/compass-skills session-handoff-prompt --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dongshuyan/compass-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/session-handoff-prompt .agents/skills/session-handoff-prompt && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "session-handoff-prompt" agent skill from https://github.com/dongshuyan/compass-skills/tree/master/skills/session-handoff-prompt into .agents/skills/session-handoff-prompt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-handoff-prompt", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dongshuyan/compass-skills --skill session-handoff-prompt -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dongshuyan/compass-skills session-handoff-prompt --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dongshuyan/compass-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/session-handoff-prompt .cursor/skills/session-handoff-prompt && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "session-handoff-prompt" agent skill from https://github.com/dongshuyan/compass-skills/tree/master/skills/session-handoff-prompt into .cursor/skills/session-handoff-prompt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-handoff-prompt", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/dongshuyan/compass-skills.git --path skills/session-handoff-prompt--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add dongshuyan/compass-skills --skill session-handoff-prompt -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dongshuyan/compass-skills session-handoff-prompt --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dongshuyan/compass-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/session-handoff-prompt .gemini/skills/session-handoff-prompt && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "session-handoff-prompt" agent skill from https://github.com/dongshuyan/compass-skills/tree/master/skills/session-handoff-prompt into .gemini/skills/session-handoff-prompt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-handoff-prompt", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install dongshuyan/compass-skills session-handoff-promptInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add dongshuyan/compass-skills --skill session-handoff-prompt -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dongshuyan/compass-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/session-handoff-prompt .github/skills/session-handoff-prompt && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "session-handoff-prompt" agent skill from https://github.com/dongshuyan/compass-skills/tree/master/skills/session-handoff-prompt into .github/skills/session-handoff-prompt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-handoff-prompt", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dongshuyan/compass-skills --skill session-handoff-prompt -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dongshuyan/compass-skills session-handoff-prompt --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dongshuyan/compass-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/session-handoff-prompt .opencode/skills/session-handoff-prompt && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "session-handoff-prompt" agent skill from https://github.com/dongshuyan/compass-skills/tree/master/skills/session-handoff-prompt into .opencode/skills/session-handoff-prompt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-handoff-prompt", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
session-handoff-promptCreate a concise continuation prompt that a fresh agent session can paste in to resume a long or degraded session.
Session Handoff Prompt is an agent skill from dongshuyan/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.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 17 other files, including scripts and reference files (for example `agents/openai.yaml`, `evals/trigger-and-quality-cases.json` and `references/compression-modes.md`).
It sits in Agent Workflows, covering Session handoff. It works with Python. The repository describes itself as: 司南:个性化 AI 任务总控 Skills 系统 /COMPASS: Personal Alignment Skills OS for AI Agents. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1b2e556. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 6 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Session Handoff Prompt loads about 1.7k tokens when it runs, and up to ~4.5k if it reads all its reference files. Until then it costs about 116 tokens; SKILL.md has 796 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from dongshuyan/compass-skills at commit 1b2e556, republished under its MIT licence (© dongshuyan). 796 words, ~1,740 tokens.
.claude/skills/session-handoff-prompt/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.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.
Produce 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.
The 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.
This 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/.
Use these source types in order:
AGENTS.md, plans, diffs, test output, and build output..agent-workbench/task-forest/exports/ files for structured task state.Scripts use Python 3 standard-library modules only and should run on macOS, Linux, and Windows. Use the available Python command on the host (python3, python, or py -3).
scripts/project_session_events.py to create a bounded, redacted event stream.scripts/read_task_forest_exports.py. Treat task-forest as structured context, not as a replacement for the session.references/output-contract.md. Label facts as [verified], [inferred], or [unverified].privacy=local when the prompt stays on the same machine and needs real workspace paths.privacy=shareable before public sharing, issue posting, external handoff, screenshots, or docs.balanced: default. Usually 800-1500 Chinese characters or comparable length in the user's language. Keeps enough state to continue without flooding the next session.minimal: usually 300-700 Chinese characters or comparable length. Keeps only objective, hard constraints, current state, and first next actions.full: usually 1500-3000 Chinese characters or comparable length. Keeps more decisions, evidence, files, risks, failed attempts, and task-forest details.Read references/compression-modes.md when the user asks for a specific mode or when the task is complex enough that mode choice matters.
Resolve <skill-dir> to the directory that contains this SKILL.md.
Project a user-provided transcript or agent log:
python3 <skill-dir>/scripts/project_session_events.py <path> --format auto --max-events 160Read task-forest exports from a workspace:
python3 <skill-dir>/scripts/read_task_forest_exports.py --workspace <workspace>Validate a local-only prompt:
python3 <skill-dir>/scripts/validate_handoff_prompt.py <draft.txt> --mode balanced --privacy localThe validator recognizes English and Chinese headings directly. For any other language, put the six translated required headings and optional fact labels in a temporary JSON file, then pass --labels-json <labels.json>. Use the schema in references/output-contract.md; this keeps translated output machine-checkable without forcing English headings into the user's prompt.
Validate a shareable prompt:
python3 <skill-dir>/scripts/redact_handoff.py <draft.txt> --privacy shareable
python3 <skill-dir>/scripts/validate_handoff_prompt.py <redacted.txt> --mode balanced --privacy shareableRun the representative smoke test:
python3 <skill-dir>/scripts/smoke_test_handoff.py --skill-dir <skill-dir>references/source-selection.md: source priority, agent portability, privacy gates.references/output-contract.md: required prompt structure and fact labels.references/task-forest-integration.md: how to merge task-forest exports without mutating them.references/compression-modes.md: minimal, balanced, and full tradeoffs.references/examples.md: representative one-shot and boundary examples.© dongshuyan, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 13 other files (scripts, references) in skills/session-handoff-prompt of dongshuyan/compass-skills.
Open the folder on GitHubat commit 1b2e556
Session Handoff Prompt next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Session Handoff Prompt this skilldongshuyan/compass-skills | 753 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Mindmemos CLImindscale-noah/MindMemOS | 1k | — | ~3.4k | Automated safety check: Pass | None | |
| Engraphis MemoryCoding-Dev-Tools/engraphis | 179 | — | ~3.7k | Automated safety check: Pass | Apache-2.0 | |
| CPR Session ResumeEliaAlberti/cpr-compress-preserve-resume | 515 | — | ~623 | Automated safety check: Pass | MIT | |
| File-Based Planning in ArabicOthmanAdi/planning-with-files | 27k | — | ~3.2k | Automated safety check: Notes | MIT | |
| File-Based Planning in SpanishOthmanAdi/planning-with-files | 27k | — | ~3.8k | Automated safety check: Notes | MIT |
mindscale-noah/MindMemOS
Give an AI agent persistent, cross-session long-term memory through MindMemOS.
Coding-Dev-Tools/engraphis
Give the agent durable, scoped, explainable memory across sessions and repositories through the Engraphis MCP tools.
EliaAlberti/cpr-compress-preserve-resume
Loads context from recent CPR session logs at the start of a session and can search past sessions by topic, then writes a short resume report.
OthmanAdi/planning-with-files
Arabic edition of a file-based planning skill that keeps task_plan.md, findings.md and progress.md on disk so multi-step agent work survives lost context.
OthmanAdi/planning-with-files
Spanish edition of a planning skill that keeps a multi-step agent task on track with task_plan.md, findings.md and progress.md on disk, with recovery after a session reset.
PostHog/posthog
Write Streamlit app source code that runs well in a PostHog sandbox — the posthogapps.query() bridge for reading PostHog data, the packages baked into the sandbox image, caching and session state…
dongshuyan/compass-skills
Maintains a repo-local task forest or task DAG for the current workspace.
dongshuyan/compass-skills
Turn a completed task, browser flow, artifact pipeline, failure-recovery trace, or repeatedly refined workflow into a new reusable skill package or a reviewed skill-design plan.
dongshuyan/compass-skills
Use real run evidence, validation failures, source drift, platform drift, and user feedback to plan and, only after explicit approval, apply structural upgrades to an existing skill.
dongshuyan/compass-skills
Local user-profile maintenance skill for Codex, Claude Code, OpenClaw, OpenCode, and other agent harnesses.
dongshuyan/compass-skills
根据候选人简历与岗位要求生成可审计的后台评估、简明的候选人介绍、按岗位重要性排列的简历疑点、12–18 道可直接照读的面试题,以及支持重点标记和本机保存的离线 HTML。用于招聘方准备结构化面试、核验岗位能力和记录回答。不要用于求职者模拟面试、私人背景调查、心理或人格诊断、从敏感属性推断表现,或自动录用、淘汰、排序候选人。
dongshuyan/compass-skills
Draft, audit, or minimally revise English- or Chinese-language academic prose to reduce formulaic, vacuous, mechanically repetitive, or process-leaking language while preserving claims, evidence…
Works with
Categories
Create a concise continuation prompt that a fresh agent session can paste in to resume a long or degraded session. Session Handoff Prompt is an agent skill from dongshuyan/compass-skills. Create a concise continuation prompt that a fresh agent session can paste in to resume a long or degraded session.
Session Handoff Prompt fits situations like: the user asks for a handoff prompt; continuation prompt; context transfer; fresh-session resume.
Run `npx skills add dongshuyan/compass-skills --skill session-handoff-prompt -a claude-code`. Or copy the skill folder (skills/session-handoff-prompt in dongshuyan/compass-skills) into .claude/skills/session-handoff-prompt in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dongshuyan/compass-skills --skill session-handoff-prompt -a codex`. Or copy the skill folder (skills/session-handoff-prompt in dongshuyan/compass-skills) into .agents/skills/session-handoff-prompt in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dongshuyan/compass-skills --skill session-handoff-prompt -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/session-handoff-prompt, .gemini/skills/session-handoff-prompt, .github/skills/session-handoff-prompt and .opencode/skills/session-handoff-prompt in your project.
Going by SKILL.md and its folder, Session Handoff Prompt needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Session Handoff Prompt is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Session Handoff Prompt: Mindmemos CLI (mindscale-noah/MindMemOS, 1k stars), Engraphis Memory (Coding-Dev-Tools/engraphis, 179 stars), CPR Session Resume (EliaAlberti/cpr-compress-preserve-resume, 515 stars) and File-Based Planning in Arabic (OthmanAdi/planning-with-files, 27k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dongshuyan (a GitHub user) maintains it in dongshuyan/compass-skills, which has 753 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on August 26, 2026.
Source: dongshuyan/compass-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.