cli-developer

cli-developer is a skill for Claude Code, Codex from zacklecon/claude-skills. It costs 37 tokens per session (764 once invoked), scanned A, original, MIT.

A guide for building command-line tools: programs people run by typing commands in a terminal. It covers command structure, options, prompts, progress displays, and shell completion.

In plain words
What is it for?
Use it when creating a CLI, adding commands or options, building interactive prompts, showing progress, or adding Bash, Zsh, or Fish completions.
Why use it?
It helps you design terminal tools that are understandable and usable across different operating systems and shells.

Skill for Claude CodeCodex

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 skills/zacklecon/claude-skills/cli-developer
Any agent
npx skills add zacklecon/claude-skills --skill cli-developer
Clone the repo
git clone --depth 1 https://github.com/zacklecon/claude-skills

Made for: Claude Code, Codex.

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/skills/zacklecon/claude-skills/cli-developer.svg)](https://agentmods.dev/skills/zacklecon/claude-skills/cli-developer)
Your own site
<a href="https://agentmods.dev/skills/zacklecon/claude-skills/cli-developer"><img src="https://agentmods.dev/badge/skills/zacklecon/claude-skills/cli-developer.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 764 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00037 $0.00764
Opus 5 $0.00018 $0.00382
Sonnet 5 $0.00007 $0.00153
Haiku 4.5 $0.00004 $0.00076

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

Security

Grade A, and why

cli-developer scanned grade A with 0 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/cli-developer/SKILL.md · 86 lines

How it starts

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

CLI Developer

Senior CLI developer with expertise in building intuitive, cross-platform command-line tools with excellent developer experience.

Role Definition

You are a senior CLI developer with 10+ years of experience building developer tools. You specialize in creating fast, intuitive command-line interfaces across Node.js, Python, and Go ecosystems. You build tools with <50ms startup time, comprehensive shell completions, and delightful UX.

When to Use This Skill

  • Building CLI tools and terminal applications
  • Implementing argument parsing and subcommands
  • Creating interactive prompts and forms
  • Adding progress bars and spinners
  • Implementing shell completions (bash, zsh, fish)
  • Optimizing CLI performance and startup time

Core Workflow

  1. Analyze UX - Identify user workflows, command hierarchy, common tasks
  2. Design commands - Plan subcommands, flags, arguments, configuration
  3. Implement - Build with appropriate CLI framework for the language
  4. Polish - Add completions, help text, error messages, progress indicators
  5. Test - Cross-platform testing, performance benchmarks

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Design Patterns references/design-patterns.md Subcommands, flags, config, architecture
Node.js CLIs references/node-cli.md commander, yargs, inquirer, chalk
Python CLIs references/python-cli.md click, typer, argparse, rich
Go CLIs references/go-cli.md cobra, viper, bubbletea
UX Patterns references/ux-patterns.md Progress bars, colors, help text

Constraints

MUST DO

  • Keep startup time under 50ms
  • Provide clear, actionable error messages
  • Support --help and --version flags
  • Use consistent flag naming conventions
  • Handle SIGINT (Ctrl+C) gracefully
  • Validate user input early
  • Support both interactive and non-interactive modes
  • Test on Windows, macOS, and Linux

Read the full file on GitHub · 86 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 86 lines · 37 tokens per session scan A 715e6ae8be5f

Subscribe to this mod's changes

cli-developer is a skill published in the GitHub repository zacklecon/claude-skills (3 stars, last pushed 5d ago), licensed MIT. It adds 37 tokens to every session and 764 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

release

发布 Usage4Claude 新版本时使用。当用户说“发布新版本 / 发版 / 出新版 / release / 打 tag 发布 / 准备发版材料”等,用本 skill 引导完成从收集变更、编写 CHANGELOG 与 RELEASENOTES、更新版本号、编译验证,到发版 commit、CI 自动发布的完整流程。.

f-is-h/Usage4Claude · 77 tokens

capture-usage4claude-screenshots

Automate Usage4Claude interface screenshots with CleanShot X on macOS. Use when Codex needs to capture localized Usage4Claude menu-bar popover screenshots, switch Usage4Claude display/language settings, save files such as [email protected], or troubleshoot CleanShot/window-capture automation that depends on…

f-is-h/Usage4Claude · 97 tokens

che-word-mcp

A Swift-native MCP server for Microsoft Word (.docx) document manipulation. Provides 83 tools for reading, writing, and modifying Word documents without requiring Microsoft Word installation.

PsychQuant/che-word-mcp · 0 tokens

project-setup

Scaffold a new client project folder from the client-project template, retrofit an existing client folder to the template structure, or reconcile a client folder's memory files after a thread loss. This is the client-engagement variant of the project-setup skill — for internal products, use…

16wells/claude-project-setup · 131 tokens

topical-authority-map

Builds a 4-cluster Topical Authority Map from a seed keyword. Outputs an .xlsx spreadsheet with five tabs (Core Pages, AOR Pages, Linking Map, Buyer Journey, Publishing Order) plus a markdown strategy document. Interactive, asks the user to confirm central entity, source context, persona, classification, and gaps at…

lhitches/claude-seo-skills · 110 tokens

canvas-homework

Check Canvas for outstanding assignments and either surface the assignment, or draft a response in Max's voice. Use whenever Max asks what assignments / homework / coursework he still has to do, asks to pull an assignment's instructions or files from Canvas, or asks to start/draft an assignment. Orchestrates the…

98ping/chip · 92 tokens