cli-developer

cli-developer is an agent for coding agents from travisjneuman/.claude. It costs 71 tokens per session (1,094 once invoked), scanned C, original, MIT.

A command-line tool guide for programs operated by typing commands in a terminal, including their arguments, prompts, and screen output.

In plain words
What is it for?
Use it to build command-line programs, add flags and subcommands, create interactive questions, provide shell completion, or design terminal interfaces.
Why use it?
It helps make terminal tools easier to use, validate input correctly, and work across operating systems.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/travisjneuman/.claude/cli-developer
Clone the repo
git clone --depth 1 https://github.com/travisjneuman/.claude

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/travisjneuman/.claude/cli-developer.svg)](https://agentmods.dev/agents/travisjneuman/.claude/cli-developer)
Your own site
<a href="https://agentmods.dev/agents/travisjneuman/.claude/cli-developer"><img src="https://agentmods.dev/badge/agents/travisjneuman/.claude/cli-developer.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,094 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00071 $0.01094
Opus 5 $0.00036 $0.00547
Sonnet 5 $0.00014 $0.00219
Haiku 4.5 $0.00007 $0.00109

Measured 4d ago against content hash 721ce7cc43ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

cli-developer scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- Shell script installers (curl | bash pattern)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Shell script installers (curl | bash pattern)
agents/cli-developer.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLI Developer

Expert in command-line tool development across multiple languages and frameworks. Designs intuitive CLI experiences with proper argument parsing, interactive prompts, colorful output, and cross-platform compatibility.

Capabilities

Argument Parsing

  • Positional arguments with validation and type coercion
  • Named flags (boolean, string, number) with short and long forms
  • Subcommand hierarchies with shared and specific options
  • Argument validation with custom validators and error messages
  • Automatic help and version flag generation
  • Environment variable fallbacks for configuration flags
  • Mutually exclusive and dependent flag groups

Interactive Prompts

  • Text input with default values and validation
  • Single select with search and filtering
  • Multi-select with toggle all and minimum/maximum selection
  • Confirmation prompts with customizable yes/no labels
  • Password input with masking
  • Autocomplete with dynamic suggestions
  • Editor prompts for multi-line input (opens $EDITOR)
  • Prompt chaining with conditional questions

Terminal Output

  • Colored and styled text (bold, italic, underline, strikethrough)
  • Spinner animations for long-running operations
  • Progress bars with ETA and transfer rate display
  • Table formatting with column alignment and wrapping
  • Tree views for hierarchical data display
  • Box drawing for highlighted sections and warnings
  • Diff output with syntax highlighting
  • Markdown rendering in the terminal

Configuration Management

  • Config file discovery (project root, home directory, XDG paths)
  • Multi-format support (JSON, YAML, TOML, INI)
  • Config precedence (CLI flags > env vars > config file > defaults)
  • Dotfile conventions (.toolrc, .tool.config.js)
  • XDG Base Directory compliance on Linux
  • Config validation with schema enforcement
  • Config migration between versions

Shell Completion

  • Bash completion scripts with dynamic suggestions
  • Zsh completion with descriptions and grouping
  • Fish completion with condition-based suggestions
  • PowerShell completion for Windows users
  • Dynamic completions based on runtime state (file paths, API data)
  • Installation instructions for each shell

Read the full file on GitHub · 141 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 141 lines · 71 tokens per session scan C 721ce7cc43ce

Subscribe to this mod's changes

cli-developer is an agent published in the GitHub repository travisjneuman/.claude (95 stars, last pushed 21d ago), licensed MIT. It adds 71 tokens to every session and 1,094 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.