ai-native-cli

Installation
SKILL.md

Agent-Friendly CLI Spec v0.1

When building or modifying CLI tools, follow these rules to make them safe and reliable for AI agents to use.

Overview

A comprehensive design specification for building AI-native CLI tools. It defines 98 rules across three certification levels (Agent-Friendly, Agent-Ready, Agent-Native) with prioritized requirements (P0/P1/P2). The spec covers structured JSON output, error handling, input contracts, safety guardrails, exit codes, self-description, and a feedback loop via a built-in issue system.

When to Use This Skill

  • Use when building a new CLI tool that AI agents will invoke
  • Use when retrofitting an existing CLI to be agent-friendly
  • Use when designing command-line interfaces for automation pipelines
  • Use when auditing a CLI tool's compliance with agent-safety standards
Related skills
Installs
61
GitHub Stars
37.3K
First Seen
Mar 17, 2026