What is filetree?
filetree is a Claude Code mod by partalemre that a file tree of what Claude touches: what it is doing now, the files it touched this turn, and which changes are not saved yet (git status). It is listed under Git & CI and has 4 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | partalemre |
| Repository | partalemre/MODZ |
| Popularity | 4 GitHub stars |
| Category | Git & CI |
| Security | Review before installing (60/100) |
| Rank | #1,638 of 9,397 Claude Code mods; #101 in Git & CI |
| License | MIT |
| Last commit | 2026-11-29 |
| Hooks | 16 events |
| Sees | Read calls, classic hooks, every prompt, every tool call |
| Draws on | Pane |
Is filetree safe to install?
filetree scores 60/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables; watches every prompt or event. It passed 4 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 processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| 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.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.config.list | |
$.env.get | reads env vars |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.process.run | runs processes |
$.session.cwd | |
$.session.id | |
$.session.messages | reads the transcript |
$.session.surfaces | |
$.state.get | |
$.state.set | |
$.ui.close | draws interface |
$.ui.copy | draws interface |
$.ui.log | draws interface |
$.ui.open | draws interface |
$.ui.panes | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install filetree?
- 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/partalemre/MODZ claude plugin validate ./MODZ/mods/filetree
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add partalemre/MODZ && claude plugin install filetree@claude-code-filetree
Or ask Claude to set it up
Paste this into Claude Code and it installs filetree for you:
Install the "filetree" Claude Code mod from https://github.com/partalemre/MODZ/tree/main/mods/filetree. Run claude plugin validate on it first and show me what it can access before you enable it.
More from partalemre/MODZ
This repository has at least 9 Claude Code mods on MCPMods.
- blast-radius: Stops a command that could lose your work before it runs: deleting files (rm -rf), throwing away unsaved changes or save (Review before installing)
- cache-tax: Keeps the chat ready (the one-hour prompt cache) during breaks, so your next message does not make Claude read the whole (Review before installing)
- checkpoint: Quietly saves a restore point before each turn's first file change; /checkpoints lists the turns and undoes one after yo (Review before installing)
- done-ping: A notification when a long turn (your message and its answer) finishes or Claude waits on you (a permission or a questio (High risk)
- effort-router: Shows how hard Claude thought on each turn (effort) and which model answered; can send a simple message at a lower think (Review before installing)
- handoff: Saves working notes before the chat is summarized to free its memory (compact) and offers them back after; when the memo (High risk)
- hud-pro: One quiet line above your message box, in the terminal and the desktop app: how much of the 5-hour and weekly usage allo (Low risk)
- modz: The MODZ hub: one press on modz under the prompt opens it on the right; agents, files, plan, tests, checkpoints, replay, (High risk)