Claude Code Filetree: A Live IDE Pane for Agent Edits

Claude Code Filetree: A Live IDE Pane for Agent Edits

A small TypeScript repo adds an IDE-style file tree to Claude Code, showing exactly which files the agent reads and edits — with git status, diffs, previews and guarded paths, in the terminal and the desktop app.

What you will learn

  • What data-goblin/claude-code-filetree actually adds to a Claude Code session.
  • The concrete problem it solves: you can see which files the agent touches, and you can stop it from touching the wrong ones.
  • How to install and run it in the terminal and in the Claude Desktop app.
  • A small example workflow with git status, diffs and content search.
  • Where the tool is young and where it will frustrate you.

What exactly does an IDE-style file tree add to Claude Code?

Claude Code is a terminal agent. You ask it to do something, it reads files, edits files, runs commands, and you watch a stream of text scroll by. The problem is that the text stream is a bad mental model of a codebase. When the agent says it edited src/utils/parse.ts, you have to trust that it edited the right file, in the right way, and that nothing else changed. Most of the time you do trust it. Occasionally you get burned.

data-goblin/claude-code-filetree is a TypeScript project that puts a live file tree next to your Claude Code session. According to the repository description, the pane shows which files Claude reads and edits, and it layers on git status, diffs, content search, file previews and guarded paths. It works in the terminal and in the Claude Desktop app. That is the whole pitch, and it is a good one: an agent without a visible file tree is a contractor working behind a closed door.

The one thing that makes it different from a generic file browser is that it is wired to the agent's activity, not just to the filesystem. You are not opening a tree and then hunting for what changed. The tree is the activity feed. If you have used Free Claude Code: Run It in Terminal, VSCode, or Discord, you know how much of the Claude Code experience is about watching the agent work. This repo gives that watching a spatial layout.

Claude Code Filetree: A Live IDE Pane for Agent Edits

Why do you need guarded paths and live diffs?

The honest answer is that Claude Code is good enough to be dangerous. It will happily edit a file you did not mean to touch, especially in a repo with generated code, vendored dependencies, or a dist/ folder that looks like source. Guarded paths are the repo's answer: you mark files or directories the agent should not reach, and the tree makes that boundary visible. This is not a sandbox. It is a guardrail, and the difference matters.

The live diff view is the feature I would actually use every day. Instead of reading the agent's summary of what it changed, you see the change. Git status tells you what is dirty; the diff tells you whether the dirty thing is what you asked for. Content search lets you jump to a symbol or filename without leaving the pane, and file previews mean you are not context-switching to another editor just to check one line.

If you already run multiple agents, you know this problem compounds. Cezar Runs Claude Code, Codex and More in Parallel is a good example of a tool that multiplies sessions — and every extra session makes a visible file tree more valuable, not less. Similarly, agentbox: Run Dozens of Claude Code Agents in Parallel makes the case that parallel agents need oversight surfaces. A file tree per agent is one of those surfaces.

How do you install and run it?

The repo is young, so treat the install as a build-from-source situation rather than a polished package. The general shape, based on the project's TypeScript codebase, is: clone it, install dependencies, build, and run it alongside Claude Code.

git clone https://github.com/data-goblin/claude-code-filetree.git
cd claude-code-filetree
npm install
npm run build

From there you launch the pane in your terminal from the root of the project you are working on. The exact command depends on how the repo wires its entry point, so check the README rather than guessing. For the Claude Desktop app, the project advertises support, which means the pane can run as a companion view rather than only in a shell.

A small example of the workflow: open the tree in a project, ask Claude Code to refactor a function, and watch the tree light up the files it reads. The diff view shows the edit. If the agent wanders toward a guarded path, you see it before the change lands. That is the loop the tool is built for.

If you want a broader map of the Claude Code tooling ecosystem, Runner Puts Claude Code, Codex and Copilot CLI on One Task shows how much of the value in this space comes from orchestration and visibility rather than raw model capability.

Where does it fall short?

This is a young repository. The star count is modest, the language is TypeScript, and the feature list is ambitious for a small project. That combination usually means the happy path works and the edges are rough. Expect the Desktop app integration to be less battle-tested than the terminal pane, and expect guarded paths to be a convention you enforce rather than a hard security boundary.

There is also a philosophical limitation. A file tree shows you files. It does not show you why the agent chose them, what it plans next, or whether its reasoning is sound. For that you need a different layer, closer to what Vestige: A Safety Kernel That Makes AI Agents Show Their Work is attempting. The file tree is observability at the filesystem level, which is useful and necessary, but it is not interpretability.

My advice: if you run Claude Code on real repositories and you have ever been surprised by a diff, try this. If you mostly work in tiny scripts, the overhead is not worth it yet. The repo is new enough that you should expect to read some source and file an issue or two — but the problem it solves is real, and the solution is the right shape.

Source and attribution

GitHub Trending
data-goblin/claude-code-filetree: IDE-style file tree for Claude Code: a live pane that shows which files Claude reads and edits, with git status, diffs, content search, file previews and guarded paths, in the terminal and the Claude Desktop app.

Discussion

Add a comment

0/5000
Loading comments...