better-compaction

by spiiritual · ★ 0 · updated 7 days ago

Automationvalidates

0

Compaction that waits for the model's turn to end, and summarizes at its own effort level.

install better-compaction

Install

/plugin marketplace add spiiritual/claude-code-stuff
/plugin install better-compaction@claude-code-stuff

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
classic.PreCompactclassic.PostCompactsession.compactturn.stepturn.complete
API calls
$.clock.after$.env.get$.env.set$.session.compact$.session.usage$.ui.log
Can see
classic hookscompaction
Reach
level 2 of 3 sets env varsdrives Claudereads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/spiiritual/claude-code-stuff
Path in repo
plugins/better-compaction
Author
@spiiritual
License
MIT-0
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from spiiritual/claude-code-stuff

whiteboard-defense

spiiritual/claude-code-stuff

Understand what you ship: plan with a real diagram and decisions you make yourself, then get grilled on it after building.

★ 0ReskinsGuardsTools & agents