early-compact

by Daniel Garcia Carrillo · ★ 0 · updated 9 days ago

Status lineCommandsPromptvalidates

0

Has Claude write a checkpoint once context passes a threshold, then compacts early with that checkpoint as the brief and resumes the work

install early-compact

Install

git clone https://github.com/DanielGarcia-Carrillo/claude-improvements
claude --plugin-dir ./claude-improvements/mods/early-compact

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
session.startcommand.runprompt.submitturn.startturn.completesession.compact
API calls
$.clock.after$.clock.now$.command.register$.command.run$.fs.write$.prompt.submit$.session.id$.session.root$.session.usage$.ui.status$.ui.toast
Can see
every promptcompaction
Reach
level 2 of 3 writes filesdrives Claudedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/DanielGarcia-Carrillo/claude-improvements
Path in repo
mods/early-compact
Source commit
7b207c4 the exact code the scan read
Author
Daniel Garcia Carrillo @DanielGarcia-Carrillo
License
MIT
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 DanielGarcia-Carrillo/claude-improvements

lens

DanielGarcia-Carrillo/claude-improvements

Sorts each of Claude's replies into what's in progress, what needs you and what got done, in a side pane and in place in the transcript

★ 0PanesReskinsGuards