cli-design

cli-design is a skill for Claude Code from notque/vexjoy-agent. It costs 23 tokens per session (894 once invoked), scanned A, original, MIT.

A design guide for command-line tools: programs operated through a terminal using commands, options, and text output. It covers inputs, help, errors, exit codes, configuration, and interactive prompts.

In plain words
What is it for?
Use it to specify command names, arguments, flags, input and output formats, configuration rules, confirmations, and error behavior.
Why use it?
It helps settle the interface before implementation so people and scripts can use the tool predictably.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to specify command names, arguments, flags, input and output formats, configuration rules, confirmations, and error behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/notque/vexjoy-agent/cli-design
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 notque/vexjoy-agent --skill cli-design
Clone the repo
git clone --depth 1 https://github.com/notque/vexjoy-agent

Made for: Claude Code.

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-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/notque/vexjoy-agent/cli-design/github.svg)](https://agentmods.dev/skills/notque/vexjoy-agent/cli-design)
Your own site
<a href="https://agentmods.dev/skills/notque/vexjoy-agent/cli-design"><img src="https://agentmods.dev/badge/skills/notque/vexjoy-agent/cli-design/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 cli-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/notque/vexjoy-agent/cli-design"><img src="https://agentmods.dev/badge/skills/notque/vexjoy-agent/cli-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 894 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00023 $0.00894
Opus 5.5 $0.00009 $0.00358
Sonnet 5.5 $0.00005 $0.00179
Haiku 4.5 $0.00002 $0.00089

Measured 22d ago against content hash a1fe2b000ade, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli-design 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 22d 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.

skills/engineering/cli-design/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 Design

Design a command-line tool's interface before implementation: human-first, script-friendly, Linux-only. Output is a compact spec the user or an agent can implement directly. Rubric source: clig.dev (rebuilt as references/clig-checklist.md).

Deep References

When Load Content
Phase 2: applying design rubric references/clig-checklist.md CLI design checklist condensed from clig.dev

Workflow

Phase 1: SCOPE

Lock the interface with the minimum questions. Proceed with the conventions in Phase 2 when the user is unsure.

  • Command name and one-sentence purpose.
  • Primary user: humans, scripts, or both.
  • Input sources: args vs stdin; files vs URLs. Secrets travel via file or stdin, because flags leak through ps and shell history.
  • Output contract: human text, --json, --plain, exit codes.
  • Interactivity: prompts allowed? --no-input needed? confirmation for destructive ops?
  • Config model: flags, env, config file; precedence.

Gate: name, purpose, and I/O contract are known. Proceed only when gate passes.

Phase 2: DESIGN

Load references/clig-checklist.md and apply it as the default rubric. For each section, pick the convention and record it in the spec. Diverge from a convention only deliberately, and document the divergence in the spec — interfaces are contracts, and surprising contracts break scripts.

Phase 3: DELIVER

Produce the spec from this skeleton. Drop a section only when it genuinely has no content; fill every other section.

  1. Name and one-liner: command name plus a single sentence of purpose
  2. Usage line: the synopsis as --help will print it, global flags and subcommand slot included
  3. Subcommands: purpose of each, whether it mutates state, whether re-running it is safe
  4. Args/flags table: columns for name, type, default, required?, example
  5. I/O contract: primary data and machine-readable output on stdout; everything else (errors, progress, logs) on stderr
  6. Exit codes: map each failure mode to a code — success 0, failure 1, bad usage 2; mint extra codes only for cases scripts must distinguish
  7. Safety: --dry-run, confirmation rules, --force, --no-input
  8. Env/config: env vars; config file path; precedence order with flags highest, then env, project config, user config, system
  9. Examples: enough invocations to cover the common flows; show at least one pipeline or stdin use

Read the full file on GitHub · 86 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. 22d ago Changed · +60 lines · -1 tokens per session a1fe2b000ade
  2. 2mo ago Changed · -60 lines · +1 tokens per session ce0df06c5882
  3. 2mo ago Changed 2b6f7a97e1ed
  4. 2mo ago First seen · 86 lines · 23 tokens per session scan A 1bde92de4736

Subscribe to this mod's changes

cli-design is a skill published in the GitHub repository notque/vexjoy-agent (452 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 894 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

cli-design compared with skills from other repositories

cli-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cli-designnotque/vexjoy-agentSkill452todayMITA23Claude Code
refactoring-uiwondelai/skillsSkill2.8kyesterdayMITA132Claude Code, Codex
develop-solution-briefproduct-on-purpose/pm-skillsSkill850yesterdayApache-2.0A46Claude Code
remotion-interactivityguanyang/open-agent-hubSkill1.0ktodayMITA26Claude Code, Codex
playwright-best-practicescurrents-dev/playwright-best-practices-skillSkill44723d agoMITA214Claude Code, Codex
imagensanjay3290/ai-skillsSkill46429d agoApache-2.0A52Claude Code
agentic-seoforefy/.contextSkill1562d agoMITA25Claude Code, Codex