Filetree

See which files Claude Code is editing

·

source at a3d36b1

·

MIT license

An IDE-style file tree pane with git status on every file, where the files Claude reads, writes and commits shimmer. Search, preview and diff files without leaving the session.

What this mod can do

  • Reviewed at commit a3d36b1
  • Runs programs
  • Writes files
  • Reads environment variables
  • Sees each change to /config and can block or rewrite it
  • Changes your settings in /config
  • Sees each prompt you send and can change or drop it
  • Runs slash commands
  • Sees each tool call before it runs and can block or change it
  • Sees each Read tool call before it runs and can block or change it
  • Can approve or deny each tool call before Claude Code asks you
  • Also uses $.ui.scroll, which this page doesn't describe yet
8 more things it can do
  • Reads files
  • Reads your settings
  • Remembers data between sessions
  • Copies to your clipboard
  • Asks you questions
  • Adds the /filetree command
  • Lists the slash commands you can run
  • Runs on a timer
Good to know (3)
  • Needs Claude Code 2.1.306 or newer and git. PDF, Office and video previews need extra tools such as ffmpeg.
  • Follow work (on by default) moves the session to the repo Claude works in; set Follow work off in /config.
  • The Desktop app has no split preview or treemap, and shimmers at most four rows at once.
Are mods safe?

Preview

Terminal

✕ ■ app ↑ ⌂ ⊙ ◫ ⊟ ◷ ⊡ ↻ ⑂ main +1 -1 M:1 ⌕ search Aa .* ≡ Name Git (LOC) Modified ▸ ■ .git 2026-11-11 13:56 ▸ ■ build 2026-11-11 13:56 ▾ ■ src +1 -1 M:1 2026-11-11 13:56 ▸ ■ components 2026-11-11 13:56 ▸ ■ jobs 2026-11-11 13:56 ▸ ■ lib 2026-11-11 13:56 ▸ ■ routes 2026-11-11 13:56 ∙ sum.js +1 -1 2026-11-11 13:56 M ∙ .npmrc 2026-11-11 13:56 ∙ package.json 2026-11-11 13:56 ∙ README.md 2026-11-11 13:56 ∙ test.sh 2026-11-11 13:56 ?: shortcuts

Claude Desktop

Filetree in Claude Desktop

What it does

In the author's words

An IDE-style file tree for Claude Code that shows what Claude is doing and where in files

What you see
An IDE-style file tree pane
Works in
Terminal and Claude Desktop
Slash commands
/filetree
Uses your tokens
No
Changes files
Yes
Network access
Only through programs it runs
Reviewed commit
a3d36b1
Preview recorded with
Claude Code 2.1.309

How it works

  1. Shows a pane of the working folder, or a folder you pin, opened with /filetree
  2. Reads git status per file and folder, and the branch with its ahead and behind counts
  3. Rows shimmer as Claude reads, writes and commits them; auto-collapse closes what it opened
  4. Marks files and folders off limits to Claude's edits, and sends shaded rows as context

Common questions

How can I see which files Claude Code is reading or editing?

With this mod, the files Claude reads, writes and commits shimmer in a file tree pane, with git status and line counts on changed files. The Activity shimmer setting in /config turns the shimmer off in every session.

Can I keep Claude Code from editing certain files?

The README says the tree can guard files and folders from Claude's edits, and shows files written outside the repo.

How do I give Claude files from the tree as context?

Select a row, or mark up to 100 rows with v, shift+click or ctrl+click (alt+click on macOS). The shaded rows go to Claude as context, and y copies them.

Badge for your README

Own this listing? Add it to your README. The badge shows the install count as it grows.

Reviewed on statuslin.es
[![Reviewed on statuslin.es](https://staging.statuslin.es/badge/mods/filetree.svg)](https://staging.statuslin.es/mods/filetree?utm_source=readme-badge)

Or show the preview card:

Preview on statuslin.es
[![Preview on statuslin.es](https://staging.statuslin.es/og/mods/filetree.png)](https://staging.statuslin.es/mods/filetree?utm_source=readme-badge)

More like this

Opus 4.8 high ✦ │ ctx 22% │ app (main) │ PR #1287 ● │ $0.41 · 10m +128 -34 Session ● ● ● ● ● ● ● ● ○ ○ ○ 74% left Resets in 2h 6m Weekly ● ● ● ● ● ● ● ● ● ● ○ 93% left Resets in 2d 0h

Feature-rich bash status line with model, context bar, session cost (read live from Claude Code, so it stays correct on any model), rate-limit bars, and live tool/agent activity that adapts to terminal width. Source: github.com/JungHoonGhae/claude-statusline

✧ ███████████▋ 73% 🗝 Ultima Weapon ✦ app ∙ main ♥ ████████████████████████ 100% 「SAVE POINT」 ✶ Limit Form ◉ 41

Claude Code plan-usage HP bar that reads the Claude auth token to show remaining usage.

Opus 4.8 │ main │ app │ ▓▓░░░░░░░░ 44k/200k │ $0.41

Catppuccin Frappé–themed status line with model, git branch and dirty flag, folder, a block context bar, and session cost. Source: github.com/danjdewhurst/cc-status-line

app · main · Opus-4.8 · effort high · ctx 22% · 5h 26% ↻2h6m · 7d 7% ↻2d0h

Folder, git branch, model (color-coded by family), effort, context usage, and 5h/7d rate-limit usage with reset countdowns — all on one line, each percentage going green → yellow → red as it climbs. Needs jq.