All shelves / Mods / Review
file-tree
By ha-ptt0601
file-tree is a Claude Code review mod by ha-ptt0601.
Draws an IDE-style file tree beside the conversation that lights up what Claude reads, edits, and commits, with git status, search, and a file preview.
Draws
Install
The marketplace name is cc-mods.
/plugin install file-tree --marketplace ha-ptt0601/cc-modsIt runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.0
- Repo stars
- 4
- Last change
- 2026-10-11
What it can reach
- Draws in the session
- Sees tool calls
- Runs a command when you press
Answer y to add the marketplace, then pick the user scope. It docks beside the transcript in the fullscreen layout, in a terminal 110 or more columns wide; otherwise it shows above the prompt. /tree opens it and /tree close hides it. Settings in /config: style, preview layout, Open with, Follow Claude, icons, and ignored files. To run it from a clone: claude --plugin-dir ./file-tree.
The marketplace, cc-mods, holds ha-ptt0601's two mods, file-tree and session-switcher; each installs on its own. Showing what Claude reads, edits, and commits, file by file, is why this page files it under review. filetree, by data-goblin, also draws an IDE-style file tree beside the transcript that lights up what Claude reads, writes, and commits. files-touched, by Singh-AP, draws one line above the prompt for the files Claude changed this session. The names are close. This one adds git status and line counts per file and folder, a search across every file, three styles, and a preview of Markdown or highlighted code, and its open button hands a file to your Open with command or the default app. In the source, the git status, line counts, and file list come from git, or from find outside a repository, run on this machine.
Demo
What it hooks into
session.startWhen a session startscommand.runWhen you run its slash command/treeclassic.SessionStartA Claude Code eventclassic.FileChangedA Claude Code eventtool.callAround a tool call, where it can hold oneui.messageAdds a message to the sessionui.scrollA Claude Code eventPaneui.renderDraws into the sessionAbovePromptPane
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/treeOpen the file tree (close: hide it)
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- ha-ptt0601
- Category
- Review
- Marketplace
- cc-mods
- Folder
- file-tree
- Version
- 0.1.0
- Repo stars
- 4
- Last change
- 2026-10-11
- Language
- TypeScript
- Files
- 24