Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Design CLIs for AI agents v1.0.0

Use this resource to design or review a CLI that AI agents or scripts will call

New

  • 519 downloads
  • 232 likes
  • 116 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install agent-friendly-cli-design-2

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent applies rules ranked by impact: no interactive prompts, examples in help, error messages that include a fix, a dry-run option and protection against destructive actions. You get a CLI that agents can use without getting stuck.

Mostly picked by

Updated November 2, 2026

Card for the “Design CLIs for AI agents” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • AGENTS.md: rules by category, from non-interactive use to structure
  • references/err-actionable-fix.md: errors with a fix; references/help-examples-in-help.md: examples in help

Good fit for

  • An agent gets stuck on a confirmation prompt in your CLI
  • Your error messages do not say what to do next

Not for

    Tags

    • cli
    • agents
    • command line ux
    • errors

    About

    You say

    “Review this CLI's help and errors so an agent can use it.”

    Card for the “Design CLIs for AI agents” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to design or review a CLI that AI agents or scripts will call
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md10.3 KB
    • assets/templates/_template.md1.7 KB
    • LICENSE1.1 KB
    • metadata.json1.4 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/_sections.md2.2 KB
    • references/err-actionable-fix.md1.6 KB
    • references/err-exit-fast-on-missing-required.md2 KB
    • references/err-include-example-invocation.md1.9 KB
    • references/err-no-stack-traces-by-default.md2.3 KB
    • references/err-non-zero-exit-codes.md3.7 KB
    • references/err-stderr-not-stdout.md1.7 KB
    • references/help-examples-in-help.md2 KB
    • references/help-flag-summary.md1.9 KB
    • references/help-layered-discovery.md2 KB
    • references/help-no-flag-required.md2.1 KB
    • references/help-per-subcommand.md2.1 KB
    • references/help-suggest-next-steps.md1.9 KB
    • references/idem-create-or-skip.md2.3 KB
    • references/idem-retry-safe.md2.1 KB
    • references/idem-stable-identifiers.md4.2 KB
    • references/idem-stable-output-on-skip.md2.7 KB
    • references/idem-state-reconciliation.md2.4 KB
    • references/input-accept-stdin-dash.md1.8 KB
    • references/input-env-var-fallback.md2.1 KB
    • references/input-flags-over-positional.md2.3 KB
    • references/input-no-prompt-fallback.md2.5 KB
    • references/input-stdin-for-secrets.md2.6 KB
    • references/interact-detect-tty.md2.5 KB
    • references/interact-flags-first.md2.5 KB
    • references/interact-no-arrow-menus.md2.3 KB
    • references/interact-no-hang-on-stdin.md2 KB
    • references/interact-no-input-flag.md1.9 KB
    • references/interact-no-timed-prompts.md1.9 KB
    • references/output-bounded-by-default.md3 KB
    • references/output-json-flag.md2.7 KB
    • references/output-machine-ids-on-success.md2.3 KB
    • references/output-ndjson-streaming.md3 KB
    • references/output-no-decorative-only.md2.2 KB
    • references/output-one-record-per-line.md2.6 KB
    • references/output-respect-no-color.md2.3 KB
    • references/safe-confirm-by-typing-name.md2.4 KB
    • references/safe-crash-only-recovery.md2.2 KB
    • references/safe-dry-run-flag.md2.5 KB
    • references/safe-force-bypass-flag.md2.2 KB
    • references/safe-idempotent-cleanup.md2.2 KB
    • references/safe-no-prompts-with-no-input.md2.2 KB
    • references/struct-flag-order-independent.md2.6 KB
    • references/struct-no-hidden-subcommand-catchall.md2.3 KB
    • references/struct-resource-verb.md2.3 KB
    • references/struct-standard-flag-names.md2.8 KB
    • SKILL.md10.3 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/cli-for-agents
    Licence
    MIT

    Notice

    « cli-for-agents » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.