ClaudeCodeMod

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.

In Claude Code
/plugin install file-tree --marketplace ha-ptt0601/cc-mods
Open the repo

It 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

The author's drawing of file-tree with example data: the same repo, demo-app on main, 2 ahead, in the ide and minimal styles side by side and the edge of the rich style, each with Refresh, Search, the style, Close, and a search field over the tree; LoginController.php and Kernel.php are modified, login.ts is untracked, and the file Claude is on is highlighted.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/tree
  • classic.SessionStartA Claude Code event
  • classic.FileChangedA Claude Code event
  • tool.callAround a tool call, where it can hold one
  • ui.messageAdds a message to the session
  • ui.scrollA Claude Code eventPane
  • ui.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
Repo
ha-ptt0601/cc-mods
Folder
file-tree
Version
0.1.0
Repo stars
4
Last change
2026-10-11
Language
TypeScript
Files
24

Other mods in Review

debuggerHula-Hoop-AIHolds a commandOpens a step debugger pane for the agent loop: pause at a prompt, model request, response, or tool call, edit it or skip the call, then step, play, or stop.frontend-skills-modsmalinskibeniaminOpens a Harness desk pane of check receipts, the last 24 Skill calls, and replayable edit patches, with a context and last-skill readout above the prompt.slop-filterNicoSKOOLHolds a commandScores each page of website copy Claude writes for AI tells and SEO cliches, in English and Spanish, refuses one that reads like AI, and shows the score.plain-englishnordscope-fiHolds a commandRefuses or asks before a Markdown write, commit message, or tracker issue that breaks its prose rules, quoting the passage, and holds a reply for a rewrite.cc-grammarrapitaShows the English of your draft in gray after a pause, translated or corrected, and one key takes it in. A message sent unseen gets a gray line of fixes.traceHula-Hoop-AIOpens a /trace pane of the skills that loaded this session and the web pages Claude fetched or saw in search results, ready to insert as citations.change-journaltheonly1meOpens a live page in your browser of every change Claude makes, each diff with its reason, plus a /changes pane and a count of files on the status line.decision-lenstheonly1meLists the decisions Claude made in each turn in a /why pane, with why and what it chose not to do, and keys to keep or stop a behavior in later turns.lookstheonly1meRedraws the transcript in one of four themes, Retro CRT, Punk, Synthwave, or Zen paper, with tidier tool rows, and optional one-line rows or centered replies.unsloptheonly1meFinds AI slop in each edit Claude makes, such as dashes, comment blocks, and tests that assert nothing, has Claude remove it, and counts it on the status line.quick-lookAndrewDongminYooLists the nine files the agent last read, wrote, or edited in a /ql pane with hotkeys 1 to 9, and opens the one you pick in macOS Quick Look.ravenarunkumar9t2Opens a live diff pane beside the session where you leave a note on a file, hunk, or line, sends the notes to Claude, and marks the ones it addressed.
All 145 in Review