claudemods

All Claude Code modsShadowDog007/claude-mods

idle-compact

A Claude Code mod in ShadowDog007/claude-mods

Runs /compact while the session sits idle waiting on background work, right before the prompt cache expires.

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

Install hint

/plugin install idle-compact --marketplace ShadowDog007/claude-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 runsdrives Claude, reads env vars, reads settings, reads mod 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
every tool call, every prompt
Hooks
session.start, command.run {command=idle-compact}, session.end, session.measure, turn.start, turn.step, turn.complete, tool.call, prompt.submit
API calls
$.agent.list, $.clock.after, $.clock.now, $.command.register, $.env.get, $.session.compact, $.settings.read, $.state.get, $.state.set, $.ui.log, $.ui.status, $.ui.toast
Validation
Passed
Scanned revision
8c437ab4c863
Marketplace passed
shadow-claude-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 ShadowDog007/claude-mods

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