Home / Claude Code mods / Context & memory / idle-compact-warning

idle-compact-warning

idle-compact-warning is a Claude Code mod by ohnotnow that warns you before Claude Code's idle compaction, with a band above the prompt, a terminal notification and an optional notify URL, so you can come back while the full context is still there.

Updated 2026-10-15

What is idle-compact-warning?

idle-compact-warning is a Claude Code mod by ohnotnow that warns you before Claude Code's idle compaction, with a band above the prompt, a terminal notification and an optional notify URL, so you can come back while the full context is still there. It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
Authorohnotnow
Repositoryohnotnow/idle-compact-warning
Popularityno public popularity data yet
CategoryContext & memory
SecurityReview before installing (64/100)
Rank#7,683 of 9,397 Claude Code mods; #682 in Context & memory
LicenseMIT
Last commit2026-10-15
Hooks4 events
Seesonly the events it hooks
Draws onAbovePrompt

Is idle-compact-warning safe to install?

idle-compact-warning scores 64/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; writes files or config; reads environment variables. It passed 5 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 files or configReview
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.now
$.env.getreads env vars
$.fs.readreads files
$.fs.writewrites files
$.http.fetchnetwork requests
$.session.cwd
$.session.id
$.session.usage
$.state.get
$.state.set
$.ui.notifydraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install idle-compact-warning?

  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/ohnotnow/idle-compact-warning
    claude plugin validate ./idle-compact-warning/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add ohnotnow/idle-compact-warning && claude plugin install idle-compact-warning@idle-compact-warning

Or ask Claude to set it up

Paste this into Claude Code and it installs idle-compact-warning for you:

Install the "idle-compact-warning" Claude Code mod from https://github.com/ohnotnow/idle-compact-warning. Run claude plugin validate on it first and show me what it can access before you enable it.