Create cli

From sundial-org/awesome-openclaw-skills · View interactive version

Create cli is an AI agent skill from the GitHub repository sundial-org/awesome-openclaw-skills. Design command-line interface parameters and UX: arguments, flags, subcommands, help text, output formats, error messages, exit codes, prompts, config/env precedence, and safe/dry-run behavior. Use when you’re designing a CLI spec (before implementation) or refactoring an existing CLI’s surface area

How to use this skill

Skill file

Create CLI

Design CLI surface area (syntax + behavior), human-first, script-friendly.

Do This First

Clarify (fast)

Ask, then proceed with best-guess defaults if user is unsure:

Deliverables (what to output)

When designing a CLI, produce a compact spec the user can implement:

Default Conventions (unless user says otherwise)

Templates (copy into your answer)

CLI spec skeleton

Fill these sections, drop anything irrelevant:

  1. Name: mycmd
  2. One-liner: ...
  3. USAGE:
  1. Subcommands:
  1. Global flags:
  1. I/O contract:
  1. Exit codes:
  1. Env/config:
  1. Examples:

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.