Home / ulises-jeremias / agent-toolkit · plugins/agent-toolkit-complete/.opencode/skills/cli-for-agents/SKILL.md · GitHub

cli-for-agents skillA

cli-for-agents is agent-read markdown (skill) from ulises-jeremias/agent-toolkit: 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..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# 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.

## Non-interactive first

- Every input should be expressible as a flag or flag value. Do not require arrow keys, menus, or timed prompts.
- If flags are missing, **then** fall back to interactive mode—not the other way around.

**Bad:** `mycli deploy` → `? Which environment? (use arrow keys)`  
**Good:** `mycli deploy --env staging`

## Discoverability without dumping context

- Agents discover subcommands incrementally: `mycli`, then `mycli deploy --help`. Do not print the entire manual on every run.
- Let each subcommand own its documentation so unused commands stay out of context.

## `--help` that works

- Every subcommand has `--help`.
- Every `--help` includes **Examples** with real invocations. Examples do more than prose for pattern-matching.

```text
Options:
  --env     Target environment (staging, production)
  --tag     Image tag (default: latest)
  --force   Skip confirmation

Examples:
  mycli deploy --env staging
  mycli deploy --env production --tag v1.2.3
…

Read the whole file at its exact version.

How to install

Latest version
mdr add ulises-jeremias/agent-toolkit/cli-for-agents@git:20260831.856ee57
Exact content
mdr add ulises-jeremias/agent-toolkit/cli-for-agents@sha256:73e8703fd50e2f68

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_iawar7bvjezzb3ky.svg)](https://markdownregistry.com/a/art_iawar7bvjezzb3ky)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260831.856ee57 latest2026-08-31 856ee57 4,003 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4003 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ulises-jeremias/agent-toolkit · 18 stars · license MIT · pushed 2026-09-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_iawar7bvjezzb3ky
GET https://markdownregistry.com/api/v1/resolve?ref=ulises-jeremias/agent-toolkit/cli-for-agents
GET https://markdownregistry.com/api/v1/blob/73e8703fd50e2f685e0175d1ec45037e8ee908a26e1d071d394b3ab5fda8b5c4

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from ulises-jeremias/agent-toolkit

AGENTS.md agents
ulises-jeremias/agent-toolkit · AGENTS.md
git:20260913.6bf289b · audit A · 18 stars
DESIGN.md@docs/desktop design
ulises-jeremias/agent-toolkit · docs/desktop/DESIGN.md
git:20260913.6bf289b · audit A · 18 stars
AGENTS.md@plugins/agent-toolkit-agents agents
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-agents/AGENTS.md
git:20260831.856ee57 · audit A · 18 stars
adr skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/adr/SKILL.md · WHAT — Create and maintain Architecture Decision Records (ADRs) per the process. Covers when
git:20260901.5d17d6a · audit A · 18 stars
agreement skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/agreement/SKILL.md · WHAT - Capture explicit agreements, terms, parties involved, dates, validity, and linked
git:20260831.856ee57 · audit A · 18 stars
architecture-diagram skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/architecture-diagram/SKILL.md · WHAT — Create polished dark-themed architecture diagrams as self-contained HTML+SVG files (inline SVG, CSS styling…
v1.0.0 · audit B · 18 stars
assistant skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/assistant/SKILL.md · Assistant — on any repo, scan README→docs→AGENTS→CONTRIBUTING→PR templates→task runners→devcontainer→CI→configs
v2.1 · audit A · 18 stars
aws-well-architected-review skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/aws-well-architected-review/SKILL.md · WHAT — AWS Well-Architected Framework review (6 pillars) — operational excellence, security, reliability, performance…
v1.0 · audit A · 18 stars
blast-radius skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/blast-radius/SKILL.md · Find what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe…
git:20260831.856ee57 · audit A · 18 stars
bug skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/bug/SKILL.md · WHAT - Draft and review bugs using the Bug Template; classifies whether an issue should be
git:20260831.856ee57 · audit A · 18 stars
c4-model skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/c4-model/SKILL.md · WHAT — C4 model methodology (Context, Container, Component, Code) guidance — what to draw at each level, when, and how…
v1.0 · audit A · 18 stars
chrome-devtools skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/chrome-devtools/SKILL.md · Use Chrome DevTools MCP to control and inspect a live Chrome instance for network, console, performance, rendering, and…
git:20260831.856ee57 · audit B · 18 stars

Every file in ulises-jeremias/agent-toolkit

Other files named cli-for-agents

cli-for-agents skill
cursor/plugins · cli-for-agent/skills/cli-for-agents/SKILL.md · Designs or reviews CLIs so coding agents can run them reliably: non-interactive flags, layered --help with examples…
git:20260326.26a1497 · audit A · 8,499 stars
cli-for-agents skill
outlinedriven/outline-driven-development · .devin/skills/cli-for-agents/SKILL.md · Use when asked to build or review a CLI intended for coding agents and return flag-driven, pipeline-safe, idempotent…
git:20260905.1f63894 · audit A · 54 stars
cli-for-agents skill
outlinedriven/odin-claude-plugin · plugins/odin-agent/skills/cli-for-agents/SKILL.md · Use when asked to build or review a CLI intended for coding agents and return flag-driven, pipeline-safe, idempotent…
git:20260903.c54504d · audit A · 38 stars
cli-for-agents skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/cli-for-agents/SKILL.md · Designs or reviews CLIs so coding agents can run them reliably: non-interactive flags, layered --help with examples…
git:20260831.856ee57 · audit A · 18 stars

Browse by kind, by grade A, or by owner.