cli-creator
Build a composable command-line tool from API docs, an OpenAPI spec, curl examples, an SDK or a script, with stable JSON output and auth handling.
- Kind
- Skill
- Works with
- Codex, Claude Code
- Source
- openai/skills @ 49f948faa925
- Path
- skills/.curated/cli-creator/SKILL.md
- License
- Apache-2.0
- Jobs
- Implementation
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# CLI Creator Create a real CLI that future Codex threads can run by command name from any working directory. This skill is for durable tools, not one-off scripts. If a short script in the current repo solves the task, write the script there instead. ## Start Name the target tool, its source, and the first real jobs it should do: - Source: API docs, OpenAPI JSON, SDK docs, curl examples, browser app, existing internal script, article, or working shell history. - Jobs: literal reads/writes such as `list drafts`, `download failed job logs`, `search messages`, `upload media`, `read queue schedule`. - Install name: a short binary name such as `ci-logs`, `slack-cli`, `sentry-cli`, or `buildkite-logs`. Prefer a new folder under `~/code/clis/<tool-name>` when the user wants a personal tool and has not named a repo. Before scaffolding, check whether the proposed command already exists: ```bash command -v <tool-name> || true ``` If it exists, choose a clearer install name or ask the user. ## Choose the Runtime Before choosing, inspect the user's machine and source material: ```bash command -v cargo rustc node pnpm npm python3 uv || true ``` …