claudemods

All Claude Code modsnoash-xrc/claude-tools

idle-compact

A Claude Code mod in noash-xrc/claude-tools

Compacts an idle session with a large context just before its prompt cache expires, while the summary still reads from cache

idle-compact reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install idle-compact --marketplace noash-xrc/claude-tools

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 runsdrives Claude, writes the prompt box, reads files, reads env vars, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt
Hooks
session.start, command.run {command=idle-compact}, prompt.submit, turn.step
API calls
$.clock.after, $.clock.every, $.clock.now, $.command.register, $.env.get, $.fs.read, $.prompt.fill, $.session.compact, $.session.cwd, $.session.id, $.session.usage, $.ui.toast
Validation on 2.1.302
Passed
Scanned revision
886a19d17967
Marketplace passed
noash-tools

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. How the scan works.

More from noash-xrc/claude-tools

Badge for your README

Reach badge for idle-compact Validation badge for idle-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/noash-xrc--claude-tools--idle-compact-reach.svg)](https://mods.aidojo.si/mods/noash-xrc--claude-tools--idle-compact/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/noash-xrc--claude-tools--idle-compact-validates.svg)](https://mods.aidojo.si/mods/noash-xrc--claude-tools--idle-compact/)