All Claude Code modsdarshk07/claude-mods
diet
Context Diet: trims huge tool outputs (build logs, long test runs, big fetches) before they reach the context, keeps the full text on disk, and shows how many tokens it saved.
diet reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.308.
- Events hooked: 4
- API methods referenced: 11
- Access from classified calls: L2, writes or runs: writes files, reads env vars, 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 diet --marketplace darshk07/claude-modsFrom 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 runswrites files, reads env vars, reads mod state, persists state, drawsValidation
Passed on Claude Code 2.1.308View the source on GitHub Back to the list
What the scan recorded
- Observed events
- Only what it hooks
- Hooks
session.start, command.run {command=diet}, session.append {door=tool-result}, ui.render {component=Pane, requestId=diet}- API calls
$.clock.now, $.command.register, $.env.get, $.fs.write, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.open, $.ui.resolve, $.ui.toast- Validation on 2.1.308
- Passed
- Scanned revision
61164ad16a24- Marketplace passed
- claude-mods
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.
More from darshk07/claude-mods
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/darshk07--claude-mods--diet/)
[](https://mods.aidojo.si/mods/darshk07--claude-mods--diet/)