laya-compaction
by Tristan Kenney · ★ 0 · updated 7 days ago
0
Verbatim context compaction for Claude Code, scored by a local Laya model.
Install
/plugin marketplace add tristankenney/laya-compaction/plugin install laya-compaction@laya-compactionThen 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.compactturn.complete- API calls
$.env.get$.http.fetch$.session.compact$.session.usage$.settings.read$.ui.log$.ui.toast- Can see
compaction- Reach
- level 3 of 3 networkdrives Claudereads env varsreads settingsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/tristankenney/laya-compaction
- Path in repo
- repository root
- Author
- Tristan Kenney @tristankenney
- License
- A license file GitHub could not identify — read it in the repository before reusing code.
- 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.