Claude Code mod

context-inspector

Context waste analyzer for Claude Code: what fills the window, re-reads, near-duplicate outputs, what compaction kept, advice

13 starsContext & usage modsValidates on Claude Code 2.1.325 Source

Install

From source
git clone https://github.com/dwarvesf/dwarves-kit.git
claude --plugin-dir ./dwarves-kit/integrations/claude-code/context-inspector

The repo has no marketplace file, so load the plugin folder directly with --plugin-dir.

What it can access

Reach
L2Writes or runs: writes files, reads env vars, reads the transcript, draws
Sees
every tool call, compaction
Draws in
Pane
Hooks
session.startsession.endsession.appendtool.callturn.stepsession.compactturn.completecommand.runui.render

From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.

How Claude Code mods work

  • A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
  • It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
  • Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
  • Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Claude Code docs

Details

Folder
integrations/claude-code/context-inspector
Author
YeonwooSung
License
MIT
Last updated
15 November 2026

FAQ

What is context-inspector?

Context waste analyzer for Claude Code: what fills the window, re-reads, near-duplicate outputs, what compaction kept, advice It is a mod for Claude Code, from dwarvesf/dwarves-kit on GitHub.

What can the context-inspector mod access?

Its widest reach is "writes or runs" (writes files, reads env vars, reads the transcript, draws). It sees every tool call, compaction. It draws in Pane. Like any mod, it runs with your permissions.

How do I install context-inspector?

Clone dwarvesf/dwarves-kit and start Claude Code with --plugin-dir pointing at the mod's folder (integrations/claude-code/context-inspector).

Is context-inspector popular?

dwarvesf/dwarves-kit has 13 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 15 November 2026.

More context & usage mods

burn-meter

30

OneWave-AI/claude-code-mods

Live session cost odometer above the prompt: a burning fuse, real-world comparisons, threshold alerts

Context & usage mods/plugin install

costclaw-live

24

ucsandman/Agnostic-AI

COSTCLAW LIVE: per-request cost, cache decay and repeated-read detection while the session runs, and it serves the Nth identical Read of an unchanged file from its own cache instead of paying for it

Context & usage mods

zsemle

Parais4/parais-mods

Zsemle, a pixel-art companion above the prompt (golden retriever, cat, slime, paperclip): watches every usage limit (50/75/90% warnings, pace forecast, resets, API errors, automatic model switch and compaction, cost), stops work at 95%, guards file writes and cheers long turns. English and Hungarian, terminal and desktop.

Context & usage mods/plugin install

spend-ledger

99

escapeboy/claude-code-kit

Per-project token and cost ledger per machine; /spend; monthly note in Svod, with other machines pulled over ssh.

Context & usage mods/plugin install

yemeni-context-band

iyiob96/Context-Mod-Companion

Context-window band above the prompt with RTK token savings and a clickable pixel Yemeni companion whose mood follows how much context is left

Context & usage mods/plugin install

token-ledger

11

Arunjay4213/claude-mods

A per-turn cost and token ledger: a pinned status line with the session cost, the last turn's tokens and the cache hit ratio, and /ledger for a table of the recent turns with their model, tokens, cache reads and writes, duration and cost.

Context & usage mods/plugin install

Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.