filetree

by Zehui Lin · ★ 0 · updated 16 days ago

PanesGuardsCommandsvalidates

0

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.

install filetree

Install

/plugin marketplace add ZH-L1N/agent-window-mods
/plugin install filetree@zehui-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startturn.starttool.callturn.completecommand.runui.render
API calls
$.command.register$.fs.exists$.fs.list$.process.run$.session.cwd$.state.get$.state.set$.ui.close$.ui.open$.ui.panes$.ui.resolve
Draws
Pane
Can see
Read|Edit|Write|NotebookEdit calls
Reach
level 2 of 3 runs processesreads filesreads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/ZH-L1N/agent-window-mods
Path in repo
filetree
Source commit
5122d45 the exact code the scan read
Author
Zehui Lin @ZH-L1N
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from ZH-L1N/agent-window-mods

goal-meter

ZH-L1N/agent-window-mods

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, time, ETA and the task running now; a /goals pane with every task and the last five goals.

★ 0PanesBandsGuards

handoff

ZH-L1N/agent-window-mods

A HANDOFF band above the prompt: the context bar stacked by /context category, fill against the compaction point, and at the threshold a save-now button that writes HANDOFF.md, then clear & continue and a resume offer in the next session.

★ 0BandsCommands

here

ZH-L1N/agent-window-mods

A HERE band above the prompt that says where the session is, with no model call by default (option rewrite=haiku makes one per answer): the goal (goal-meter's goal name, else the first line of the prompt that started the open task list), what Claude is doing now (the last tool call's verb and path, or the spinner word while it thinks) and the questions the last reply asked you; /here prints...

★ 0BandsReskinsGuards

images

ZH-L1N/agent-window-mods

Each pasted [Image #n] shown as a thumbnail in an IMAGES band above the prompt: before you send, as soon as the tag appears in the prompt box (macOS osascript writes the clipboard's picture to a PNG; caption 'not sent yet'), and after you send, from the engine's own PNG; also in a small labelled row placed in the transcript under the sent prompt. Drawn as true pictures (the terminal reads a...

★ 0BandsCommandsPrompt

motion-hold

ZH-L1N/agent-window-mods

Holds any Bash call, and any Monitor watch that runs a command, that would move, energise or restart lab hardware until you approve that one call (a card in a pane, or the question dialog on a narrow terminal; refused when nobody answers), and shows a STOP row while an approved call runs. Reads, logs and status pass; a stop command always passes. Generic rules are built in; the site's hosts...

★ 0PanesBandsGuards

next

ZH-L1N/agent-window-mods

A NEXT band above the prompt with 2 or 3 short prompts you would likely send next, from one Haiku (or Sonnet) call over the last reply and the task list: after each long answer, or on /next; 1 to 3 put one in the prompt box (nothing is sent), 0 dismisses; hidden while a turn runs, cleared when you send a prompt.

★ 0BandsCommandsPrompt

peers

ZH-L1N/agent-window-mods

A herdr peer alarm and board: every 30 seconds it reads the agents of this herdr workspace and toasts when one is blocked, when one finishes, and ALL DONE once every peer is idle after work (silent unless sound is on); a peers board pane lists every peer, blocked first in amber, with its HERDR-ORCH request, round, deadline countdown and result file for the spokes this session briefed...

★ 0PanesCommandsPrompt

queue

ZH-L1N/agent-window-mods

A prompt queue with no model call: /q queues a prompt, and each time a main-loop turn ends normally the first item is submitted as the next prompt, never while a subagent runs. A QUEUE row above the prompt and a pane (/q pane) manage it; an interrupted or failed turn pauses the queue.

★ 0PanesBandsCommands

redgreen

ZH-L1N/agent-window-mods

Test results pane for Claude Code: every test run Claude makes becomes a pass/fail list with the failure detail and run history. vitest, jest, pytest, cargo, go, bun, deno

★ 0PanesStatus lineGuards

send-gate

ZH-L1N/agent-window-mods

In a session that runs without permission prompts, holds an MCP tool call that would send a message or an email, notify people (an invitation, a share, a comment) or that a local config names (an app environment change, for example), and shows the target, the mentions and the dates until you let that one call through (a card in a pane, or the question dialog on a narrow terminal; refused when...

★ 0PanesGuardsCommands

skins

ZH-L1N/agent-window-mods

Skins for Claude Code: tool rows that open onto their input and answer, highlighted code, diff, table, math, Mermaid and shell cards, links, folding, a usage band, a calm mode and sixteen themes. /skin swaps them live.

★ 0PanesBandsReskins

smart-compact

ZH-L1N/agent-window-mods

Compacts at the right moment: after a commit or green tests, a minute before the prompt cache expires, or when Claude asks for it with its own request_compact tool.

★ 0PanesBandsGuards

Other mods in Panes, close to this one by stars.