cli-anything
Installation
SKILL.md
cli-anything: wrap any CLI into an agent skill
Turn any command-line tool into something an AI agent can call reliably and parse. The output is a thin, well-documented wrapper contract — never a reimplementation of the tool. Use the real tool; document how to drive it.
When to use
You have a CLI (your own, or a third-party binary) and you want an agent to invoke it predictably, read structured results, and recover from errors. This skill produces a SKILL.md wrapper that encodes that contract.
Step 1 — Introspect the CLI (do not guess)
Enumerate the real surface before writing anything:
- Run
<tool> --helpand<tool> <subcommand> --helpfor each subcommand. - Capture: subcommands, flags (required vs optional), positional args, exit codes, and the output format (human text vs structured).
- If
--helpis thin, read the source or man page. Every claim in the wrapper must trace to observed behavior.