Repolode
data-goblin

data-goblin/claude-code-filetree

An IDE-style file tree pane for Claude Code that highlights the files Claude reads, writes and commits, with git status.

Stars
261
Forks
53
Open issues
2
Last commit
8 hours ago

What is it?

Claude Code Filetree is a mod for Claude Code that adds a file tree pane in the right sidebar of the session. The tree follows the working directory and shows git status for each file and folder, along with line-change counts and branch information in the header.

While Claude works, the tree shows what it is doing: files it reads or searches shimmer purple, files it writes shimmer orange, and commits show green. Selecting a file passes it to Claude as context, and @path mentions in a prompt reveal that file in the tree. Users can search the tree, view diffs, preview Markdown and code, and open files in their default app or a chosen editor.

It requires Claude Code 2.1.287 or newer and is installed as a Claude Code plugin marketplace entry. In the terminal it needs the fullscreen layout and at least 110 columns.

Key features

  • 01Git status and line-change counts shown per file and folder in the tree
  • 02Purple, orange and green highlights for Claude's reads, writes and commits
  • 03Search covers folders that have not been expanded yet
  • 04Selected file or @path mention is passed to Claude as context
  • 05Diff view for changed files, with options to use external diff tools
  • 06File size display via du, with Markdown and code preview in the pane

Use cases

  • Following which files Claude Code is reading or changing during a long session
  • Reviewing uncommitted changes and git status while working with Claude Code
  • Quickly attaching a specific file to a prompt by selecting it in the tree

Quick start

  1. 1

    Add the repo as a plugin marketplace in the terminal

    claude plugin marketplace add data-goblin/claude-code-filetree
  2. 2

    Install the filetree plugin

    claude plugin install filetree@claude-code-filetree
  3. 3

    Inside Claude Code, reopen the pane with the filetree command if it is closed

    /filetree

Things to know

  • Needs Claude Code 2.1.287 or newer; older versions fail to install the plugin.
  • In the terminal it needs the fullscreen layout (/tui fullscreen) and a terminal at least 110 columns wide.
  • Mods do not load in WSL sessions of the Claude Desktop app.

Topics

FAQ

What is claude-code-filetree?
An IDE-style file tree pane for Claude Code that highlights the files Claude reads, writes and commits, with git status. Claude Code Filetree is a mod for Claude Code that adds a file tree pane in the right sidebar of the session. The tree follows the working directory and shows git status for each file and folder, along with line-change counts and branch information in the header.
Is claude-code-filetree free to use? What license does it have?
claude-code-filetree is open source under the MIT license. Check the license terms before using it in commercial products.
Is claude-code-filetree still maintained?
Actively maintained. The last commit to claude-code-filetree was on Oct 21, 2026.
What can I use claude-code-filetree for?
Following which files Claude Code is reading or changing during a long session Reviewing uncommitted changes and git status while working with Claude Code Quickly attaching a specific file to a prompt by selecting it in the tree
How do I install claude-code-filetree?
Add the repo as a plugin marketplace in the terminal: claude plugin marketplace add data-goblin/claude-code-filetree Install the filetree plugin: claude plugin install filetree@claude-code-filetree Inside Claude Code, reopen the pane with the filetree command if it is closed: /filetree
Where can I get claude-code-filetree?
The source code and installation instructions are on GitHub: https://github.com/data-goblin/claude-code-filetree

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects