Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Rajesh-kumar-rv0.5.3MITIn 1 marketplace
An IDE-style file tree for Claude Code that shows what Claude is doing and where in files
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Diff withdiff
What d does on a changed file, in the tree or the preview. Empty: show its diff against HEAD in the pane, drawn by Claude Code's own diff view (an untracked file shows as all added; d again goes back to the file). Anything else is a terminal command, run on the file in a tmux window, a herdr pane or, on Linux, a new terminal window through xdg-terminal-exec, the file path going last. Examples: hunk diff --, lazygit -f, git difftool -y --, nvim -c Gvdiffsplit.
string
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs programs; reads files; reads environment variables (EDITOR, HERDR_BIN_PATH, HERDR_ENV, HERDR_WORKSPACE_ID, HOME, KITTY_WINDOW_ID, OS, SSH_CONNECTION, SSH_TTY, TERM, TERM_PROGRAM, TMPDIR, TMUX, USERPROFILE, VISUAL, XDG_RUNTIME_DIR); reads or rewrites your prompts.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Edit withedit
What e does in the preview: open the file at the top line shown. Empty: $VISUAL, then $EDITOR, then vi in tmux or a herdr pane with +line (Linux/macOS only; the e button is hidden elsewhere). Anything else is a command like Open with, where {line} is that line, for example code -g {path}:{line} or zed {path}:{line}.
stringdefault
Open withopen
What a double-click or Enter does with a file. Empty: the default app, also inside tmux. editor: use $VISUAL, then $EDITOR, then vi in tmux or a herdr pane (Linux/macOS only; otherwise shows a notice). preview: show it in the pane (left goes back; ↗ always opens the default app). Anything else is a command run instead: {path} is the file and {dir} its folder; without {path} the path goes last. Words split on spaces, quotes keep a word whole, and no shell runs it. It should start the viewer and return; on Linux it runs detached.
stringdefault
Hintshints
on: outside a git repo, a line under the header says git status starts after git init. off: the line is hidden and the tree gets the row.
One of on, off
stringdefault on
Preview panesplit
Where the split preview of the file under the cursor sits when the header button or p shows it: bottom (under the tree, above the status line) or top (under the header). It starts hidden; text scrolls with the wheel over it, f/b or Page Up/Down, images, video poster frames and PDF or office document pages draw through the kitty graphics protocol in terminals that support it, and [ and ] turn a document's pages.
One of bottom, top
stringdefault bottom
Open at startstart
on: the pane opens when a session starts. off: it stays closed until you run /filetree.
One of on, off
stringdefault on
Right columncolumn
What the right column shows by default: date (last modified), age (time since last modified, short: now, 12m, 3h, 5d, then Oct 9 past a week and the year past a year), size (files in bytes, folders as disk usage computed in the background) or loc (non-blank lines in code, markup, config and docs files, folders as the sum, counted in the background; pictures, video, binaries and data files show nothing). The header button cycles the date or age, size and loc; in loc the treemap sizes boxes by lines.
One of date, age, size, loc
stringdefault date
Follow Claudefollow
on: the tree scrolls to what Claude reads, writes or commits. off: the view stays where you put it and only your own scrolling moves it; highlights still show.
One of on, off
stringdefault on
Glyphsglyphs
Icon set: auto uses Nerd Font icons when Nerd Fonts 3.2 or newer is installed here, except in the desktop app, and plain Unicode otherwise; plain uses Unicode only; text is plain with the header buttons as words (up, cwd, sync, dots, size, fold, split, clear), falling back to plain glyphs when the pane is too narrow
One of auto, nerd, plain, text
stringdefault auto
Ignoreignore
File and folder names to leave out of the tree, its search and its shimmer, separated by spaces or commas. Names match exactly, without wildcards, at any depth, like the built-in .git and node_modules. Example: .cache .tmp
stringdefault
Terminal targettarget
Where Open with: editor, e in the preview and a Diff with command start their terminal program inside tmux or herdr. auto: a new tmux window, or a herdr pane split to the right. pane right and pane below split the current pane; tab opens a tmux window or a herdr tab; workspace opens a new tmux session and switches to it, or a new herdr workspace. In tmux, nvim already running in the session is reused wherever it is.
One of auto, pane right, pane below, tab, workspace
stringdefault auto
Palettepalette
Your own colors, laid over the Omarchy, light or default theme: key=#hex pairs separated by spaces. Keys: fg, bg, accent (folders, links), muted (dates, sizes), urgent (deleted, conflicts), selection (selected row), hover (hovered row), added, modified, renamed (git status), add and del (line counts). A key you leave out keeps the theme's color. Example (Gruvbox Dark Hard): fg=#ebdbb2 bg=#1d2021 accent=#83a598 muted=#928374 urgent=#fb4934 selection=#3c3836 added=#b8bb26 modified=#fabd2f renamed=#83a598 add=#b8bb26 del=#fb4934
stringdefault
Search spacingspacing
on: a blank line above and below the search bar. off: the search bar sits right under the header and the tree gets the two rows.
One of on, off
stringdefault on
Treemaptreemap
What the split preview shows on a folder. auto: a pixel-accurate treemap through the kitty graphics protocol in Ghostty and kitty, outside tmux and herdr, and the cell treemap everywhere else. image: try the pixel treemap in any terminal, falling back to cells where it cannot show, as inside tmux. cells: always the cell treemap. off: no treemap and no disk usage scans.
One of auto, image, cells, off
stringdefault auto
Claude activityactivity
Which of Claude's file activity shimmers in the tree: files read with the Read tool or Bash readers (rg, grep, find, cat) in purple, writes in orange and git actions in green
One of reads and writes, writes, reads, none
stringdefault reads and writes
Binary filesbinaries
What a double-click or Enter does with an image, audio, video, PDF, office document, archive, font or compiled file when Open with names an editor or command. Open with: hand it to the editor or command like any other file. default app: open it in the default app for its type, as if Open with were empty, so a code editor in Open with gets code and the system gets images. The file type comes from its extension; preview is unaffected.
One of Open with, default app
stringdefault Open with
Shortcut rowshortcuts
auto: the footer shows a ?: shortcuts hint until you press ? in the tree, then the shortcuts show at the left of the footer row for 10 seconds, the selected entry staying at the right; ? again hides them. always: they always show. off: they never show. The keys work in every mode with the tree focused.
One of auto, always, off
stringdefault auto
An IDE-style file tree for Claude Code that shows what Claude is doing and where in files
| Preview | Treemap | Diff |
|---|---|---|
![]() | ![]() | ![]() |
[!NOTE] filetree is a Claude Code mod and needs Claude Code 2.1.306+. It shows in the right sidebar, which in the terminal needs the fullscreen layout (
/tui fullscreen) and a terminal at least 110 columns wide; the Desktop app docks it on its own./filetreeshows or hides it, and/filetree openopens it, or brings it forward from behind another tab, without hiding it. Tested on Linux, macOS and Windows; mods don't load in WSL sessions of the Desktop app.
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.
File tree of the cwd, or of a folder pinned with /filetree <path>, with search across unopened folders
Git status per file and folder, line counts on changed files, and branch, upstream and ahead/behind in the header
Claude's reads (purple), writes (orange) and commits (green) shimmer in the tree; collapsed folders open to show the file
Git and GitHub commands Claude runs show as a status line at the bottom of the pane
The selected file goes to Claude as context, and @path in a prompt reveals that file
Right column cycles date, size and lines of code from the header button
Split preview under or above the tree: highlighted code, rendered Markdown, images, video poster frames, and PDF and Word pages turned with [ and ]
Treemap of the folder under the cursor in the same split, sized by bytes or by lines, with Claude's activity lit
d shows the diff of a file or of every changed file in a folder, in the pane or in a tool you name
Open files in their default app, an editor in a tmux or herdr pane, or any command
Changes made outside Claude show at once on Linux through inotifywait
Draws in the terminal's own palette, with Nerd Font, plain or text glyphs
p or the header button shows the split. On a file it shows the file; on a folder, the root row or nothing it shows the treemap.
flowchart LR
C[Cursor] -->|file| P[File preview]
C -->|folder, root row or nothing| T[Treemap]
T -->|click a box| S[Select the entry]
T -->|double-click a folder| D[Map that folder]
T -->|folder name| U[Map the parent]
With the tree focused:
npx claudepluginhub rajesh-kumar-r/rajesh-claude-mods --plugin filetreeBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.