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.

21 installs

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 14:38 ▸ ■ build 2026-11-11 14:38 ▾ ■ src +1 -1 M:1 2026-11-11 14:38 ▸ ■ components 2026-11-11 14:38 ▸ ■ jobs 2026-11-11 14:38 ▸ ■ lib 2026-11-11 14:38 ▸ ■ routes 2026-11-11 14:38 ∙ sum.js +1 -1 2026-11-11 14:38 M ∙ .npmrc 2026-11-11 14:38 ∙ package.json 2026-11-11 14:38 ∙ README.md 2026-11-11 14:38 ∙ test.sh 2026-11-11 14:38 ?: 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://statuslin.es/badge/mods/filetree.svg)](https://statuslin.es/mods/filetree?utm_source=readme-badge)

Or show the preview card:

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

More like this

chat-sidecar in Claude Desktop

A side pane for the current chat that shows what Claude is doing, what's waiting on you, and what it's using: the to-do list, tasks Claude gives you, answered in place, subagents, background processes, connectors, context files and skills of this chat, in one side pane; the plan band above the prompt

╭─ CONTEXT ────────────────────────────────────────────╮ │ ████▊░░░░░░░░░░░░░░░░░ 22% of 200K · GOOD │ ├─ STATS ──────────────────────────────────────────────┤ │ ↓ 44.0K ↑ 1.4K │ $0.41 │ ⏱ 10m 12s │ +128/-34 │ ├─ REPO ───────────────────────────────────────────────┤ │ ◆ Opus 4.8 · main · 16:21 │ ╰──────────────────────────────────────────────────────╯

A boxed multi-line panel with auto-sizing borders: a context section with a gradient bar and status word, a stats section (tokens, cost, duration, lines changed), and a repo section (model, git branch with file counts, clock, vim mode), in a terracotta Claude-brand palette.

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

One-line status bar showing your directory, git branch (with a * when dirty), model, live effort level, context-window usage, and 5-hour/7-day rate-limit usage.

Opus 4.8 [high] ~/app main 16:20:55 | ⛁ ██░░░░░░░░ 22% | 5h ●◔○○○ 26% ↻2h7m | 7d ◔○○○○○○ 7% ↻2d1h │ $0.41 ⏱ 10m

Two-line status with a block context bar and quarter-step dot meters (◔◑◕●) for the 5-hour and weekly limits (fill shows usage, color shows whether you are ahead of or behind pace), plus model, effort, git and cost. Needs no jq.

████▊░░░░░░░░░░░░░░░░░ 22% of 200K · GOOD │ ↓ 44.0K ↑ 1.4K │ $0.41 │ ⏱ 10m 12s │ +128/-34 │ 5h 26% ↻2h06m │ 7d 7% ↻2d0h │ ◆ Opus 5.5 · main · 03:53

One-line adaptation of @kyleledbetter's Dreambase Panel: a context bar with status word, token/cost/duration/lines-changed stats, and model + git branch + clock, all on a single line in a terracotta Claude-brand palette.