What is decision-compaction?
decision-compaction is a Claude Code mod by zchee that 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,. It is listed under Context & memory and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | zchee |
| Repository | zchee/claude-code-mods |
| Popularity | 1 GitHub stars |
| Category | Context & memory |
| Security | Review before installing (76/100) |
| Rank | #2,416 of 5,272 Claude Code mods; #233 in Context & memory |
| License | Apache-2.0 |
| Last commit | 2026-10-16 |
| Hooks | 2 events |
| Sees | compaction |
| Draws on | nothing |
Is decision-compaction safe to install?
decision-compaction scores 76/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; reads environment variables. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.sleep | |
$.env.get | reads env vars |
$.http.fetch | network requests |
$.session.compact | drives Claude |
$.session.usage | |
$.settings.read | reads settings |
$.ui.log | draws interface |
$.ui.toast | draws interface |
How do I install decision-compaction?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/zchee/claude-code-mods claude plugin validate ./claude-code-mods/mods/decision-compaction
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add zchee/claude-code-mods && claude plugin install decision-compaction@claude-code-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs decision-compaction for you:
Install the "decision-compaction" Claude Code mod from https://github.com/zchee/claude-code-mods/tree/main/mods/decision-compaction. Run claude plugin validate on it first and show me what it can access before you enable it.
More from zchee/claude-code-mods
This repository has 2 Claude Code mods on MCPMods.
- model-gateway-rc: Starts a session on api.anthropic.com so that Remote Control can register, then points it at the local Model Gateway onc (High risk)