Documentation
Install the skill in your AI agent. Ask it to wrap any API. Your agent handles everything: discovery, code generation, building, and linking. Every CLI follows the same pattern, so agents learn once and scale to every API.
Getting Started
Install the api2cli skill in your AI agent and create CLI wrappers for any REST API. Works with Claude Code, Cursor, Codex, Gemini CLI, and 40+ coding agents.
Create a CLI
Step-by-step guide to wrapping any REST API into a standardized CLI with api2cli.
Add Resources
Learn the resource pattern for mapping REST API endpoints to standardized CLI commands.
Commands Reference
Complete reference for api2cli commands: create, bundle, link, install, publish, and all generated CLI conventions.
Agent Integration
api2cli works with Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot, Windsurf, Cline, and 30+ more agents via the AgentSkills standard.
OpenClaw Setup
Install the api2cli skill in OpenClaw via ClawHub. One prompt to set up everything.
Registry
Browse and install community-built CLI wrappers from the api2cli registry. Publish your own CLI via Sundial Hub, the website, or the API.