cli-creator

Create a composable CLI from API documentation and OpenAPI specifications.

Updated May 31, 2026
One-click install
npx skills add https://github.com/fanguyun/SkillManager --skill cli-creator-fanguyun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-creator
Source: https://github.com/fanguyun/SkillManager/tree/main/cli-creator
Command: npx skills add https://github.com/fanguyun/SkillManager --skill cli-creator-fanguyun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the problem of building a composable command-line interface (CLI) for Codex, which can be used to interact with various services and APIs, streamline workflows, and automate tasks.

Core Features & Use Cases

  • Composable CLI Creation: Build a CLI from API docs, OpenAPI specs, SDKs, curl examples, web apps, admin tools, or local scripts.
  • Authentication and Configuration: Handles auth and config setup for the CLI, including environment variables, user config files, and explicit API key flags.
  • Command Surface Design: Designs the command surface for the CLI, including help output, discovery commands, resolve commands, read commands, write commands, and raw escape hatches.
  • Build Workflow: Provides a structured build workflow that includes reading the source, sketching the command list, scaffolding the CLI, implementing core commands, testing, and creating a companion skill.

Quick Start

Use the cli-creator skill to generate a CLI tool from your API documentation located at 'path/to/api_docs'.

Frequently Asked Questions about cli-creator

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

FAQPage Schema
How do I build a CLI from OpenAPI specifications and curl examples?

To build a CLI from OpenAPI specifications and curl examples, provide the source material to the skill. It scaffolds the command list, implements core commands, and manages authentication to generate a composable CLI tool.

Can I generate a command-line interface from existing API documentation?

Yes, you can generate a command-line interface from existing API documentation, SDKs, web apps, or local scripts. The skill reads your provided source material and designs a structured command surface for the CLI.

What is the best way to handle authentication and configuration when creating a CLI tool?

Handling authentication and configuration when creating a CLI tool involves managing environment variables, user config files, and explicit API key flags. The skill automatically structures this setup during the CLI build workflow.

Does the CLI build workflow include testing and help output design?

Yes, the CLI build workflow includes testing and help output design. It scaffolds discovery commands, resolve commands, read commands, write commands, and raw escape hatches, concluding with a testing phase and companion skill creation.

Can I use local scripts and admin tools to create a composable CLI for Codex?

You can use local scripts and admin tools to create a composable CLI for Codex. The skill requires you to provide these source materials and specifications to sketch the command list and scaffold the implementation.