โ Browse
context-hogs
karanb192 โ
524
This Claude Code plugin tracks per-file context costs by hooking into tool results and attributing tokens to the files they loaded, then renders a leaderboard of your repo's most expensive files at session end or on demand. It uses local byte-to-token estimates (~4 bytes/token) and configurable pricing to help developers identify which files consume the most context.
Install
> /plugin marketplace add karanb192/claude-code-hooks/tree/HEAD/plugins/context-hogs
> /plugin install context-hogs
Source: https://github.com/karanb192/claude-code-hooks/tree/HEAD/plugins/context-hogs
What it's made of
1 skill ยท 2 hooks
- Commands
- 0
- Agents
- 0
- Skills
- 1
- MCP servers
- 0
- Hooks
- 2 ยท PostToolUse, SessionEnd
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
node- Talks to
- nothing external detected
Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.
Is this your plugin?
Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (karanb192).