Home / Claude Code mods / Context & memory / decision-compaction

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,.

Updated 2026-10-16

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.

TypeClaude code mod
Authorzchee
Repositoryzchee/claude-code-mods
Popularity1 GitHub stars
CategoryContext & memory
SecurityReview before installing (76/100)
Rank#2,416 of 5,272 Claude Code mods; #233 in Context & memory
LicenseApache-2.0
Last commit2026-10-16
Hooks2 events
Seescompaction
Draws onnothing

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.

CheckResult
Sends data over the networkReview
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.sleep
$.env.getreads env vars
$.http.fetchnetwork requests
$.session.compactdrives Claude
$.session.usage
$.settings.readreads settings
$.ui.logdraws interface
$.ui.toastdraws interface

How do I install decision-compaction?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)