claudemods

All Claude Code modslnodonly/claude-mods

context-diet

A Claude Code mod in lnodonly/claude-mods

Removes escape codes, progress redraws and identical-line runs from Bash output (lossless), and lists the biggest items in context; shows the tokens saved above the prompt through modbar

context-diet reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.303.

Install hint

/plugin install context-diet --marketplace lnodonly/claude-mods

From 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 files, reads the transcript, reads mod state, persists state

Validation

Passed on Claude Code 2.1.303

View the source on GitHub Back to the list

What the scan recorded

Observed events
Bash calls, Read calls
Hooks
engine.create, session.start, turn.complete, tool.call {tool=Bash}, tool.call {tool=Read}, modbar.blocks, command.run {command=context-diet}
API calls
$.command.register, $.fs.read, $.fs.write, $.session.messages, $.state.get, $.state.set, $.store.get, $.store.set
Validation on 2.1.303
Passed
Scanned revision
22069a725a4c
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 lnodonly/claude-mods

Badge for your README

Reach badge for context-diet Validation badge for context-diet

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/lnodonly--claude-mods--context-diet-reach.svg)](https://mods.aidojo.si/mods/lnodonly--claude-mods--context-diet/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/lnodonly--claude-mods--context-diet-validates.svg)](https://mods.aidojo.si/mods/lnodonly--claude-mods--context-diet/)