What is file-tree?
file-tree is a Claude Code mod by Spendry that a file tree of the working directory in a pane beside the transcript, with folders you open and close and the files Claude just changed marked. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | Spendry |
| Repository | Spendry/claude-code-mods |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Low risk (96/100) |
| Rank | #8,514 of 9,397 Claude Code mods; #3,551 in Interface |
| License | MIT |
| Last commit | 2026-10-26 |
| Hooks | 7 events |
| Sees | every tool call |
| Draws on | Pane |
Is file-tree safe to install?
file-tree scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.command.register | |
$.fs.list | reads files |
$.session.cwd | |
$.state.get | |
$.state.set | |
$.ui.blit | draws interface |
$.ui.close | draws interface |
$.ui.open | draws interface |
$.ui.panes | draws interface |
$.ui.resolve | draws interface |
How do I install file-tree?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/Spendry/claude-code-mods claude plugin validate ./claude-code-mods/file-tree
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Spendry/claude-code-mods && claude plugin install file-tree@claude-code-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs file-tree for you:
Install the "file-tree" Claude Code mod from https://github.com/Spendry/claude-code-mods/tree/main/file-tree. Run claude plugin validate on it first and show me what it can access before you enable it.
More from Spendry/claude-code-mods
This repository has 5 Claude Code mods on MCPMods.
- cache-meter: Shows above the prompt how warm the prompt cache is, what a cache miss would cost to rewrite, context fill, and the sess (Low risk)
- deviation-kernel: Holds a project's refused assumptions in Claude's system prompt, flags edits and answers that re-impose them, and pauses (High risk)
- goal-board: Each session's goal, task progress and ETA above the prompt, and a /goals board of every running session on this machine (Low risk)
- idea-agents: Six exploration agents per project (premise-breaker, field-crosser, idea-sizer, and a lazy trogg for each), one ideas/ f (High risk)