ClaudeCodeMod

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.

In your shell
claude plugin marketplace add caliber-ai-org/ai-setup
claude plugin install caliber-jev-compaction@caliber
Open the repo

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

The caliber-jev-compaction section on the author's GitHub page
Screenshot of the author's GitHub page.

What it hooks into

  • session.compactWhen the context is compacted
  • turn.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
Repo
caliber-ai-org/ai-setup
Folder
plugin/caliber-jev-compaction
Version
0.3.0
License
MIT
Repo stars
1308
Last change
2026-09-19
Language
TypeScript
Files
15

Other mods in Usage

model-effort-bandYeonwooSungDraws a band above the prompt with the selected model and the effort of the latest main-conversation request.shuntpleaseaiDraws a band above the prompt with the shared pool's usage and reset times, or this session's rate limits when you are off shunt.optimaizrblendbunjakuHolds a commandDraws this turn's cost, the 5-hour window, and cache time above the prompt, and holds a command that failed twice unchanged.clawdmeterwelternDraws Clawd and the session, weekly, and context bars in a band above the prompt.ccswaperrhythmDraws your ccswap accounts and their 5-hour and 7-day usage, and switches from a button on the band.routeralexei-ledPicks a model and effort for each turn from a classifier, and draws the tier above the prompt.context-budgetmelodic-softwareHolds a commandDraws the session's context by category, in a pane or a band above the prompt, and asks before a settings file is written.extra-modsJhonatan-de-SouzaDraws a menu for Zen, themes, model and effort, and a status line of context, plan limits, and cache.jevNasrallah-ALHas Jev drop stale tool calls at compaction and keep the rest word for word, toasts what it kept, and adds slash commands for the jev CLI.decknvr0x5Draws a collapsible panel above the prompt for the plan, context, the 5-hour and 7-day limits, and a small pet.desktop-statuslinecentminmodDraws a status band above the prompt in the Desktop app's Code tab, with context, plan limits, and the last turn.pixel-buddyhamymarnieDraws the 5-hour and 7-day usage above the prompt, with what each window cost, a cache timer, and a pixel creature.
All 183 in Usage