Agentic CLI Design

Design principles for building CLI tools that LLM/AI agents can safely and reliably operate. Provides 7 core principles (Machine-readable, Non-interactive, Idempotent, Safe-by-default, Observable, Context-efficient, Introspectable) with scorecard, templates, and anti-patterns. Use when: (1) designing new CLI tools for agent use, (2) improving existing CLIs for agent compatibility, (3) reviewing CLI design for agent-friendliness, or (4) need guidance on JSON output formats, exit codes, authentication flows, or self-describing CLI patterns.

tumf 7086874 6 files · 91.2 KB Updated

File contents

tumf/skills/tree/main/agentic-cli-design commit 7086874721

Frequently asked questions

npx skillmds@latest add tumf/agentic-cli-design