sharp-compact
by Rémy Lespagnol · ★ 1 · updated 20 Oct 2026
0
Every compaction keeps what matters: the session writes its own handoff brief first.
Install
/plugin marketplace add RemyLespagnol/sharp-compact/plugin install sharp-compact@sharp-compactThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runsession.appendturn.startturn.completesession.compact- API calls
$.clock.after$.clock.sleep$.command.register$.model.fork$.session.append$.session.compact$.session.usage$.ui.notify$.ui.toast- Can see
compaction- Reach
- level 2 of 3 drives Claudedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/RemyLespagnol/sharp-compact
- Path in repo
- repository root
- Source commit
b15bedcthe exact code the scan read- Author
- Rémy Lespagnol @RemyLespagnol
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.