Discover and explore top open-source AI tools and projects—updated daily.
alexknowshtmlAPI to CLI and AI skill generator
New!
Top 76.2% on SourcePulse
A Claude Code skill that transforms any API into a functional Command Line Interface (CLI) and an AI-discoverable skill. It targets developers and AI engineers seeking to enable AI agents to interact with diverse APIs seamlessly, offering a dual-mode output for both human readability and machine processing, thereby simplifying API integration and automation.
How It Works
The project leverages Claude Code to ingest API definitions from documentation URLs, live API probing, or network traffic captures (peek-api). It automatically discovers endpoints, catalogs API details like authentication and pagination, and generates a Commander.js-based CLI. Concurrently, it produces a SKILL.md file, enabling Claude sessions to utilize the generated CLI without direct code inspection, featuring agent-first design patterns like JSON envelopes and HATEOAS-style next actions.
Quick Start & Requirements
git clone https://github.com/alexknowshtml/api2cli.git) and copy the skill/ directory into your Claude Code project's skills directory (e.g., cp -r api2cli/skill/ /path/to/your/project/.claude/skills/api2cli/).tsx) are implied for CLI generation and execution.Highlighted Details
Maintenance & Community
No specific details regarding maintainers, community channels (e.g., Discord, Slack), or roadmap were found in the provided README content.
Licensing & Compatibility
Limitations & Caveats
This tool is specifically a Claude Code skill and is not designed as a standalone application. Its functionality is entirely dependent on the Claude Code environment for discovery, generation, and execution. The effectiveness of API discovery relies on the quality and accessibility of the provided API documentation or network traffic.
2 weeks ago
Inactive
googleworkspace