Skill for building agent-native CLIs
I’ve been building agent-native CLIs for my own workflows and decided to turn what I learned into a reusable skill that might be useful for others.
The main idea:
As agents move from “API wrappers” to running inside ephemeral sandboxes, CLIs become a really useful interface. But they need to be designed differently.
A good CLI for agents should be:
- predictable
- scriptable
- easy to parse
- safe by default
- non-blocking
- clear when something fails
The skill covers things like:
--jsonoutput for agents--plainoutput for scripts- stdout/stderr separation
- avoiding blocking prompts
- useful exit codes
- actionable errors and hints
- command design patterns
link in the comment