supercompactlisted
Install: claude install-skill SignedAdam/ClaudeSessions
# Supercompact
`claudesessions compact` rewrites a session into a new one containing only the dialogue —
every tool call, tool result, system event and file snapshot is dropped. The
fork is a real Claude Code session, resumable with `claude --resume`.
The source session is never modified. There is no dry-run because there is
nothing to undo.
## Compact the session you are in
```sh
claudesessions compact --current
```
Add `--tools` to keep a one-line trace of every tool call:
```sh
claudesessions compact --current --tools
```
Each call becomes a plain-language line in the turn where its result used to be:
```
You used tool Bash(command: swift build 2>&1 | tail -5, description: Build the package)
You used tool Read(file_path: /Users/sauel/dev/ClaudeSessions/Makefile, limit: 40)
```
Parameters only, truncated. Tool **results** are never included — the
surrounding dialogue already says what came back, and the results are the bulk
worth shedding.
## Resume into the fork
`claudesessions compact` prints the command:
```
cd '/Users/sauel/dev/ClaudeSessions' && claude --resume 428efbdc-…
```
A live Claude Code session never re-reads its own transcript, so the fork only
takes effect in a **new** session. Pass `--open` to launch it in a new terminal
window automatically; otherwise hand the user the command and let them move.
## Picking a different session
```sh
claudesessions list # recent sessions, newest first
claudesessions list --current