jev-compact

by Harsha Yellela · ★ 0 · updated 11 days ago

Toastsvalidates

0

Context compaction that prunes instead of summarising: rules drop exploration output and hook noise locally, Jev ranks the rest against a budget, a note says what was removed, and removed outputs are archived for the brain. Falls back to the built-in summary when it cannot do better.

install jev-compact

Install

/plugin marketplace add HAR5HA-7663/jev-compact
/plugin install jev-compact@jev-compact

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.compact
API calls
$.env.get$.fs.exists$.fs.read$.fs.write$.http.fetch$.session.usage$.ui.log$.ui.toast
Can see
compaction
Reach
level 3 of 3 networkwrites filesreads filesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/HAR5HA-7663/jev-compact
Path in repo
repository root
Author
Harsha Yellela @HAR5HA-7663
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from HAR5HA-7663/jev-compact

jev-compact-trigger

HAR5HA-7663/jev-compact

Companion to jev-compact: watches context use after every turn and starts a compaction at the configured percentage. Separate plugin on purpose — the engine skips a plugin's own session.compact hook when that plugin raises the compaction, so the trigger must come from outside jev-compact for the pruning to run.

★ 0Automation