claudemods

All Claude Code modsdavidar/claude-idle-compact

idle-compact

A Claude Code mod in davidar/claude-idle-compact In Anthropic directory

Compacts an idle interactive session shortly before its prompt cache expires, so coming back later doesn't re-read the whole context uncached.

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

Install hint

/plugin install idle-compact@anthropic-plugin-directory

From Anthropic's plugin directory. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsother: $.state.get, other: $.state.set, drives Claude, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Anthropic directory
Listed as idle-compact@anthropic-plugin-directory
Observed events
Only what it hooks
Hooks
turn.start, turn.complete, session.end, session.start
API calls
$.clock.after, $.clock.now, $.session.compact, $.session.id, $.session.usage, $.state.get, $.state.set, $.ui.log, $.ui.status
Validation on 2.1.302
Passed
Scanned revision
35ec925345ac
Marketplace passed
idle-compact

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.

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