Footprints

Built by modmyclaude

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

See what Claude is doingv0.1.2
Footprints in Claude Code: a file tree marked with session activity.
Footprints in Claude Code: a file tree marked with session activity. Open Footprints image at original size
Tests85 passing
Model callsnone
Commands1
Settings0

See 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

  1. Open the file pane while Claude works.

    /footprints
  2. Read the displayed activity marks to distinguish reads, edits, new files, deletions and commits.

  3. 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 touched
  4. Open 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 guidance

Know 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.

Reported behavior and access

Files Reads local data

Reads filenames and modification times. Read-only Git status can inspect changed files; the mod writes nothing to disk.

Shell commands Subprocesses used

Reads filenames and modification times. Read-only Git status can inspect changed files; the mod writes nothing to disk.

Network No network

The reviewed README reports no network requests, including its described subprocess behavior.

Added model calls None reported

The reviewed README reports no model calls of its own. Ordinary Claude Code work still uses your model.

Sound Not reviewed

Behavior has not been source-reviewed for this version. Check the README before relying on its access.

Handled events session.start, session.end, command.run /footprints, tool.call, ui.render Pane

Event registration does not mean blocking. Read the source for whether an event observes, changes or holds an action.

README-reported behavior, not a sandbox guarantee. Source v0.1.2, c41c059, reviewed 22 Oct 2026

Original Claude Code validator report

reads files

Can read files, but cannot write them.

commands

Can run commands.

network

Does not make network requests.

model

Does not call a model.

sound

Does not play sound.

Validator hook registrations

Uses hooks: tool.call.

Static validator signals can miss indirect effects, optional configuration and engine-managed storage.

How it works

Slash commands

/footprints

Show where Claude has been: a live file tree beside the chat

Hook events

session.startsession.endcommand.run /footprintstool.callui.render Pane

The prompt

Details

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

Use it

  • /footprints opens 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, plus deleted and committed once there are any. New, deleted and committed files are counted in edited too.
  • Touched only: press t while 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 files line. 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 4 under 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>.
  • /clear starts 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-prefix to find the repo
    • git 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 open
    • git --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 /footprints again 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 status is slow (over 2 s), shell tracking pauses for the session.
  • node_modules is always skipped, even where .gitignore does 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, .git and a few cache folders, without .gitignore), but Bash changes are not marked.
  • Shell attribution compares git status before 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 commit and 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.
  • t works 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, warning and success.
  • 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

prompts/footprints.md

added 9 Oct 2026updated 13 Oct 2026MITSource on GitHub

Pairs well with