cli-creator

Generate composable CLIs from API docs, OpenAPI specs, SDKs, curl examples, or local scripts.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing reliable command-line interfaces that can be mounted into any repository is hard, error-prone, and time-consuming; this skill provides a structured blueprint to generate durable CLIs from API docs, OpenAPI specs, SDKs, curl examples, or local scripts.

Core Features & Use Cases

  • Scaffolds a cross-runtime CLI (Rust, TypeScript/Node, or Python) that exposes a clear command surface with --help, --json doctor, and discovery/read/write patterns.
  • Enables Codex to compose commands for discovery, resolve, read, and raw escape hatch, enabling repeatable automation across projects.
  • Use cases include building toolchains that convert API definitions into usable CLIs for internal tooling, open-source projects, or research workflows.

Quick Start

Install the CLI on PATH and run the starter commands to validate the surface and generate the companion skill.

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?

Building a CLI from curl examples or SDKs is possible by applying this skill's structured blueprint. It transforms local scripts and curl examples into a cross-runtime CLI featuring a compact command contract, --help documentation, and a stable JSON interface for reliable automation.

What is the best way to build durable command-line tooling from API docs?

The best way to build durable command-line tooling from API docs is using a structured blueprint that ensures a stable JSON interface and a compact command contract. This approach scaffolds cross-runtime CLIs with discovery, read, and write patterns for repeatable automation across projects.

Can I build a cross-runtime CLI using Rust, TypeScript, or Python from local scripts?

Yes, you can build a cross-runtime CLI using Rust, TypeScript/Node, or Python from local scripts. This skill provides language choice guidance and generates a clear command surface with a companion skill for onboarding future threads, ensuring your tooling is durable and composable.

Does the generated CLI support a discovery and resolve pattern for automation?

Yes, the generated CLI supports a discovery and resolve pattern for Codex-driven automation. It exposes a clear command surface that enables composing commands for discovery, resolving, reading, and raw escape hatches, ensuring repeatable automation workflows across your projects.

Why use a structured blueprint for scaffolding command-line interfaces?

You use a structured blueprint for scaffolding command-line interfaces because designing reliable CLIs is hard and error-prone. This approach ensures a stable JSON interface, applies language choice guidance, and generates a companion skill to onboard future threads for durable tooling projects.