agentleFS
metyatechmetyatech/skill-cli-design/SKILL.md

cli-design

Skill0 starsChanged 4 months agoMITView on GitHub

Use when designing, building, or reviewing a command-line interface (CLI) tool. Provides a checklist of standard CLI conventions. Do not use for non-CLI applications.

7 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions7 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 7

    1. notque/vexjoy-agent★ 424same name
    2. magarcia/skills★ 4same name
    3. damacus/agent-skills★ 2same name
    4. drinkspiller/skills★ 1same name
    5. 2867203296/hermes-agent★ 0same name
    6. jkeifer/skills★ 0same name
    7. shinzoxD/knackbox★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

Files
SKILL.md

CLI design checklist

Help and version

  • A CLI MUST provide --help and -h flags with clear usage, options, and examples. Examples MUST include all required parameters.
  • A CLI MUST provide --version and -V flags. The agent MUST reserve -v for --verbose.

Input and output

  • A CLI MUST support stdin/stdout piping and MUST allow output redirection (e.g., --output for file creation).
  • A CLI emitting structured data MUST offer machine-readable output (e.g., --json).

Safety and control

  • A CLI that modifies or deletes data MUST provide --dry-run and an explicit bypass flag (--yes or --force).
  • A CLI MUST provide controllable logging (--quiet, --verbose, or --trace).
  • A CLI MUST use deterministic exit codes: 0 for success, non-zero for failure. The agent MUST NOT introduce silent fallbacks.
  • A CLI MUST implement strictly non-interactive modes for CI/CD environments.

Configuration

  • A CLI that consumes JSON configuration MUST define and update a JSON Schema and MUST validate configuration on load.
  • A CLI MUST support configuration via environment variables for sensitive or environment-specific data.

Interactive prompts

  • An interactive prompt MUST provide required context before asking. For yes/no prompts, Enter MUST mean "Yes" and "n" MUST mean "No".

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.