All shelves / Mods / Usage
caliber-jev-compaction
By caliber-ai-org
caliber-jev-compaction is a Claude Code usage mod by caliber-ai-org.
Replaces /compact: Jev scores each tool call, drops the stale ones, and keeps the rest of the conversation word for word, then toasts what it kept.
Draws
Install
The marketplace name is caliber.
claude plugin marketplace add caliber-ai-org/ai-setup claude plugin install caliber-jev-compaction@caliber
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.3.0
- License
- MIT
- Repo stars
- 1308
- Last change
- 2026-09-19
What it can reach
- Sees tool calls
- Reaches the network or an outside service
A Vercel AI Gateway key in AI_GATEWAY_API_KEY, or a TypeSafe key in TYPESAFE_API_KEY; the README exports one before installing. It also exports CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1; the official docs say 2.1.287 and later ignore that flag. The author says TypeSafe's Jev scores every tool call, so at compaction the conversation goes to TypeSafe, directly or through your Vercel AI Gateway. The README does not list which parts are sent. If Jev is unavailable, Claude Code falls back to its built-in compaction.
The marketplace name is caliber. Add caliber-ai-org/ai-setup. The plugin folder has no README; these lines are in the repository README. The hook also compacts on its own once the context reaches 60%, its compactAtPercent default, which the README does not say.
Demo

What it hooks into
session.compactWhen the context is compactedturn.completeWhen a turn ends
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- caliber-ai-org
- Category
- Usage
- Marketplace
- caliber
- Folder
- plugin/caliber-jev-compaction
- Version
- 0.3.0
- License
- MIT
- Repo stars
- 1308
- Last change
- 2026-09-19
- Language
- TypeScript
- Files
- 15