| name | otree |
| description | Use this skill when the user wants to explore or navigate structured data (JSON, YAML, TOML) interactively in the terminal — inspect large config files, API responses, or nested documents as a collapsible tree. |
otree Plugin
Interactive TUI to view JSON, YAML, and TOML as a navigable tree. Faster than scrolling raw text for deeply nested documents.
Installation
cargo install otree
brew install otree
Download binaries from GitHub Releases.
Basic Usage
otree config.json
curl -s https://api.example.com/data | otree
otree docker-compose.yml
otree Cargo.toml
Key Bindings
j/k or ↓/↑ — Move cursor
h/l or ←/→ — Collapse/expand node
Enter — Toggle expand/collapse
/ — Search
q — Quit
Usage Examples
- "Show me this JSON response as a tree"
- "Navigate the nested keys in package.json"
- "Inspect this YAML config interactively"
SuperCLI
sc otree _ _ config.json
sc plugins learn otree