pedrowillen

Claude Agent Tree — AI skill for Claude Code

AI community

Claude Code mod that shows a live Agents pane with the orchestrator and subagent tree: model, effort, tokens, tools, duration and reply preview.

How to install Claude Agent Tree

This entry records only its repository, not the path inside it, so there is no exact command to give. Open pedrowillen/claude-agent-tree and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Agent Tree does

Claude Code mod that shows a live Agents pane with the orchestrator and subagent tree: model, effort, tokens, tools, duration and reply preview.

Alternatives in AI

  • Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
  • Kimi Cc — Use Kimi's latest model (kimi-k2-0711-preview) to drive Claude Code 1.7k ★
  • Codex Skill — by klaudworks - Enables users to prompt codex from claude code 914 ★

README

agent-tree

A Claude Code mod that opens an **Agents** pane beside the chat with a live tree of the main session (the orchestrator) and every subagent it spawns: model, effort, tokens (input, cache, output), tool calls, duration and the first line of each answer.

It costs no model tokens: the hooks run inside the app and the pane is drawn by the interface, so nothing is added to the prompt.

![The web page: the orchestrator on top, its subagents by level joined by wires, each card with its estimated cost, rating and context](docs/screenshot.png)

The same tree as a web page (sample data). Each card shows the agent's estimated cost, its rating once it ends and how full its context is; the dots on a wire run from parent to child while that agent is working.

Main session · opus-5-5 · high
  48.2k in (41.0k cache) / 1.3k out
├─ [ok] Explore · haiku-5-5 · low
│    Find the auth middleware · 12.4k in (9.8k cache) / 0.6k out · 7 tools · 14.2s
│    The middleware lives in app/middleware/auth.ts and ...
└─ [running] general-purpose · sonnet-5-5 · medium
     Review the migration · 3 tools
Subagents: 12.4k in / 0.6k out

Install and use in Claude Code Desktop

  1. Clone the repository:

    git clone https://github.com/pedrowillen/claude-agent-tree.git C:\projects\claude-agent-tree
  2. Point Claude Code at the folder with a **user** environment variable. On Windows (PowerShell):

    [Environment]::SetEnvironmentVariable('CLAUDE_CODE_PLUGIN_DIRS', 'C:\projects\claude-agent-tree', 'User')

    On macOS/Linux, export `CLAUDE_CODE_PLUGIN_DIRS=/path/to/claude-agent-tree` in your shell profile (and make sure the desktop app inherits it).

  3. Quit the Claude desktop app completely and open it again, so new sessions see the variable.

  4. Start a session in the **Code** tab. A question asks how you want to see the agents: the **Agents** pane, the **web page**, the **Edge window** (Windows only), or any mix. Run `/agent-tree` to cho