cli-creator

Scaffold a composable CLI from API docs or OpenAPI specs.

3|Updated Jan 14, 2014
One-click install
npx skills add https://github.com/prateek/dotfiles --skill cli-creator-prateek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-creator
Source: https://github.com/prateek/dotfiles/tree/main/.agents/skills/cli-creator
Command: npx skills add https://github.com/prateek/dotfiles --skill cli-creator-prateek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building robust, reusable CLIs from API docs, OpenAPI specs, SDKs, curl examples, or local scripts is time-consuming and error-prone; this skill provides a structured scaffolding approach to automate that workflow and yield operable command-line tools.

Core Features & Use Cases

  • Scaffold a composable CLI from documentation, APIs, or existing codebases.
  • Enforce a clear command surface with discovery, resolve, read, and a raw escape hatch pattern.
  • Provide templates and companion-skill guidance to enable rapid, safe tool creation.

Quick Start

Provide the tool name and source, then scaffold the CLI and install it on PATH.

Frequently Asked Questions about cli-creator

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

FAQPage Schema
How do I generate a CLI from an OpenAPI spec automatically?

Yes, you can build a reusable command-line tool from existing curl examples. The scaffolding process converts those curl commands into a structured CLI with a clear command surface and a raw escape hatch, installing it on PATH for repeatable use across repositories.

What is the best way to automate building a CLI from API documentation?

Scaffolding a CLI from an SDK or web app automates the creation of a structured command-line tool. It defines a clear command surface with discovery and read operations, resolving explicit authentication and configuration handling for safe, repeatable use.

Does the generated CLI support a raw escape hatch for unhandled API operations?

Yes, the generated CLI supports a raw escape hatch pattern alongside discovery, resolve, and read operations. This ensures you can execute unhandled or raw API calls directly while maintaining stable JSON output for routine command surface interactions.

Can I install the scaffolded CLI on PATH for repeatable use across multiple repositories?

Yes, the scaffolded CLI is installed on PATH to ensure repeatable use across multiple repositories. This delivers stable JSON on output and enforces a clear command surface, making the generated tool durable and operable across different environments.