All Claude Code modsewanlimr25/compact-lens
compact-lens
See every compaction of a session and what its summary dropped, give your prompts or any lost detail back to Claude, pin facts that must survive, and edit the summary.
compact-lens reaches L2 (writes or runs) and passed claude plugin validate.
- Events hooked: 13
- API methods referenced: 30
- Access from classified calls: L2, writes or runs: runs processes, writes files, drives Claude, writes the prompt box, reads files, reads env vars, reads settings, reads the transcript, reads the prompt box, reads mod state, persists state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- Static scan, not a runtime test
Install hint
/plugin install compact-lens --marketplace ewanlimr25/compact-lensFrom 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 runsruns processes, writes files, drives Claude, writes the prompt box, reads files, reads env vars, reads settings, reads the transcript, reads the prompt box, reads mod state, persists state, drawsValidation
PassedView the source on GitHub Back to the list
What the scan recorded
- Observed events
- classic hooks, compaction, mcp__compact-lens__keep calls, mcp__compact-lens__apply calls, mcp__compact-lens__recall calls, every prompt
- Hooks
session.start, classic.SessionStart, classic.PostCompact, session.compact, turn.step, turn.complete, classic.ConfigChange, classic.PostModelSwitch, tool.call {tool=mcp__compact-lens__keep}, tool.call {tool=mcp__compact-lens__apply}, tool.call {tool=mcp__compact-lens__recall}, command.run {command=?}, prompt.submit, prompt.compose, ui.render {component=Pane, requestId=?}- API calls
$.clock.after, $.clock.now, $.command.register, $.env.get, $.fs.exists, $.fs.list, $.fs.read, $.fs.stat, $.fs.write, $.process.spawn, $.prompt.fill, $.prompt.read, $.session.append, $.session.id, $.session.messages, $.session.root, $.session.usage, $.session.version, $.settings.read, $.state.get, $.state.set, $.store.get, $.store.set, $.tool.register, $.ui.close, $.ui.log, $.ui.open, $.ui.resolve, $.ui.status, $.ui.toast- Validation
- Passed
- Scanned revision
4cd6cb8f0697- Marketplace passed
- compact-lens
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
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/ewanlimr25--compact-lens--compact-lens/)
[](https://mods.aidojo.si/mods/ewanlimr25--compact-lens--compact-lens/)