Skip to main content

Installable cli-creator agent skill for designing and auditing Python CLI tools.

Project description

cli-creator

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

It is especially useful for Typer + Rich + questionary projects with interactive flows, data fetching, caching, LLM provider setup, structured output, local profile memory, and multi-channel delivery.

Install As A Codex Skill

Clone this repository and 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

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

By default this installs the skill to ~/.codex/skills/cli-creator.

Install to a custom directory:

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

Release

Maintainers can publish a new version by updating pyproject.toml, committing the change, and pushing a version tag:

git tag v0.1.3
git push origin v0.1.3

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 + Rich + questionary applications.
  • Build natural multi-turn CLI flows without making users feel like they are filling out a form.
  • Add robust model provider configuration for OpenAI, Anthropic, Ark/OpenAI-compatible endpoints, and local models.
  • Add cache, profile memory, diagnostics, and first-run setup flows.
  • Audit machine-readable diagnostics, cache status metadata, package-data drift, and release-copy synchronization.
  • Enforce review outputs with findings, scores, repair order, test gaps, and verification commands.
  • Review CLI-related skills and templates for trigger clarity, reference completeness, command templates, output contracts, and maintenance strategy.

Repository Structure

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
  pyproject.toml
  README.md
  LICENSE

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cli_creator_skill-0.1.3.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cli_creator_skill-0.1.3-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file cli_creator_skill-0.1.3.tar.gz.

File metadata

  • Download URL: cli_creator_skill-0.1.3.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cli_creator_skill-0.1.3.tar.gz
Algorithm Hash digest
SHA256 529d4a3c9689a3c8a0b8f24be0b617d9f592b7a9a485ec49d17c556500f4a571
MD5 b80727036877bec198958c3fb7da19a2
BLAKE2b-256 85e3e7fd8b2ba46b34b8d992184722cb1eb7d677ca9649bdddf1e6826b399f18

See more details on using hashes here.

Provenance

The following attestation bundles were made for cli_creator_skill-0.1.3.tar.gz:

Publisher: publish.yml on AdvancingTitans/cli-creator-skill

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cli_creator_skill-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for cli_creator_skill-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d08f2555b7c41fcd11f1872733b16161623f3d618268888ade6c332519f90555
MD5 5887d705636564fae1f49ff3d5d20aba
BLAKE2b-256 34ea55986f0874d804591fcc7f73b7d45ee05a9378c7adc3cfb39eba036aad63

See more details on using hashes here.

Provenance

The following attestation bundles were made for cli_creator_skill-0.1.3-py3-none-any.whl:

Publisher: publish.yml on AdvancingTitans/cli-creator-skill

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page