All Claude Code modsambervdberg/smartcompact
smartcompact
A Claude Code mod that compacts the conversation at the right moment with a summary focused on the current task, and then picks the work back up.
smartcompact reaches L2 (writes or runs) and passed claude plugin validate with warnings.
- Events hooked: 10
- API methods referenced: 24
- Access from classified calls: L2, writes or runs: writes files, drives Claude, writes the prompt box, reads files, reads env vars, reads the transcript, reads the prompt box, persists state, draws
- Static scan, not a runtime test
Install hint
/plugin install smartcompact --marketplace ambervdberg/smartcompactFrom 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 runswrites files, drives Claude, writes the prompt box, reads files, reads env vars, reads the transcript, reads the prompt box, persists state, drawsValidation
Passed with warningsView 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.list, $.fs.read, $.fs.stat, $.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
- Passed with warnings
- Scanned revision
9b860e3e628e- 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. What a mod can access and how the scan works.
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/ambervdberg--smartcompact--smartcompact/)
[](https://mods.aidojo.si/mods/ambervdberg--smartcompact--smartcompact/)