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 JimalHv0.6.2MITIn 1 marketplace
Fork of filetree: IDE-style file tree that also marks the files Claude plans to change, is changing and has changed (with a legend), opening their folders
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.
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; changes what Claude reads (system prompt, context, reminders).
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
A Claude Code mod: an IDE-style file tree in the sidebar (/filetree), forked from filetree by Kurt Buhler (MIT), with task marks: the files Claude plans to change, is changing and has changed, shown in the tree whether or not the folder is a git repository.
Everything the original does is still here: git status and lines changed, the shimmer on files Claude reads (purple), writes (orange) and commits (green), search, preview, treemap and diff. See the original README for those, its keys and its settings (all under /config → jimal-filetree).
| Colour | Meaning |
|---|---|
blue #5fa8d3 | planned: Claude plans to create or change the file in this task |
orange #f59e0b | changing: changed during the step that is running |
green #4caf6e | changed: changed in a step that completed |
● at the right; a folder takes the most advanced colour of the files inside it.clears in Ns once the task has finished.plan_files tool (mcp__jimal-filetree__plan_files) and a line in Claude's system prompt asking it to report the files it plans to change before the first edit. Paths written in the session's task list items are marked too (only files that exist), in case a report is missed. Both go away when the mod is disabled.plan_files alone, without a task list, finishes when the turn ends.?/M marks and +N -N counts never show), the lines Claude adds and removes with Edit and Write are counted for the session and shown as +N -N beside the file. Local only: no model call. Changes made by shell commands are not counted.A click selects a file (a folder opens or closes); a second click on the selected file clears the selection; a double-click opens it, as before.
claude plugin install jimal-filetree --marketplace JimalH/ai-workflow-kit
Disable the original filetree if it is installed: both register /filetree.
Needs Claude Code 2.1.306+; in the terminal, the fullscreen layout (/tui fullscreen) and at least 110 columns.
6bc23f6d824242bea16e53e097051bfa8bcd34a2 (filetree 0.5.2), reviewed in full before copyingLICENSE and ACKNOWLEDGEMENTS.md kept in this folderChanges (0.6.0):
jimal-filetree (plugin name, state keys, pane id); the /filetree command keeps its name.hooks/marks.ts (statuses, holding, folder roll-up, paths read off text), and in hooks/register.tsx the plan_files tool, the system prompt line, following the task list, marking edits, row colours and the legend.+N -N.tests/marks.test.ts, and two end-to-end tests at the end of tests/surfaces.test.tsx; the original tests run against the renamed plugin.Changes (0.6.1):
Changes (0.6.2):
npx claudepluginhub jimalh/ai-workflow-kit --plugin jimal-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.