blavka

Agents Tree — Development skill for Claude Code

Development community

Live tree view of Claude Code, Codex and Grok Build subagents, with a Herdr plugin.

How to install Agents Tree

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

What Agents Tree does

Live tree view of Claude Code, Codex and Grok Build subagents, with a Herdr plugin.

Alternatives in Development

  • Godogen Source Repo — This repository contains two source trees for the same project: - claude/ — Claude Code source tree - codex/ 2.8k ★
  • AutoSwarm — AutoSwarm: All Your Agents, Working as One (Codex · Claude Code · DeepSeek Harness · Muse · Grok · WorkBuddy· 1.9k ★
  • Nexting — Remote control for Claude Code, Codex, Grok, and Cursor on Mac or PC 1.3k ★

README

agents-tree

See what your coding agents are doing. `agents-tree` shows every running Antigravity, Claude Code, Codex or Grok Build session and the subagents it spawned as a tree, with each agent's model and effort, how full its context window is, how long it has been running, and its status.

In a terminal, `agents-tree .`:

![agents-tree run in a demo project: a session and its five subagents, one nested](https://raw.githubusercontent.com/blavka/agents-tree/main/docs/cli.png)

As a live overlay in [herdr](https://herdr.dev), one key away (`prefix+a`):

![The same tree as a live overlay in herdr](https://raw.githubusercontent.com/blavka/agents-tree/main/docs/tree.png)

It reads the transcripts Antigravity, Claude Code, Codex and Grok Build keep on disk and never talks to a session, so nothing it prints ends up in an agent's context. It has no dependencies beyond Python 3.10.

Antigravity, Claude Code, Codex and Grok Build are supported.

Install

uv tool install agents-tree      # or: pipx install agents-tree

From a checkout: `uv tool install .`, or run it in place with `PYTHONPATH=src python3 -m agents_tree`.

Use

agents-tree                 # every running session on this machine
agents-tree .               # sessions running in this directory (or its newest session)
agents-tree ~/src/api       # same, for another directory
agents-tree 1a2b3c4d        # one session, by id or a unique prefix (an ambiguous one lists the matches)
agents-tree -r              # only running subagents and their parents
agents-tree -w              # live view like top, refreshed every 2 s (-n 5 for 5 s)
agents-tree --provider antigravity # Antigravity sessions under ~/.gemini/antigravity (or $ANTIGRAVITY_HOME)
agents-tree --provider codex # Codex sessions under ~/.codex (or $CODEX_HOME)
agents-tree --provider grok # Grok Build sessions under ~/.grok (or $GROK_HOME)

In the live view:

Key Does
↑ ↓ / j k / wheel select an