claudemods

All Claude Code modsDanielGarcia-Carrillo/claude-improvements

early-compact

A Claude Code mod in DanielGarcia-Carrillo/claude-improvements

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 on Claude Code 2.1.302.

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, draws

Validation

Passed on Claude Code 2.1.302

View 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 on 2.1.302
Passed
Scanned revision
7b207c485bbd

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 DanielGarcia-Carrillo/claude-improvements

Badge for your README

Reach badge for early-compact Validation badge for early-compact

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/DanielGarcia-Carrillo--claude-improvements--early-compact-reach.svg)](https://mods.aidojo.si/mods/DanielGarcia-Carrillo--claude-improvements--early-compact/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/DanielGarcia-Carrillo--claude-improvements--early-compact-validates.svg)](https://mods.aidojo.si/mods/DanielGarcia-Carrillo--claude-improvements--early-compact/)