All Claude Code modsDanielGarcia-Carrillo/claude-improvements
early-compact
Has Claude write a checkpoint once context passes a threshold, then compacts early with that checkpoint as the brief and resumes the work
early-compact reaches L2 (writes or runs) and passed claude plugin validate.
- Events hooked: 6
- API methods referenced: 11
- Access from classified calls: L2, writes or runs: writes files, drives Claude, draws
- Static scan, not a runtime test
To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runswrites files, drives Claude, drawsValidation
PassedView the source on GitHub Back to the list
What the scan recorded
- Observed events
- every prompt, compaction
- Hooks
session.start, command.run {command=early-compact}, prompt.submit, turn.start, turn.complete, session.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- Validation
- Passed
- Scanned revision
e5c85cd08465
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. What a mod can access and how the scan works.
More from DanielGarcia-Carrillo/claude-improvements
- lensSorts each of Claude's replies into what's in progress, what needs you and what got done, in a side pane and…
- new-project/new-project bootstraps a repository from the claude-improvements baselines, in Claude Code or Codex: propose…
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/DanielGarcia-Carrillo--claude-improvements--early-compact/)
[](https://mods.aidojo.si/mods/DanielGarcia-Carrillo--claude-improvements--early-compact/)