What is agent-tree?
agent-tree is a Claude Code mod by MikeGT4 that terminal side pane that shows your agents as a live tree, across all open terminals: what each one does, how full its context is, what it costs, which file two of them change. Tabs open. It is listed under Cost & usage and has 26 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | MikeGT4 |
| Repository | MikeGT4/agent-tree |
| Popularity | 26 GitHub stars |
| Category | Cost & usage |
| Security | Review before installing (60/100) |
| Rank | #435 of 9,397 Claude Code mods; #69 in Cost & usage |
| License | MIT |
| Last commit | 2026-11-30 |
| Stars this week | +2 |
| Hooks | 14 events |
| Sees | every tool call, subagent spawns |
| Draws on | Pane |
Is agent-tree safe to install?
agent-tree scores 60/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; starts processes outside the sandbox; reads environment variables. It passed 4 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.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.clock.every | |
$.clock.now | |
$.clock.sleep | |
$.command.list | |
$.command.register | |
$.command.run | drives Claude |
$.config.list | |
$.env.get | reads env vars |
$.http.fetch | network requests |
$.process.run | runs processes |
$.prompt.fill | writes the prompt box |
$.prompt.read | |
$.session.append | |
$.session.cwd | |
$.session.id | |
$.session.messages | reads the transcript |
$.session.model | |
$.session.root | |
$.session.send | |
$.session.usage | |
$.settings.read | reads settings |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.keys | keeps its own state |
$.store.set | keeps its own state |
$.tool.list | |
$.tool.register | drives Claude |
$.ui.close | draws interface |
$.ui.copy | draws interface |
$.ui.invalidate | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install agent-tree?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/MikeGT4/agent-tree claude plugin validate ./agent-tree/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add MikeGT4/agent-tree && claude plugin install agent-tree@agent-tree
Or ask Claude to set it up
Paste this into Claude Code and it installs agent-tree for you:
Install the "agent-tree" Claude Code mod from https://github.com/MikeGT4/agent-tree. Run claude plugin validate on it first and show me what it can access before you enable it.