AGENT SKILL

otree

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.

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

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.

03 SKILL.md 正文

otree Plugin

Interactive TUI to view JSON, YAML, and TOML as a navigable tree. Faster than scrolling raw text for deeply nested documents.

Commands

  • otree <resource> <action> — Execute otree commands
  • otree _ _ — Passthrough to otree CLI

Installation

cargo install otree
# or
brew install otree

Download binaries from GitHub Releases.

Basic Usage

# Open a file
otree config.json

# Pipe structured data
curl -s https://api.example.com/data | otree

# YAML or TOML
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

04 同仓库更多 Skills