---
name: session-tree
description: Visualize all Claude Code session fork/branch relationships as a tree, showing session names, IDs, dates, and parent-child hierarchy
allowed-tools: Bash(python3 *)
argument-hint: [--all | -p <project>]
---

# Session Tree

Run the following command and display the output directly to the user:

```bash
python3 ~/.claude/skills/session-tree/scripts/session_tree.py $ARGUMENTS
```

Options:
- By default, only sessions with fork relationships are shown
- `--all` / `-a`: show all sessions
- `--project <name>` / `-p <name>`: filter by project name (substring match)

Display the output as-is, no additional explanation needed.
