Footprints
A live file tree beside the chat that shows where Claude has been.

85 passingnone10See which files Claude reads and changes
Footprints builds a live file tree from tool activity, with read, edit, new, deleted and commit marks. It helps you find the touched files before inspecting the actual diffs.
When to use it
- Navigate the files involved in a multi-file refactor.
- Filter a busy repository down to files touched during the session.
- Distinguish read activity from edits before opening a diff.
Try it in your session
Open the file pane while Claude works.
/footprintsRead the displayed activity marks to distinguish reads, edits, new files, deletions and commits.
Toggle between touched files and all files. Run /footprints touched again to return to all files. The t key toggles this filter only while the pane is focused.
/footprints touchedOpen your diff viewer or Play-by-Play for the actual changes; the tree is not a diff or revert tool.
Choose the behavior
There are no settings. Use the pane and touched filter to choose what to inspect. If slow shell snapshots pause shell tracking, /footprints re-enables it.
Where it works
The reviewed pane supports Terminal and Desktop. Shell tracking requires git; source support does not prove a live test on your surface.
Check current platform versions and installation guidanceKnow the limits
- No model calls, network requests or file-content reads of its own. It tracks filenames and metadata, with read-only git around Bash commands.
- Concurrent editor changes can be attributed to shell activity. Slow snapshots pause only shell tracking.
- Folders collapse automatically and cannot be expanded by hand. This is not durable history, a diff viewer or a way to revert changes.
Reviewed version 0.1.2, source reviewed 2026-10-15. Read the pinned README (8628e8f). This walkthrough describes that version, not a new live Claude Code test. Catalogue updates may describe a newer version.
How it works
Slash commands
/footprintsShow where Claude has been: a live file tree beside the chat
Hook events
The prompt
Build me a Claude Code mod called "footprints": a live file tree beside the chat that shows where Claude has been. What it does- /footprints opens a side pane with the project's file tree. Respect .gitignore and skip node_modules and .git.- As Claude works: files it reads glow blue, files it is editing shimmer amber, files with committed changes turn green, new files get a "new" mark and deleted files are struck through.Details
A live file tree beside the chat that shows where Claude has been.
Use it
/footprintsopens a pane with the project's file tree: docked beside the transcript in fullscreen, above the prompt otherwise. Because you asked, it opens at any terminal width, and it works while Claude is mid-turn. It adds nothing to the transcript (the model never reads it); the pane, or a toast, is the answer.- As Claude works, names change color:
- blue - read (Read; a folder Glob or Grep searched)
- amber - edited; it shimmers while the edit is still running (only while the pane is on screen)
- green - edited, then committed with
git commit - new - created this session
struck through- deleted (a file created this session and then deleted leaves no trace)- (shell) - changed by a Bash command rather than an edit tool
- The header counts it up:
read 12 · edited 4 · new 1, plusdeletedandcommittedonce there are any. New, deleted and committed files are counted in edited too. - Touched only: press
twhile the pane has the keys (click it, or ctrl+x tab), or type/footprints touched. Every folder Claude did not touch collapses, and untouched files fold into one+ N untouched filesline. A project with more than 50 folders opens this way, with a note under the header saying so; one press shows the whole tree, and your choice then stands for the session. - Status line:
edited 4under the prompt, so you see activity with the pane closed. - Untouched folders with more than 40 files start collapsed, showing their file count. Files Claude touched outside the project are listed under
outside <folder>. /clearstarts a clean trail.
Settings
None.
What it can touch
- Reads: file names and modification times only, never contents. Names come from
git ls-files(or a folder listing outside git). Around a Bash call it also reads the modification time of each file git reports as changed (up to 400, the ones the call moved first). It also reads the project folder's real path, and for a Glob or Grep target, whether it is a folder. - Runs (all read-only, no index lock):
git rev-parse --show-toplevel --show-prefixto find the repogit ls-files -z --cached --others --exclude-standard -- . ':(exclude,glob)**/node_modules/**'when you open the pane, and after a commit or checkout while it is opengit --no-optional-locks status --porcelain=v2 ... -- ':/' ':(top,exclude,glob)**/node_modules/**'before and after each Bash call, pane open or not (the "after" is skipped when the call was read-only). That is two runs per Bash call: tens of milliseconds in most repos, about 0.3 s together in a 100,000-file one. If one run takes over 2 seconds or times out, shell tracking pauses and the transcript says so once:Footprints: shell tracking paused, git status is slow in this repo. Read and edit tracking keep working, and running/footprintsagain turns shell tracking back on.
- Writes: nothing on disk; its marks live in the session's state.
- Network: none. Model calls: none.
Limits
- In a repo where
git statusis slow (over 2 s), shell tracking pauses for the session. node_modulesis always skipped, even where.gitignoredoes not list it, so files Claude reads or writes there show only when touched by an edit tool or Read.- Shell changes need git. Outside a git repo the tree still works (a walk that skips
node_modules,.gitand a few cache folders, without.gitignore), but Bash changes are not marked. - Shell attribution compares
git statusbefore and after the call plus file times, so: a branch switch that leaves git clean on both sides is not marked; a file you save in your own editor while a Bash command runs can be counted as changed by the shell; changes made by a background Bash command are not marked. With more than 400 files dirty, a file that was already dirty and is changed again may be missed. - Green needs a Bash command that runs
git commitand moves HEAD. Commits you make in your own terminal are not seen. - Files read through the shell (
cat,rg) do not turn blue, and neither does a file you @-mention until Claude reads it with Read; only Read, Glob and Grep count. Native macOS and Linux builds of Claude Code have no Glob or Grep tools, so folder marks mostly come from builds that do. tworks only while the pane holds the keyboard; from the prompt, use/footprints touched.- Subagents' tool calls count too.
- Big repos: it keeps up to 20,000 file names and draws up to 400 rows (the rest is one "more" line).
- An edit still running when the mod reloads is not recorded.
- A name holding control characters is drawn with color codes dropped and each other control character shown as
�(git's file lists are read NUL-separated, so its path quoting never applies). - Tested with POSIX paths (macOS, Linux). Colors follow your theme's
suggestion,warningandsuccess. - The pane opens only when you ask. If a surface cannot place panes, or something refuses the pane, a one-line toast says so.
- Not done yet: the tree is built in one go, not lazily, and a collapsed folder cannot be expanded by hand.
Built from a prompt
Pairs well with
Follow modmyclaude for new mods: TikTok · Instagram · YouTube · X · Threads · Facebook