session-handoff-prompt

session-handoff-prompt is a skill for Codex from dongshuyan/compass-skills. It costs 89 tokens per session (1,465 once invoked), scanned A, original, MIT.

A skill for creating a short prompt that lets a new agent session continue unfinished work. The prompt records the task, decisions, verified facts, files, risks, and next steps.

In plain words
What is it for?
Preparing paste-ready handoff prompts for resuming complex tasks in a fresh session.
Why use it?
It preserves the useful working context when a session becomes too long or needs to be restarted.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

Good fit Preparing paste-ready handoff prompts for resuming complex tasks in a fresh session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dongshuyan/compass-skills/session-handoff-prompt
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dongshuyan/compass-skills --skill session-handoff-prompt
Clone the repo
git clone --depth 1 https://github.com/dongshuyan/compass-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for session-handoff-prompt

README.md
[![agentmods](https://agentmods.dev/badge/skills/dongshuyan/compass-skills/session-handoff-prompt/github.svg)](https://agentmods.dev/skills/dongshuyan/compass-skills/session-handoff-prompt)
Your own site
<a href="https://agentmods.dev/skills/dongshuyan/compass-skills/session-handoff-prompt"><img src="https://agentmods.dev/badge/skills/dongshuyan/compass-skills/session-handoff-prompt/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for session-handoff-prompt

Your own site · 80×15
<a href="https://agentmods.dev/skills/dongshuyan/compass-skills/session-handoff-prompt"><img src="https://agentmods.dev/badge/skills/dongshuyan/compass-skills/session-handoff-prompt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,465 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 35
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.01465
Opus 5 $0.00044 $0.00732
Sonnet 5 $0.00018 $0.00293
Haiku 4.5 $0.00009 $0.00146

Measured 11d ago against content hash 5ea369b688ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

session-handoff-prompt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/local_paths.py, scripts/project_session_events.py, scripts/read_task_forest_exports.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/session-handoff-prompt/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Session Handoff Prompt

Language Policy

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.

Role

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.

Portability

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:

  1. Current visible conversation and user-provided next-session focus.
  2. User-provided transcript, saved handoff, or local agent log path.
  3. Current workspace files, AGENTS.md, plans, diffs, test output, and build output.
  4. Optional .agent-workbench/task-forest/exports/ files for structured task state.
  5. Optional agent-specific logs, only when the user explicitly provides a path or asks you to use a known local log location.

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).

Read the full file on GitHub · 107 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 107 lines · 89 tokens per session scan A 5ea369b688ed

Subscribe to this mod's changes

session-handoff-prompt is a skill published in the GitHub repository dongshuyan/compass-skills (724 stars, last pushed 16d ago), licensed MIT. It adds 89 tokens to every session and 1,465 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

handoff

Create a structured session handoff when context is running low or work is pausing. Deep context mining, self-validation, multi-file splitting. Captures everything the next session needs.

REMvisual/claude-handoff · 39 tokens

start

Load project state and get a briefing at the start of a work session — reads state files, flags staleness, surfaces top priorities, deadlines, and blockers.

conorbronsdon/agent-workspace · 35 tokens

today

Morning heartbeat — staleness checks, deadline surfacing, and memory curation for your workspace state. Run at the start of each day or after a 12+ hour gap.

conorbronsdon/agent-workspace · 39 tokens

update

Mid-session checkpoint — append progress to today's session log and update state files if a priority shifted, without ending the session.

conorbronsdon/agent-workspace · 26 tokens

company-brain

Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so Claude can answer questions on your team's behalf. Team-scope sibling to second-brain (which is personal-scope). Seven modes — capture (drop something into the right structured dir), compile (process into wiki…

coreyhaines31/makerskills · 322 tokens

slide-deck

When you want to draft, update, convert, or export a slide deck for a React/Next.js slide system (${SLIDEDECKREPO:-$HOME/code/your-slide-deck-site}/src/app/slides/). Writes TypeScript Slide[] arrays using your primitives (Eyebrow, Heading, Accent, Body, BulletList, Divider, TwoCol, GradientText), 12 cycling brand…

coreyhaines31/makerskills · 259 tokens