claudemods

All Claude Code modsmdseyam-as/claude-smart-compact

smart-compact

A Claude Code mod in mdseyam-as/claude-smart-compact

Compacts the Claude Code context at the most cost-effective moment, aware of the warm prompt cache; Haiku judges task boundaries, topic switches and what to keep

smart-compact reaches L2 (writes or runs) and passed claude plugin validate.

Install hint

/plugin install smart-compact --marketplace mdseyam-as/claude-smart-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, reads the transcript, persists state, draws

Validation

Passed

Listed under Prompt cache mods for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt
Hooks
session.start, command.run {command=smart-compact}, prompt.submit, turn.start, turn.complete
API calls
$.clock.after, $.clock.every, $.clock.now, $.command.register, $.model.complete, $.session.compact, $.session.messages, $.session.usage, $.store.get, $.store.set, $.ui.status, $.ui.toast
Validation
Passed
Scanned revision
d1f891c5b5e1
Marketplace passed
smart-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 smart-compact Validation badge for smart-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/mdseyam-as--claude-smart-compact--smart-compact-reach.svg)](https://mods.aidojo.si/mods/mdseyam-as--claude-smart-compact--smart-compact/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/mdseyam-as--claude-smart-compact--smart-compact-validates.svg)](https://mods.aidojo.si/mods/mdseyam-as--claude-smart-compact--smart-compact/)