All shelves / Mods / Usage
compact-adviser
By kunchenguid
compact-adviser is a Claude Code usage mod by kunchenguid.
Draws a hint above the prompt to run /compact when Jev calls the session a finished checkpoint, and can run /compact itself if you opt in.
Draws
Install
The marketplace name is compact-adviser.
claude plugin marketplace add kunchenguid/compact-adviser claude plugin install compact-adviser@compact-adviser
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.13
- License
- MIT
- Repo stars
- 218
- Last change
- 2026-10-09
What it can reach
- Draws in the session
- Reads usage or context figures
- Reaches the network or an outside service
Node 22 or later, Claude Code 2.1.274 or newer (verified on 2.1.275), and a TYPESAFE_API_KEY. The README starts Claude Code with CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1; the official docs say 2.1.287 and later ignore that flag. The author says installing is consent to send checkpoint context to TypeSafe's API, capped at 32,000 bytes: your stated constraints, up to the last 64 visible replies and tool results (clipped), and any existing summary. System prompts, hidden reasoning, images, environment variables, and the complete transcript are not sent.
Demo

What it hooks into
session.startWhen a session startsprompt.submitWhen you send a promptcommand.runWhen you run its slash commandturn.startWhen Claude starts a turnturn.completeWhen a turn endssession.compactWhen the context is compactedconfig.describeA Claude Code eventui.closeWhen its pane closesui.renderDraws into the sessionPane
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- kunchenguid
- Category
- Usage
- Marketplace
- compact-adviser
- Folder
- packages/claude-mod
- Version
- 0.1.13
- License
- MIT
- Repo stars
- 218
- Last change
- 2026-10-09
- Language
- TypeScript
- Files
- 30