OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add cursor/plugins --skill cli-for-agents
Designs or reviews CLIs so coding agents can run them reliably: non-interactive flags, layered --help with examples, stdin/pipelines, fast actionable errors, idempotency, dry-run, and predictable structure. Use when building a CLI, adding commands, writing --help, or when the user mentions agents, terminals, or automation-friendly CLIs.
npx skills add cursor/plugins --skill cli-for-agents
Human-oriented CLIs often block agents: interactive prompts, huge upfront docs, and help text without copy-pasteable examples. Prefer patterns that work headlessly and compose in pipelines.
Bad: mycli deploy → ? Which environment? (use arrow keys)
Good: mycli deploy --env staging
mycli, then mycli deploy --help. Do not print the entire manual on every run.--help that works--help.--help includes Examples with real invocations. Examples do more than prose for pattern-matching.cat config.json | mycli config import --stdin).mycli deploy --env staging --tag $(mycli build --output tag-only).--dry-run (or equivalent) so agents can preview plans before committing.--yes / --force to skip confirmations while keeping the safe default for humans.resource + verb: if mycli service list exists, mycli deploy list and mycli config list should follow the same shape.--help, stdin/pipeline story, error messages with invocations, idempotency, dry-run, confirmation bypass flags, consistent command structure, structured success output.