repo-heatmap
Reviewed
at commit 36f76db
Watch where Claude looks: a live treemap of the repo that lights up as files are read, searched and edited.
0 upvotes
Log in to upvote or save- Made by
- Prompt Advisers
- Pinned commit
-
36f76db2eaace816c651a0c1ad3e6cb46f770432 - What we checked
-
Opens a side pane with a treemap of your project's files that lights up as Claude reads, searches and edits them, using file names and line counts only. It scans the project with git and wc when the session starts, watches tool calls without changing them, makes no network calls and keeps its state inside Claude Code.
Review details
Static review of the source at the pinned commit; not run. Registers hooks for session.start, command.run (/heatmap with reset, size, rescan, close), tool.call, ui.render (Pane) and ui.close. At session start it runs fixed argv commands in the project folder with $.process.run (git ls-files, git ls-tree -r -l HEAD for repos over 4000 files, wc -l -c in batches) and falls back to $.fs.list when not a git repo; it skips node_modules, lockfiles, binaries and similar, and keeps at most 1500 files. The tool.call handler only watches Read, Edit, MultiEdit, Write, NotebookEdit, Grep, Glob, Bash and LSP, passes the call through unchanged via next(e) and parses paths from the tool input and output text (including Bash command words) to colour tiles; paths outside the working directory or starting with ~ are ignored. It never reads file contents. File list, touch counts and recent paths are stored with $.state in plugin state. Drawing uses a Raster with $.clock.every timers and $.ui.blit; failures are swallowed so the map never blocks a tool call. No fetch, no env reads, no model calls, no writes to disk.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: no
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
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/repo-heatmap/)