rex-tree
A live file tree for Claude Code, in a Rex pane beside it.
See where Claude is working while it works. rex-tree opens beside Claude Code's pane and follows its session:
- Files Claude edits shimmer orange and files it reads shimmer purple, and folders open to show them. A dot stays on every file it touched in the last 15 minutes.
- Git status on every file and folder, with the branch and how far it's ahead or behind.
- Enter opens a file in a floating Rex window: Markdown in rdxt, everything else in your
$EDITOR. - @ puts a file in Claude's prompt as
@path. - It follows
/clearand/resume, and closes when Claude exits.
It reads Claude Code's own session files, so Claude needs no extra tools or prompts.
Install
Or with Homebrew:
Or from source: go install github.com/travelingflwr/rex-tree@latest. Update later with rextree update.
Use
From a Claude Code session in Rex:
The tree opens to the right of Claude's pane without taking the focus.
To open it with every session, add the Claude Code plugin, which runs rextree hook at session start:
From Rex's palette: run the install script with --palette, then pick Open File Tree while you're in a Claude Code pane.
Keys
| Key | Does |
|---|---|
↑ ↓ j k | move |
→ ← l h | open or close a folder |
| Enter | open the file |
@ | mention the file in Claude's prompt |
/ | find a file by name |
f | follow Claude into the folders it works in |
? | all the keys |
Full details: the README on GitHub.
