claudemods

All Claude Code modsambervdberg/smartcompact

smartcompact

A Claude Code mod in ambervdberg/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.

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 runswrites files, drives Claude, writes the prompt box, reads files, reads env vars, reads the transcript, reads the prompt box, persists state, draws

Validation

Passed with warnings

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.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

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/)