Filetree

Browse files in a tree inside Claude Code

·

source at 56de6f0

·

MIT license

An IDE-style file tree in a pane, with per-file git status, search, and animations on files Claude reads or writes.

27 installs

What this mod can do

  • Reviewed at commit 56de6f0
  • 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.copy (v… [+188 chars], which this page doesn't describe yet
7 more things it can do
  • Reads files
  • Reads your settings
  • Remembers data between sessions
  • 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
  • Claude Desktop has no split preview or treemap
  • Image and video previews use magick or ffmpeg; PDF pages use pdftoppm or gs
Are mods safe?

Preview

Terminal

✕ ■ app ↑ ⌂ ⊙ ◫ ⊟ ◷ ⊡ ↻ ⑂ main +1 -1 M:1 ⌕ search Aa .* ≡ Name Git (LOC) Modified ▸ ■ .git 2026-11-27 19:13 ▸ ■ build 2026-11-27 19:13 ▾ ■ src +1 -1 M:1 2026-11-27 19:14 ▸ ■ components 2026-11-27 19:13 ▸ ■ jobs 2026-11-27 19:13 ▸ ■ lib 2026-11-27 19:13 ▸ ■ routes 2026-11-27 19:13 ∙ sum.js +1 -1 2026-11-27 19:14 M ∙ .npmrc 2026-11-27 19:13 ∙ package.json 2026-11-27 19:13 ∙ README.md 2026-11-27 19:13 ∙ test.sh 2026-11-27 19:13 ?: 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
A file tree in a 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
56de6f0
Preview recorded with
Claude Code 2.1.309

How it works

  1. /filetree opens or closes the tree; Open at start decides it for new sessions
  2. Lists the folder with git status, the branch and line counts on changed files
  3. Watches Claude's tool calls and shimmers files it reads or writes
  4. Keys search (s, q), jump to a folder (z) and diff a file (d)

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.