CommunityCoding & Developmentgithub.com

Agent-Friendly CLI

Design, refactor, or review CLIs built for AI agents and humans: non-interactive modes, JSON contracts, exit codes, dry-run, idempotency, and safe auth.

What is Agent-Friendly CLI?

Agent-Friendly CLI (x0c) teaches agents how to build CLIs that both humans and coding agents can trust. It covers command-surface design, machine-readable JSON output, layered exit codes, dry-run, idempotent ops, auth hygiene, and clear separation between CLI, scripts, skills, and agents—so automation does not become a footgun.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/x0c/agent-friendly-cli-skill/tree/main

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does Agent-Friendly CLI do?

Make CLIs agent-friendly: structured help, machine-readable output, and safe automation hooks.

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

Related Skills