create-cli

create-cli is a skill for Claude Code, Codex from jakenuts/agent-skills. It costs 73 tokens per session (906 once invoked), scanned A, a copy of create-cli, MIT.

A guide for designing a command-line interface, the text-based way users run a program with commands and options. It covers command structure, inputs, outputs, errors, configuration, prompts, and safe or dry-run behavior.

In plain words
What is it for?
Writing a CLI specification or refactoring an existing CLI's commands, arguments, flags, help text, output formats, exit codes, and configuration rules.
Why use it?
It helps make a CLI predictable for both people and scripts instead of leaving command names, flags, and error handling inconsistent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Writing a CLI specification or refactoring an existing CLI's commands, arguments, flags, help text, output formats, exit codes, and configuration rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jakenuts/agent-skills/create-cli
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.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jakenuts/agent-skills/create-cli/github.svg)](https://agentmods.dev/skills/jakenuts/agent-skills/create-cli)
Your own site
<a href="https://agentmods.dev/skills/jakenuts/agent-skills/create-cli"><img src="https://agentmods.dev/badge/skills/jakenuts/agent-skills/create-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/jakenuts/agent-skills/create-cli"><img src="https://agentmods.dev/badge/skills/jakenuts/agent-skills/create-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 906 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.00073 $0.00906
Opus 5.5 $0.00029 $0.00362
Sonnet 5.5 $0.00015 $0.00181
Haiku 4.5 $0.00007 $0.00091

Measured 3mo ago against content hash 26ad0e68835a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-cli 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 3mo 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

This is a copy

100% identical to create-cli — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/create-cli/SKILL.md · 94 lines

How it starts

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

Create CLI

Design CLI surface area (syntax + behavior), human-first, script-friendly.

Do This First

Clarify (fast)

Ask, then proceed with best-guess defaults if user is unsure:

  • Command name + one-sentence purpose.
  • Primary user: humans, scripts, or both.
  • Input sources: args vs stdin; files vs URLs; secrets (never via flags).
  • Output contract: human text, --json, --plain, exit codes.
  • Interactivity: prompts allowed? need --no-input? confirmations for destructive ops?
  • Config model: flags/env/config-file; precedence; XDG vs repo-local.
  • Platform/runtime constraints: macOS/Linux/Windows; single binary vs runtime.

Deliverables (what to output)

When designing a CLI, produce a compact spec the user can implement:

  • Command tree + USAGE synopsis.
  • Args/flags table (types, defaults, required/optional, examples).
  • Subcommand semantics (what each does; idempotence; state changes).
  • Output rules: stdout vs stderr; TTY detection; --json/--plain; --quiet/--verbose.
  • Error + exit code map (top failure modes).
  • Safety rules: --dry-run, confirmations, --force, --no-input.
  • Config/env rules + precedence (flags > env > project config > user config > system).
  • Shell completion story (if relevant): install/discoverability; generation command or bundled scripts.
  • 5–10 example invocations (common flows; include piped/stdin examples).

Default Conventions (unless user says otherwise)

  • -h/--help always shows help and ignores other args.
  • --version prints version to stdout.
  • Primary data to stdout; diagnostics/errors to stderr.
  • Add --json for machine output; consider --plain for stable line-based text.
  • Prompts only when stdin is a TTY; --no-input disables prompts.
  • Destructive operations: interactive confirmation + non-interactive requires --force or explicit --confirm=....
  • Respect NO_COLOR, TERM=dumb; provide --no-color.
  • Handle Ctrl-C: exit fast; bounded cleanup; be crash-only when possible.

Read the full file on GitHub · 94 lines

Files

What ships with it

1 file 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. 3mo ago First seen · 94 lines · 73 tokens per session scan A 26ad0e68835a

Subscribe to this mod's changes

create-cli is a skill published in the GitHub repository jakenuts/agent-skills (2 stars, last pushed 4mo ago), licensed MIT. It adds 73 tokens to every session and 906 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to create-cli, differing in 6 lines, and is treated as a copy.

Related

create-cli compared with skills from other repositories

create-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-clijakenuts/agent-skillsSkill24mo agoMITA73Claude Code, Codex
webgl-holographic-foilnexu-io/open-designSkill111ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill111ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill111ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill11k9d agoApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.7ktodayMITA47Claude Code