cli-creator

Create a CLI for Codex from API docs, OpenAPI specs, and examples.

24.7k|1.7k|Updated Nov 25, 2025
One-click install
npx skills add https://github.com/openai/skills --skill cli-creator-openai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-creator
Source: https://github.com/openai/skills/tree/main/skills/.curated/cli-creator
Command: npx skills add https://github.com/openai/skills --skill cli-creator-openai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the creation of a command-line interface (CLI) for Codex, enabling users to build CLIs from a variety of sources like API docs, OpenAPI specs, SDKs, curl examples, web apps, admin tools, or local scripts.

Core Features & Use Cases

  • Composable CLI Creation: Build CLIs from various source materials, including API docs, OpenAPI specs, curl examples, and more.
  • Customization: Users can define the binary name, source, and initial jobs for the CLI.
  • Use Case: If you need a CLI to interact with a specific API or service, this Skill can help you create one from scratch.

Quick Start

Run the following command to initiate the CLI creation process:

$skill-creator start --name <tool-name> --source <source-material> --jobs <jobs-to-do>

Frequently Asked Questions about cli-creator

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

FAQPage Schema
How do I create a CLI from API documentation and curl examples?

You can create a CLI from API documentation and curl examples by synthesizing these source materials into a composable, executable command-line tool. This approach encapsulates repetitive API interaction tasks into a single scriptable interface for Codex integration.

What sources can I use to generate a command-line tool for Codex integration?

Valid sources for generating a command-line tool include API docs, OpenAPI specs, SDKs, curl examples, web apps, admin tools, and local scripts. These materials are synthesized into a composable CLI for Codex integration.

Can I build a composable CLI from an OpenAPI spec without writing code manually?

Yes, you can build a composable CLI from an OpenAPI spec automatically. By providing the binary name, source material, and initial jobs, the CLI creation process synthesizes the spec into an executable tool without manual coding.

How do I start generating a CLI from local scripts and SDKs?

To start generating a CLI from local scripts and SDKs, run a start command specifying your desired tool name, source material, and initial jobs. This initiates the synthesis of your provided sources into a composable CLI.

Does this CLI creation approach work for encapsulating repetitive API tasks?

Yes, this CLI creation approach is designed for encapsulating repetitive tasks into a single, scriptable command-line tool. It is suitable for environments where Codex is integrated with various command-line tools and services.