claudecodemods.dev

All mods / hellosverre/smart-compact

smart-compact

CAUTION

★ 5 by hellosverre Repository ↗ Mod source ↗

Context & compaction

Description

Compacts at the right moment: after a commit or green tests, a minute before the prompt cache expires, or when Claude asks for it with its own request_compact tool.

What it can do

Reach level 2 — writes or runs What does this mean? →

runs processesdrives Claudereads mod statedraws

Can see: mcp__smart-compact__request_compact calls · Bash calls · PowerShell calls · every prompt · classic hooks

Raw API calls (13) +
  • $.clock.after
  • $.clock.now
  • $.command.run
  • $.process.run
  • $.session.compact
  • $.session.usage
  • $.state.get
  • $.state.set
  • $.tool.register
  • $.ui.close
  • $.ui.open
  • $.ui.resolve
  • $.ui.toast

Static check passed with warnings on Claude Code 2.1.333.

Install

$/plugin marketplace add hellosverre/smart-compact
$/plugin install smart-compact

Check the repo for the exact name.

Details

Repository
hellosverre/smart-compact
Path in repo
.
License
MIT
Last updated
Nov 1, 2026
First seen
Nov 25, 2026
Last scanned
Dec 6, 2026

Related mods — reach level 2

Capability data is machine-generated by static analysis and may be incomplete. A SAFE badge is not a guarantee — read the code before installing anything with broad access. Not affiliated with Anthropic.

Found a mistake in this listing or verdict? Report an issue →