claudemods

All Claude Code modskjhq/haiku-compact

haiku-compact

A Claude Code mod in kjhq/haiku-compact

Squish your context with Haiku when the prompt cache goes cold, so your main model re-caches a short summary instead of the whole transcript. One line above the prompt shows up only when the cache is cold, says what a squish saves, then what it saved.

haiku-compact reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.303.

Install hint

/plugin install haiku-compact --marketplace kjhq/haiku-compact

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsdrives Claude, writes the prompt box, reads mod state, draws

Validation

Passed on Claude Code 2.1.303

View the source on GitHub Back to the list

What the scan recorded

Observed events
classic hooks, every prompt, compaction
Hooks
classic.SessionStart, turn.start, turn.complete, prompt.submit, session.compact, ui.render {component=AbovePrompt}
API calls
$.clock.after, $.clock.now, $.model.complete, $.prompt.fill, $.prompt.submit, $.session.compact, $.session.usage, $.state.get, $.state.set, $.ui.resolve, $.ui.toast
Validation on 2.1.303
Passed
Scanned revision
f31e212e4b7e
Marketplace passed
haiku-compact

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.

Badge for your README

Reach badge for haiku-compact Validation badge for haiku-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/kjhq--haiku-compact--haiku-compact-reach.svg)](https://mods.aidojo.si/mods/kjhq--haiku-compact--haiku-compact/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/kjhq--haiku-compact--haiku-compact-validates.svg)](https://mods.aidojo.si/mods/kjhq--haiku-compact--haiku-compact/)