lossless-compact

by MusicStudioNYC · ★ 1 · updated 12 days ago

ToastsCommandsPromptwarnings

0

Lossless compaction for Claude Code: nothing is summarized; everything removed is archived verbatim with provenance and restorable by id (Jev or a local ruleset). /lossless to inspect and restore.

install lossless-compact

Install

/plugin marketplace add MusicStudioNYC/lossless-compact
/plugin install lossless-compact@lossless-compact

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.runskill.promptsession.compactprompt.submitturn.complete
API calls
$.command.register$.command.run$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.http.fetch$.model.complete$.model.fork$.session.compact$.session.cwd$.session.id$.session.messages$.session.usage$.settings.read$.store.get$.store.set$.ui.ask$.ui.log$.ui.toast
Can see
every skillcompactionevery prompt
Reach
level 3 of 3 networkwrites filesdrives Claudereads filesreads env varsreads settingsreads the transcriptpersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/MusicStudioNYC/lossless-compact
Path in repo
repository root
Author
@MusicStudioNYC
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.