file-tree

Reviewed at commit 39335b2

Browse one directory at a time with clickable folders.

Made by
Yash Thakker
What we checked

Adds a /file-tree command that opens a pane listing one directory at a time, up to 100 entries, with clickable folders. It shows names, types and file sizes only, can browse any folder you type, and does not read file contents. It makes no network calls, runs no programs and stores nothing.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (registers the /file-tree command), command.run for file-tree (optional path argument, loads the listing, opens a pane) and ui.render for the Pane component. Runtime calls: $.fs.list on the typed path (rejects empty paths, control characters and a leading dash), $.command.register, $.ui.open, $.ui.invalidate, $.ui.resolve. The path is not restricted to the project, so any directory the user types can be listed, but only name, kind, link flag and size are displayed. Symlinks are shown but have no navigation button. State is kept in memory only. Errors are shown in the pane. ui.js is a pure helper file with no engine access. No npm dependencies.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: no
  • Shows something on screen: yes
Hooked events
Screenshot of file-tree
Made this mod? Add a badge to your README

modsforClaude badge for file-tree

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/file-tree.svg)](https://modsforclaude.com/mods/file-tree/)

← All mods