Skip to main content

cli-creator

cli-creator is a reusable agent skill for designing, building, and auditing Python CLI tools.

skills/cli-creator/SKILL.md is intentionally a router. The detailed guidance lives in the four reference docs, while maintainer-side governance can live in lightweight workspace-root folders when you need them.

Install As A Codex Skill

Copy the skill directory into your Codex skills folder:

git clone https://github.com/AdvancingTitans/cli-creator-skill.git
mkdir -p ~/.codex/skills
cp -R cli-creator-skill/skills/cli-creator ~/.codex/skills/cli-creator

Then ask your agent to use cli-creator when creating or reviewing CLI tools.

Install From PyPI

The console script is cli-creator-skill.

pip install cli-creator-skill
cli-creator-skill install

Install to a custom directory:

cli-creator-skill install --target ~/.agents/skills

Source install is the same console script after editable install:

uv pip install -e .
cli-creator-skill install

Lightweight Skill OS Governance

When you maintain this package, keep the governance artifacts small and local to the workspace root. Use them as routing aids, not as shipped skill content:

  • skill-ir/ — skill intent, review notes, and IR snapshots.
  • evals/ — evaluation cases and result checks.
  • scripts/ — one-off gates and helper commands, including scripts/cli_creator_review_gate.py.
  • reports/ — the four Markdown audit reports emitted by the review gate.
  • registry/ — skill/package registry notes.

One-Command Review Gate

For a quick package check, run the review gate directly:

python3 scripts/cli_creator_review_gate.py

For release verification, build the wheel first and then run the gate against the built wheel:

tmpdir=$(mktemp -d) && uv build --out-dir "$tmpdir" && python3 scripts/cli_creator_review_gate.py --wheel "$tmpdir"/cli_creator_skill-*.whl

What This Skill Helps With

  • Design a new Python CLI from scratch.
  • Review an existing CLI for UX, packaging, errors, model setup, caching, and maintainability.
  • Structure Typer, Click, argparse, or hybrid applications.
  • Build natural multi-turn CLI flows without making users feel like they are filling out a form.
  • Add diagnostics, cache, profile memory, and first-run setup flows when they are actually needed.
  • Review CLI-related skills and templates for trigger clarity, reference completeness, command templates, output contracts, and maintenance strategy.

Repository Structure

Maintainer-side governance folders are shown here as workspace-root aids, not as generated output and not as bundled skill content:

cli-creator-skill/
  skills/cli-creator/
    SKILL.md
    references/
      creation-playbook.md
      pitfalls-and-solutions.md
      review-rubric.md
      technical-best-practices.md
  src/cli_creator_skill/
    installer.py
    __main__.py
  tests/
  .github/workflows/test.yml
  skill-ir/
  evals/
  scripts/
  reports/
  registry/

Usage

Use this skill when you ask:

  • "帮我从零设计一个 Python CLI"
  • "帮我审查这个 Typer CLI"
  • "这个 CLI 的交互很别扭,帮我重构"
  • "帮我设计模型配置、缓存、doctor、profile memory"
  • "帮我发布一个可 pip install 的 CLI"

Design Basis

This skill distills maintainer experience and official documentation patterns for Python packaging, Typer, Click, Rich, uv, Ruff, Pydantic, and LLM provider integration. It does not vendor code or instructions from unofficial third-party repositories.

License

MIT

Metadata

Release files for cli-creator-skill 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cli-creator-skill 0.1.6
File Size Uploaded Provenance Actions
cli_creator_skill-0.1.6.tar.gz 21.4 kB With provenance Details for cli_creator_skill-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cli-creator-skill 0.1.6
File Interpreter ABI Platform Actions
cli_creator_skill-0.1.6-py3-none-any.whl Python 3 none any Details for cli_creator_skill-0.1.6-py3-none-any.whl

Total release size: 48.5 kB

Release files / cli_creator_skill-0.1.6.tar.gz

Download URL cli_creator_skill-0.1.6.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
581e8f6139a162a4265df5b43c0fdcfc725e7eabbc8aac8296abe1b22d2ff00b
BLAKE2b-256 checksum
How to use checksums
8616785cfdf1db9a68747c7de0d46972f59e2efdde8a5581ffed2e68b8241732
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 20, 2026.

Transparency log

Release files / cli_creator_skill-0.1.6-py3-none-any.whl

Download URL cli_creator_skill-0.1.6-py3-none-any.whl
Size 27.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0bcf04d01e1bf6c4b41280ee702718c1e5ade5058364d12ef80141ea10702d72
BLAKE2b-256 checksum
How to use checksums
51411a6ccd9500ec5dfd58d02ab2bc2f32705a5d9aa3612ba5fec50dafb40590
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 20, 2026.

Transparency log

Security for cli-creator-skill 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cli_creator_skill-0.1.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page