filetree

filetree is a Claude Code mod by ZH-L1N that a small tree of the working folder in a Files pane: folders open and close, git marks changed files, and the files read or written this turn are listed on top. /tree opens it.

Updated 2026-11-17

What is filetree?

filetree is a Claude Code mod by ZH-L1N that a small tree of the working folder in a Files pane: folders open and close, git marks changed files, and the files read or written this turn are listed on top. /tree opens it. It is listed under Git & CI and has no public popularity data yet.

TypeClaude code mod
AuthorZH-L1N
RepositoryZH-L1N/agent-window-mods
Popularityno public popularity data yet
CategoryGit & CI
SecurityLow risk (84/100)
Rank#9,341 of 9,397 Claude Code mods; #660 in Git & CI
Last commit2026-11-17
Hooks6 events
SeesRead|Edit|Write|NotebookEdit calls
Draws onPane

Is filetree safe to install?

filetree scores 84/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 6 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.command.register
$.fs.existsreads files
$.fs.listreads files
$.process.runruns processes
$.session.cwd
$.state.get
$.state.set
$.ui.closedraws interface
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface

How do I install filetree?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/ZH-L1N/agent-window-mods
    claude plugin validate ./agent-window-mods/filetree
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add ZH-L1N/agent-window-mods && claude plugin install filetree@zehui-mods

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/ZH-L1N/agent-window-mods/tree/main/filetree. Run claude plugin validate on it first and show me what it can access before you enable it.

More from ZH-L1N/agent-window-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • agents: Live subagents, background shells, Monitor watches and cron timers: an AGENTS band above the prompt (main model, each ru (Review before installing)
  • blast-radius: Holds risky shell commands (rm -rf, git reset --hard, git clean, force push, migrations) and shows what they would chang (Review before installing)
  • breathe: Guided breathing exercises above the prompt while Claude works: coherent, box, 4-7-8 and the physiological sigh, sevente (Low risk)
  • cache-clock: A CACHE band above the prompt: how long the prompt cache stays warm, how much of the last request it served, and what re (Low risk)
  • goal-meter: A GOAL band above the prompt that reads Claude's own task list: the goal's name, a 6-cell bar of tasks done, percent, ti (Low risk)
  • handoff: A HANDOFF band above the prompt: the context bar stacked by /context category, fill against the compaction point, and at (Low risk)
  • here: A HERE band above the prompt that says where the session is, with no model call by default (option rewrite=haiku makes o (Low risk)
  • images: Each pasted [Image #n] shown as a thumbnail in an IMAGES band above the prompt: before you send, as soon as the tag appe (High risk)