/super-token-saver:s-compactfrom super-token-saver
Captures non-dialogue session knowledge (subagent findings, tool-output numbers, decisions) for handoff to the next Claude Code or Codex session. Pairs with /s-continue.
Ships in super-token-saver. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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-continue alone → fast, accurate context restore with no wasted /compact tokens (the transcript)./s-compact + /s-continue as 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.
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)
/s-compact Generate the handoff, save it, print it, copy to clipboard
/s-compact help This help
The handoff is saved to ~/.claude/super-token-saver-data/<project>/handoff.md
On the next session, /s-continue restores the transcript AND auto-loads this file.
The path is shared by both tools, so the next session can be Claude Code or Codex.
Workflow: end a session → /s-compact · start the next → /s-continue
Write the handoff in the language the user has been working in (detect from the recent conversation). Section labels may stay English; the content matches the user's language.
/s-continue cannot recover/s-continue reads the transcript, so anything said between the user and the assistant is already restorable. Test for each fact: "Is this in the sentences the user and I exchanged, or only in a tool output / subagent reply?" If the latter, it is invisible to /s-continue and MUST be lifted into the handoff.
Truth lives in source, not the handoff. Where a durable artifact exists (a plan doc, as-built, status file, commit), POINT to it and say "read this first, don't trust this prompt" — a copied fact goes stale. Only facts that live nowhere but a tool result / subagent reply get written into the body directly.
The non-dialogue layer (handoff part 4) is the point of this skill, so its coverage is not optional. Walk the ENTIRE session and extract every item in each category below — enumerate, do not summarize-away. If a category is genuinely empty this session, write "none" for it explicitly (so the next session knows it was checked, not skipped).
<teammate-message>), plus subagent completion notices (<task-notification>). For each: what it was asked, its concrete findings (facts, numbers, file:line anchors), its verdict, and what it could NOT do / flagged as a gap. These live in separate subagent transcripts or in messages that /s-continue deliberately drops from compact.txt (teammate reports, subagent notices and idle notifications are excluded from the dialogue layer) — if you don't extract them here, they are gone. Missing one is the #1 way this handoff fails.Before saving, self-check against this list. If part 4 of the handoff is only a few lines while the session ran multiple subagents or many tool calls, you have under-extracted — go back and enumerate.
| Thought | Reality |
|---|---|
| "This is basically what the transcript says" | Then it's redundant — cut it and extract the NON-dialogue facts instead. |
| "A few bullets is enough" | Not if subagents ran. Each subagent needs its own entry. Under-extraction is the default failure. |
| "The subagent's report is in the conversation somewhere" | Its INTERNAL work isn't. Only what you quoted into the dialogue survives — extract the rest now. |
| "I'll just point to the files" | Point for durable source. But facts that live only in a tool result have no file to point to — write them out. |
| "This number isn't important" | If it decided a direction or proves a state, it is. Include it with its context. |
Before writing, check what THIS session started, and decide keep-vs-kill by one question — "does the next session continue with this process?":
--remote-debugging-port browser, a watch/runner the next session reuses — record it (PID · LISTEN port · cwd · purpose · restart command) so the next session doesn't re-pay startup/login or collide on the port.Identify with pgrep -fl / lsof -ti :PORT.
Compose the handoff with these six parts, in order:
git log / these docs; don't trust this prompt." Copying facts here makes them go stale./s-continue cannot recover; if it is thin, the handoff has failed. Enumerate, don't sample.Plus, up front: process status from Step 1 (kept-and-reusable: port/PID/restart · reclaimed/none) so the next session avoids port collisions and needless restarts.
Keep it tight: pointers over copies, conclusions over transcripts, distilled non-dialogue facts in full.
Save to the per-project path /s-continue auto-loads, and also surface it for the human:
PROJECT_HASH=$(echo "${PWD}" | sed 's/[^a-zA-Z0-9]/-/g')
DATA_DIR="${HOME}/.claude/super-token-saver-data/${PROJECT_HASH}"
mkdir -p "${DATA_DIR}"
# Write the composed handoff to handoff.md (author it to a temp file first, then move):
# cat > /tmp/cc-handoff.md <<'HANDOFF' ... HANDOFF
cp /tmp/cc-handoff.md "${DATA_DIR}/handoff.md"
cat "${DATA_DIR}/handoff.md" | pbcopy 2>/dev/null || true # macOS clipboard; ignore if absent
echo "Saved handoff → ${DATA_DIR}/handoff.md"
cp it to ${DATA_DIR}/handoff.md (the exact path /s-continue looks for).pbcopy exists (macOS), so the user can paste it anywhere. Never fail the skill if pbcopy is missing.Print the saved path and a one-line note: the next session should run /s-continue, which restores the transcript AND auto-loads this handoff. Show the handoff body in the conversation too (the user often reads it before clearing).
What SKILL.md sets; muted values are Claude Code's defaults
Use at the END of a working session to hand off to the next one — whenever the user says to wrap up, prep a handoff, or is about to /clear, including when handing work from Claude Code to Codex or back. Pairs with /s-continue (end with s-compact → start with s-continue).
6 skills in this plugin
/report-limitReport your 5h and weekly limit data (Claude Code or Codex) - we're mapping how many tokens a limit is, which neither host publishes/s-continueCheaper and faster than /compact. Restores previous session context from Claude Code AND Codex transcripts by reading them directly — no LLM calls, no token cost. Also auto-loads a handoff written by /s-compact, if one exists. Triggers on "s-continue", "restore context", "what was I doing", "pick up where I left off", "resume work", "previous session", "codex session"./setup-git-liteDisable Claude Code built-in git instructions and inject a curated 280-tok minimum via SessionStart hook. Saves ~2,200 tok/session + ~1,700 tok/call.Generated from the plugin's indexed repository (ww-w-ai/super-token-saver) — no native marketplace selected
npx claudepluginhub p/ww-w-ai-cc-token-saverOther plugins' skills for the same job