Claude Code Filetree
An IDE-style file tree for Claude Code that shows what Claude is doing and where in files
Claude Code CLI
Claude Code in Desktop App
Key features:
- Show/nav all files in a directory (with support for Git status, nvim bindings)
- Animations show where Claude is reading/working
- Keyboard shortcuts:
- Nav directories with
z (zoxide-like)
- Search with
s or i (in highlighted folder) or q (in file contents)
- Diff files with
d or all changed files in a folder
- Terminal-first features: File previews, directory size treemap, and more
Installation
The repo is its own plugin marketplace. Run this in the terminal:
claude plugin marketplace add data-goblin/claude-code-filetree
claude plugin install filetree@claude-code-filetree
Or inside a Claude Code session:
/plugin marketplace add data-goblin/claude-code-filetree
/plugin install filetree@claude-code-filetree
An install fails with Unrecognized key: "options" on Claude Code older than 2.1.287: run claude update, then install again.
Features
- File tree of the cwd or a pinned folder, with Git, size, line count and date columns; a folder too big to scan stays blank until something in it changes (tree)
- Collapse all, and expand all up to three levels deep (tree)
- Symlink arrows, a brain on agent instruction files, and Nerd Font, plain or text glyphs (tree)
- Search by name across unopened folders, by case or regular expression, scoped to one folder (search)
- Search inside files with
git grep or grep -r, and open a match at its line (search)
- Jump to any folder zoxide style with
z (search)
- Git status per file and folder, line counts on changed files, and the branch with ahead and behind (git)
- Git and GitHub commands Claude runs show as a status line (git)
- Claude's reads, writes and commits shimmer in the tree, and auto-collapse closes the folders it opened (activity)
- The Activity shimmer setting turns the shimmer off in every session; the Clawd button in the Desktop app header flips it (activity)
- File references with a line in Claude's replies become links to that line (activity)
- Follow work moves the session to the repo Claude writes in: two or more writes there move it, reads alone never do (activity)
- IDE-style multi-select; the shaded rows go to Claude as context: the selected row, or up to 100 marked rows (context):
- click selects one row and clears the marks
- with rows marked, j / k move only the cursor, and
v marks or unmarks the row under it
- shift+click marks the range from the last click or j / k move, in tree order
- ctrl+click marks or unmarks one row without opening it; alt+click on macOS
- double-click or Enter opens a file
- the clear selection button clears every marked and selected row
- marked rows show the selection background;
y, Y and u copy the shaded rows
- with rows marked, the row under the cursor shows an accent tint in the Desktop app and the accent cursor mark in the terminal
- Split preview of code, Markdown, images, video frames, PDF and Word pages (preview and treemap)
- Treemap of a folder by bytes or lines, with Claude's activity lit (preview and treemap)
- Diff of a file or every changed file in a folder, in the pane or your diff tool (diff)
- Open files in their default app, an editor in a tmux or herdr pane, or any command (open)
- Guard files and folders from Claude's edits, and see files written outside the repo (guards)
- Keyboard-driven: vim-style moves, a shortcuts overlay, and alt+l / alt+h in the terminal (keys)
/filetree commands and where the pane shows in the terminal and the Desktop app (sidebar)