claudemods

All Claude Code modsziedgithub/claude-code-mods

warm-compact

A Claude Code mod in ziedgithub/claude-code-mods

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.

warm-compact reaches L2 (writes or runs) and passed claude plugin validate.

Install hint

/plugin install warm-compact --marketplace ziedgithub/claude-code-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runswrites files, drives Claude, reads files, reads env vars, reads settings, reads the prompt box, reads mod state, persists state, draws

Validation

Passed

Listed under Prompt cache mods for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
compaction
Hooks
session.start, turn.start, turn.complete, prompt.edit, turn.step, session.compact, command.run {command=warm-compact}, command.run {command=keep-warm}, ui.render {component=PromptHint}, session.end
API calls
$.clock.every, $.clock.now, $.command.register, $.env.get, $.fs.read, $.fs.write, $.model.fork, $.prompt.read, $.session.compact, $.session.id, $.session.model, $.session.usage, $.session.version, $.settings.read, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.log, $.ui.resolve, $.ui.status, $.ui.toast
Validation
Passed
Scanned revision
58887a8e6189
Marketplace passed
zied-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from ziedgithub/claude-code-mods

Badge for your README

Reach badge for warm-compact Validation badge for warm-compact

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/ziedgithub--claude-code-mods--warm-compact-reach.svg)](https://mods.aidojo.si/mods/ziedgithub--claude-code-mods--warm-compact/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/ziedgithub--claude-code-mods--warm-compact-validates.svg)](https://mods.aidojo.si/mods/ziedgithub--claude-code-mods--warm-compact/)