All Claude Code modsspiiritual/claude-code-stuff
better-compaction
Compaction that waits for the model's turn to end, and summarizes at its own effort level.
better-compaction reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 5
- API methods referenced: 6
- Access from classified calls: L2, writes or runs: sets env vars, drives Claude, reads env vars, draws
- Static scan, not a runtime test
Install hint
/plugin install better-compaction --marketplace spiiritual/claude-code-stuffFrom 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 runssets env vars, drives Claude, reads env vars, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- classic hooks, compaction
- Hooks
classic.PreCompact, classic.PostCompact, session.compact, turn.step, turn.complete- API calls
$.clock.after, $.env.get, $.env.set, $.session.compact, $.session.usage, $.ui.log- Validation on 2.1.302
- Passed
- Scanned revision
cdcf3cb6e788- Marketplace passed
- claude-code-stuff
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 spiiritual/claude-code-stuff
- whiteboard-defenseUnderstand what you ship: plan with a real diagram and decisions you make yourself, then get grilled on it af…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/spiiritual--claude-code-stuff--better-compaction/)
[](https://mods.aidojo.si/mods/spiiritual--claude-code-stuff--better-compaction/)