s-compact
Generate a session handoff: a document that lets the NEXT session pick up with full context and zero re-derivation — in EITHER tool. The handoff is stored per project, not per tool, so a session ended in Claude Code is picked up by Codex and the reverse.
/s-continue restores the transcript (user↔assistant messages); this skill captures what the transcript does NOT hold and saves it where /s-continue auto-loads it.
ONE JOB: distill the non-dialogue knowledge. The transcript is already restorable — do not re-summarize it.
The two tools form a ladder of recovery:
/s-continuealone → fast, accurate context restore with no wasted/compacttokens (the transcript)./s-compact+/s-continueas a set → ALSO recovers the hidden results and process that never appeared in the dialogue (subagent findings, tool-output numbers, process lessons). That extra layer is THIS skill's entire reason to exist — so it must be captured in FULL, not gestured at.
A terse handoff is a FAILED handoff. The common failure mode is a handoff too short to carry the hidden layer — a few bullets that just restate what the transcript already has. This skill exists precisely because that is not enough. Favor completeness of the non-dialogue layer over brevity; the token cost of /s-compact is paid back many times over by the next session not re-running the same subagents and tool calls.
Help
ONLY if the user's argument literally contains "help" (e.g. /s-compact help). Otherwise skip to Step 1.
/s-compact — Write a session handoff for the next session (pairs with /s-continue)