context-diet
Installation
SKILL.md
context-diet
Every Claude Code request ships tool definitions, a bundled-skills catalogue, and feature instructions you may never use — tens of thousands of tokens per turn, billed every turn, that the model reads before reaching your actual problem. This skill measures that overhead and trims it.
Method adapted from aihero.dev, "How to kill the bloat in Claude Code's system prompt."
The idea in one line
A bare tool name in permissions.deny (e.g. "NotebookEdit") removes the tool's
definition from the payload. A scoped rule (e.g. "Skill(dataviz)") only blocks
the call but keeps the definition. To shrink tokens, deny bare names and flip disable* flags.