api2clialexknowshtml/api2cli
Turns an API into a usable command-line tool and an AI agent skill automatically, removing manual endpoint wrapping and …
No ratings yet
Rate this skill
Stars454
Forks19
Watchers454
Open Issues0
InstallOne-line install
UnconfirmedWhether this repository follows the Agent Skills spec (that is, whether it contains a SKILL.md) has not been verified yet. Until that is settled, clone it and use what you need:
git clone https://github.com/alexknowshtml/api2cli.git
OverviewOverview
Key Features
Turns an API into a usable command-line tool and an AI agent skill automatically, removing manual endpoint wrapping and doc collation. Key capabilities include: 1. Endpoint discovery: identifies available endpoints from API doc pages, live probing, or existing code, so you don't have to enumerate interfaces by hand; 2. Endpoint catalog: organizes discovered endpoints into a catalog with metadata such as auth and pagination rules, serving as the single source for generation; 3. CLI generation: builds a full API client from the catalog with one subcommand per endpoint and built-in error handling, so callers can hit the API directly from the shell; 4. Skill generation: emits the same catalog as an AI-agent-loadable skill so the agent can call the corresponding APIs per the skill instructions; 5. Dual-mode output: produces both CLI and skill in one pass, with a self-documenting root command that lowers the onboarding cost.
Use Cases
Quickly wrapping third-party or internal REST APIs into CLI tools, adding callable API capabilities to AI agents, and batch-integrating multiple endpoints with unified auth and pagination handling.
Target Roles
AI / Algorithm Engineer, Backend Developer, Full-stack / Indie Developer, DevOps / Operations Engineer.
TopicsTopics
RatingUser ratings
Nobody has rated this skill yet. Yours would be the first on the site — your vote becomes the initial average.
RepositoryRepository
| Skill ID | 1890 |
|---|---|
| Data source | GitHub |
| Repository | alexknowshtml/api2cli |
| Category | AI & Agent Skills / Skill Collections & Curated Directories |
| Primary language | Other |
| License | MIT License |
| Default branch | main |
| GitHub repository ID | 1162165194 |
| Node ID | R_kgDORUU7yg |
| Rank | #1385 (position within the source ranking) |
| Site-wide popularity rank | #1568 (computed live from Stars, across all 5833 entries) |
GrowthStar / Fork growth
One snapshot per day, tracking how Stars and Forks changed
- Now454
- Previous point · 09-28 455
- vs previous point -1
- 2 data points 13 days
- Now19
- Previous point · 09-28 20
- vs previous point -1
- 2 data points 13 days
TimelineTimeline
Repository created2026-02-19 23:58:569 months ago
Data last updated2026-10-26 12:13:2721 days ago
Last commit2026-02-20 00:59:159 months ago
CommitLatest commit
Version [4.6] committed by alexknowshtml. Update Category: Feature Addition & Enhancement. Commit details: Add Resend example, requires Claude Code callout, .gitignore, repo topics. This update introduces new capabilities and module extensions.