api-tree

Convert OpenAPI route data into a navigable terminal tree.

2|Updated May 29, 2026
One-click install
npx skills add https://github.com/Abyss-PlayerEG/api-tree --skill api-tree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-tree
Source: https://github.com/Abyss-PlayerEG/api-tree/tree/main
Command: npx skills add https://github.com/Abyss-PlayerEG/api-tree --skill api-tree

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

api-tree helps developers quickly explore and search OpenAPI specifications by rendering the API routes as a color-coded terminal tree, reducing the time spent reading large specifications.

Core Features & Use Cases

  • Visualizes API routes as a structured terminal tree for fast comprehension.
  • Supports local OpenAPI JSON files or remote servers, with keyword search across paths, methods, and summaries.
  • Exports HTML representations, and generates agent-friendly outputs (markdown/json/curl) as well as RAG-ready chunks for knowledge bases.

Quick Start

Run api-tree http://localhost:8080 to see the colored API route tree in your terminal.

Frequently Asked Questions about api-tree

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I visualize OpenAPI endpoints as a terminal tree?

To visualize OpenAPI endpoints as a terminal tree, you can load a local OpenAPI JSON file or fetch a remote specification to render its routes as a color-coded, navigable hierarchical tree directly in your terminal.

Can I search through OpenAPI route paths and methods without reading the whole spec?

Yes, you can search OpenAPI specifications by keywords across paths, methods, and summaries. This filters the API route tree, reducing the time spent reading large specification files to find specific endpoints.

What is the best way to generate RAG-ready chunks from an OpenAPI specification?

The best way to generate RAG-ready chunks from an OpenAPI specification is to load the route data and switch to RAG formatting mode, which outputs structured chunks optimized for ingestion into knowledge bases.

Does this tool support exporting OpenAPI route trees to formats for AI agents?

Yes, it supports exporting OpenAPI route trees to agent-friendly outputs. It can generate markdown, JSON, and curl representations, as well as HTML exports, making API structures accessible for downstream AI workflows.

How do I render remote OpenAPI server specifications locally for quick exploration?

You can render remote OpenAPI server specifications locally by fetching the source URL directly. The tool loads the remote specification and builds a hierarchical terminal tree for fast, visual comprehension of the API routes.