{"repo":"alexknowshtml/api2cli","free":true,"listed":false,"github":"https://github.com/alexknowshtml/api2cli","clone":"git clone https://github.com/alexknowshtml/api2cli.git","description":"Audience-aware CLI patterns for Node.js + Commander.js. Build CLIs for humans, AI agents, or both.","language":null,"stars":452,"topics":["ai-agent","api","claude-code","cli-generator","commander-js","nodejs","skill","typescript"],"license":"MIT","category":"ai-agents","readme_excerpt":"api2cli A Claude Code skill that turns any API into a working CLI, then wraps that CLI in a skill. Point it at API docs, a live URL, or a peek-api capture and get a dual-mode Commander.js CLI plus a ready-to-use Claude Code skill -- so any future Claude session can pick it up and use it without reading the code. Requires Claude Code -- this is a skill, not a standalone tool. Claude handles the discovery, generation, and wiring. What It Does 1. Discovers endpoints from API docs pages, live probing, or peek-api network captures 2. Builds an endpoint catalog with auth, pagination, and rate limit info 3. Generates a CLI with one subcommand per endpoint, a full-featured API client, and dual-mode output (human-readable in terminal, JSON envelope when piped) 4. Generates a skill -- a SKILL.md that teaches Claude how to use the CLI, with commands, examples, and common workflows Example: Resend API Here's what it looks like when you point api2cli at the Resend email API. You say: Claude discovers 15 endpoints across 5 resources: Claude generates a CLI at scripts/resend.ts : Claude also generates a skill at .claude/skills/resend/SKILL.md : From here, any Claude session in your project can send emails, manage domains, and work with contacts -- without knowing anything about the Resend API. Install Copy the skill/ folder into your Claude Code project: Usage In Claude Code, tell Claude what API you want to wrap: Claude will: 1. Ask what API and how to access it 2. Discover endpoints (pars","default_branch":null,"files":null,"tree":[],"storefront":"/r/alexknowshtml","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alexknowshtml/api2cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}