cc-compact

Solid

Session handoff for the next session — write-side pair of /cc-continue. Triggers on "cc-compact", "session handoff", "handoff prompt", "hand off", "wrap up the session", "prep for next session". Distills what /cc-continue cannot recover: subagent findings, tool-output numbers, and decisions that never entered the user↔assistant dialogue. Saves to a per-project file /cc-continue auto-loads.

AI & Automation 28 stars 0 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 85/100

Stars 20%
49
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

Generate a **session handoff**: a document that lets the NEXT session pick up with full context and zero re-derivation. `/cc-continue` restores the transcript (user↔assistant messages); **this skill captures what the transcript does NOT hold** and saves it where `/cc-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: - **`/cc-continue` alone** → fast, accurate context restore with no wasted `/compact` tokens (the transcript). - **`/cc-compact` + `/cc-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 `/cc-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. `/cc-compact help`).** Otherwise skip to Step 1. ``` /cc-compact — Write a session handoff for the next session (pairs with /cc-continue) /cc-...

Details

Author
ww-w-ai
Repository
ww-w-ai/claude-code-token-saver
Created
3 months ago
Last Updated
today
Language
JavaScript
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category