claudemods

All Claude Code modsambervdberg/smartcompact

smartcompact

A Claude Code mod in ambervdberg/smartcompact

A Claude Code mod that compacts the conversation at a good moment, asked for by the session after a nudge or chosen by a small judge model, and then tells Claude to continue.

smartcompact reaches L2 (writes or runs) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install smartcompact --marketplace ambervdberg/smartcompact

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 runsother: $.prompt.read, writes files, drives Claude, writes the prompt box, reads files, reads env vars, reads the transcript, persists state, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
the system prompt, compaction
Hooks
session.start, turn.start, turn.step, turn.complete, session.append {door=tool-result}, prompt.edit, prompt.context, command.run {command=?}, session.compact, session.end
API calls
$.agent.list, $.clock.after, $.clock.now, $.command.register, $.env.get, $.fs.exists, $.fs.read, $.fs.write, $.model.complete, $.prompt.fill, $.prompt.read, $.prompt.submit, $.session.append, $.session.compact, $.session.cwd, $.session.id, $.session.messages, $.session.usage, $.store.delete, $.store.get, $.store.set, $.ui.status
Validation on 2.1.302
Passed
Scanned revision
c8a1e691337b
Marketplace passed
smartcompact

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.

Badge for your README

Reach badge for smartcompact Validation badge for smartcompact

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/ambervdberg--smartcompact--smartcompact-reach.svg)](https://mods.aidojo.si/mods/ambervdberg--smartcompact--smartcompact/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/ambervdberg--smartcompact--smartcompact-validates.svg)](https://mods.aidojo.si/mods/ambervdberg--smartcompact--smartcompact/)