early-compact

by Daniel Garcia Carrillo · ★ 0 · updated 2 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
e5c85cd 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

new-project

DanielGarcia-Carrillo/claude-improvements

/new-project bootstraps a repository from the claude-improvements baselines, in Claude Code or Codex: proposes the kickoff answers from your description and asks only the open ones, copies the web, Rust or Python template, writes CLAUDE.md and the stack ADR, then installs and runs verify

★ 0Prompt

Other mods in Status line, close to this one by stars.