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
- notque/vexjoy-agenttheir own version, first seen Sep 26, 2026
- drinkspiller/skillstheir own version, first seen Sep 16, 2026
- 2867203296/hermes-agenttheir own version, first seen Aug 19, 2026
- magarcia/skillstheir own version, first seen Jul 23, 2026
- shinzoxD/knackboxtheir own version, first seen Jul 10, 2026
- jkeifer/skillstheir own version, first seen Jul 9, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- notque/vexjoy-agent★ 424same name
- magarcia/skills★ 4same name
- damacus/agent-skills★ 2same name
- drinkspiller/skills★ 1same name
- 2867203296/hermes-agent★ 0same name
- jkeifer/skills★ 0same name
- 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.
The file
Files
CLI design checklist
Help and version
- A CLI MUST provide
--helpand-hflags with clear usage, options, and examples. Examples MUST include all required parameters. - A CLI MUST provide
--versionand-Vflags. The agent MUST reserve-vfor--verbose.
Input and output
- A CLI MUST support stdin/stdout piping and MUST allow output
redirection (e.g.,
--outputfor 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-runand an explicit bypass flag (--yesor--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".
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
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.

