decision-compaction
by Koichi Shiraishi · ★ 1 · updated 2 days ago
Hands back the conversation itself in place of a compaction summary, less the tool calls and results a System One decision model judges no longer needed. The model can be TypeSafe Jev, Cloudflare Clef, Codiv OpenJev, Perplexity pplx-decider, OpenAI GPT-6 Luna, or Jev through OpenRouter, decisions-api.dev or decisionapi.net.
Install
/plugin marketplace add zchee/claude-code-mods/plugin install decision-compaction@claude-code-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.compactturn.complete- API calls
$.clock.after$.clock.sleep$.env.get$.http.fetch$.session.compact$.session.usage$.settings.read$.ui.log$.ui.toast- Can see
compaction- Reach
- level 3 of 3 networkdrives Claudereads env varsreads settingsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/zchee/claude-code-mods
- Path in repo
mods/decision-compaction- Source commit
b800dafthe exact code the scan read- Author
- Koichi Shiraishi @zchee
- License
- Apache-2.0
- 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.