Claude Code mod
idle-compact-warning
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.
Install
/plugin marketplace add ohnotnow/idle-compact-warning
/plugin install idle-compact-warning@idle-compact-warningMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L3Network: network, writes files, reads files, reads env vars, reads mod state, draws
- Draws in
AbovePrompt- Hooks
session.startturn.startturn.completeui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- ohnotnow/idle-compact-warning
- Folder
.- Marketplace
idle-compact-warning- Author
- ohnotnow
- License
- MIT
- Last updated
- 15 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is idle-compact-warning?
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 a mod for Claude Code, from ohnotnow/idle-compact-warning on GitHub.
What can the idle-compact-warning mod access?
Its widest reach is "network" (network, writes files, reads files, reads env vars, reads mod state, draws). It draws in AbovePrompt. Like any mod, it runs with your permissions.
How do I install idle-compact-warning?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add ohnotnow/idle-compact-warning and then /plugin install idle-compact-warning@idle-compact-warning.
More notification & sound mods
ghostty
whilestevego/claude-mods
Ghostty integration: a 4-word summary as the tab title (/title for a new one now), a tab progress bar, when Claude waits on you (the notify mod sends the notification), /goto between Claude sessions (waiting ones first), /workspace to save and reopen windows of sessions, and /keybind for Ghostty keys that type into Claude
inbox
eshin087/claude-code-mods
Which of your chats, across every project on this computer, are waiting on you and why: in the footer, /inbox for the list, a notification when one starts waiting.
garde-du-corps
Para-FR/claude-code-mods-fr
Bloque l'accès aux fichiers .env et les commandes Bash destructrices, avec toast et compteur dans la status line.
keryx
ajbarea/keryx
Gives Claude Code a voice: after each reply, speaks a one- or two-sentence gist through a local Kokoro voice, shortened by a local Ollama model.
english-coach
catmei/claude-code-english-coach
English coach for Mandarin speakers: Grammarly-style fixes on every prompt and 3 native phrases to learn while Claude works.
live-resources
hernandezsanti/claude-code-mods
Warns (status line and toast) only when RAM or disk is low: free RAM, free disk and running test runners. When there is no problem, it draws nothing.
Browse the most popular Claude Code mods, all notification & sound mods, or the skills and MCP server directories.