Tree
Directory tree inspection tool.
1 skill · 1 tool
Displays directory structure as a tree — shows all subfolders and files in one or more paths.
Output formats
- Markdown (default):
tree --markdown src/ - Plain text:
tree src/ - JSON:
tree --json src/
How agents use it
Used by the explore module’s gather-context skill to understand project structure at session start. Also available as a standalone tool for agents to navigate the codebase.
Contents
| Type | Name | Purpose |
|---|---|---|
| Skill | tree |
Use when you need to see a directory’s structure. |
| Tool | tree |
Display directory structure as a tree. Accepts one or more paths. Returns output in markdown or plain text. |
Configuration
No project configuration is required.
See also
- Polyrepo sessions — how this module scopes itself to the owning project
- Git Report — git state snapshot
- Explore — gather-context skill