decision-compaction

by Koichi Shiraishi · ★ 1 · updated 2 days ago

Toastsvalidates

0

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 decision-compaction

Install

/plugin marketplace add zchee/claude-code-mods
/plugin install decision-compaction@claude-code-mods

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.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
b800daf the 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.

More from zchee/claude-code-mods

model-gateway-rc

zchee/claude-code-mods

Starts a session on api.anthropic.com so that Remote Control can register, then points it at the local Model Gateway once Remote Control has registered or on /gateway on, and back at api.anthropic.com whenever the gateway stops answering.

★ 1ToastsCommands