Claude Code mod
warm-compact
Compacts an idle session just before its prompt cache goes cold, or keeps the cache warm while you're away, so your next prompt doesn't re-read the whole conversation uncached. Two chips under the prompt, /warm-compact and /keep-warm turn each on or off for a session.
Install
/plugin marketplace add ziedgithub/claude-code-mods
/plugin install warm-compact@zied-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: writes files, drives Claude, reads files, reads env vars, reads settings, reads the prompt box, reads mod state, persists state, draws
- Sees
- compaction
- Draws in
PromptHint- Hooks
session.startturn.startturn.completeprompt.editturn.stepsession.compactcommand.runui.rendersession.end
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
- ziedgithub/claude-code-mods
- Folder
warm-compact- Marketplace
zied-mods- Author
- Zied BEN AMAR
- License
- MIT
- Last updated
- 28 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is warm-compact?
Compacts an idle session just before its prompt cache goes cold, or keeps the cache warm while you're away, so your next prompt doesn't re-read the whole conversation uncached. Two chips under the prompt, /warm-compact and /keep-warm turn each on or off for a session. It is a mod for Claude Code, from ziedgithub/claude-code-mods on GitHub.
What can the warm-compact mod access?
Its widest reach is "writes or runs" (writes files, drives Claude, reads files, reads env vars, reads settings, reads the prompt box, reads mod state, persists state, draws). It sees compaction. It draws in PromptHint. Like any mod, it runs with your permissions.
How do I install warm-compact?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add ziedgithub/claude-code-mods and then /plugin install warm-compact@zied-mods.
More context & usage mods
villager-hp
Ashley-Pettit/villager-hp
Your Claude session and weekly usage limits as an animated villager health card, with a weekly pace hourglass, rank badges and a death screen at 0 HP
watch-tower
BastienTeissier/watch-tower
Watch Tower: a pane to follow a Claude Code session at a glance (subagents and what they are doing, context, cost, quotas, prompt cache countdown, attached plan's position, off-plan guard), with an optional ASCII companion
uso-conta
GuiAmaral85/claude-mod-uso-conta
Faixa acima do campo de texto com o consumo: custo da conversa em US$ e tokens, ou o limite da conta quando ela informa
watchdog
godstale/WatchdogMod
Watch Dog: live agent/sub-agent/usage dashboard above the prompt, plus the /wd command to inject requests mid-task, pause/resume it and stop it gracefully, and /wd-log, /wd-git-graph (branch and history graph of the repo), /wd-help.
usage-weather
qarge/claude-mods
A live forecast above the prompt: context window fill (cached and uncached) updated on every model request, and the 5-hour and weekly usage limits as /usage reports them, kept in step across every session, with bars on a smooth color gradient, weather icons and reset countdowns.
week-plan
sebastiandammeyer/claude-mods
Turns Claude's weekly usage limit into a daily budget with a weekend reserve, a status line and a chart
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.