session-handoff-prompt
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. The continuation prompt structure uses Chinese section headers (【工作目录】 etc.) regardless of language, because that format is the established contract for new sessions.
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: