desktop-context-map
Reviewed
at commit c53a70b
Chart context headroom and sampled window growth.
0 upvotes
Log in to upvote or save- Made by
- Yash Thakker
- Pinned commit
-
c53a70b8787c4270029af9648d6eb7054c6c29c3 - What we checked
-
Adds a /desktop-context-map pane to the Claude Desktop Code tab showing how full the context window is, the remaining headroom, and a small chart of the context percentage after each of your last 12 turns. It only reads Claude Code's own usage numbers. No files, network or storage.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (registers the command), command.run (opens the pane), turn.complete (calls next, then reads $.session.usage and keeps the last 12 context percentages in memory, then invalidates the pane) and ui.render for the Pane component. Samples live only in memory and are lost on restart; a Clear button empties them. No file access, network, process execution, $.store, model calls or prompt/tool hooks. ui.js is pure SVG and text helpers (identical in the sibling desktop-* mods). Only works on the desktop surface. Not reviewed: the host runtime.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: no
- Runs programs on your machine: no
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: no
- Shows something on screen: yes
- Hooked events
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/desktop-context-map/)