cli-creator

Scaffold composable CLIs for Codex from API docs or specs.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/Canepro/codex-skills --skill cli-creator-canepro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-creator
Source: https://github.com/Canepro/codex-skills/tree/main/skills/cli-creator
Command: npx skills add https://github.com/Canepro/codex-skills --skill cli-creator-canepro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Build durable, reusable CLIs that Codex threads can invoke by name from any working directory, replacing scattered one-off scripts with a standard, testable toolset.

Core Features & Use Cases

  • Runtime-agnostic scaffolding: choose Rust, TypeScript/Node, or Python to produce a durable CLI that can be installed on PATH.
  • Composable command surface: supports discovery, resolve, read, and write commands with stable JSON outputs and a raw escape hatch.
  • Companion skill scaffold: generates a small companion skill to guide Codex in when/how to use the CLI and how to handle auth safely.
  • Example use case: build a 'ci-logs' CLI to fetch and summarize CI logs across multiple pipelines.

Quick Start

Define the target tool, its source, and initial jobs, then scaffold a durable CLI in Rust, TS/Node, or Python and run a basic doctor check.

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 composable CLI for Codex from existing API documentation?

You can build a composable CLI from API docs, OpenAPI specs, curl examples, or SDKs by scaffolding it in Rust, TypeScript/Node, or Python to expose durable read and write commands that return stable JSON.

What is the best way to replace scattered one-off scripts with a standard toolset for command-line automation?

Scaffolding a durable, composable CLI replaces scattered scripts with a standard, testable toolset that Codex threads can invoke by name from any working directory, ensuring deterministic workflows and stable JSON outputs.

Can I use a CLI scaffolded for Codex from any repository working directory?

Yes, the scaffolded CLI is designed to run from any repository working directory and can be installed on your PATH, allowing Codex to invoke its composable commands globally across different projects.

Does the generated CLI include authentication management for secure API access?

The CLI includes authentication management by generating a small companion skill that guides Codex on when and how to safely use the CLI and handle auth during read and write command execution.

What programming languages can I choose from when creating a command-line tool for Codex?

The runtime-agnostic scaffolding supports Rust, TypeScript/Node, and Python to produce a durable CLI that can be installed on PATH and supports a raw escape hatch for deterministic workflows.

When should I not use a composable CLI approach for my local scripts?

You should avoid this approach if your task does not require durable, reusable command-line automation or stable JSON outputs, as the scaffolding is designed for testable workflows rather than ephemeral, one-off execution.