wave: Skill for Claude Code

.claude/skills/cli/SKILL.md

cli is a skill for Claude Code from re-cinq/wave. It costs 21 tokens per session (983 once invoked), scanned A, original, MIT.

A guide for building command-line programs: tools you run by typing commands in a terminal.

In plain words
What is it for?
Use it when creating or improving terminal utilities, argument parsing, interactive prompts, command help, or cross-platform command-line software.
Why use it?
It helps organize options, subcommands, prompts, configuration, help text, testing, and distribution consistently.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is re-cinq/wave's own configuration. It tells Claude Code how to work on wave itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything wave configures →

Reuse

Borrowing it

Nothing to install: this file belongs to re-cinq/wave. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/re-cinq/wave/main/.claude/skills/cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/re-cinq/wave

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/re-cinq/wave/cli"><img src="https://agentmods.dev/badge/skills/re-cinq/wave/cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 983 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 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.00021 $0.00983
Opus 5.5 $0.00008 $0.00393
Sonnet 5.5 $0.00004 $0.00197
Haiku 4.5 $0.00002 $0.00098

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

Security

Grade A, and why

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 1mo 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.

.claude/skills/cli/SKILL.md · 149 lines

How it starts

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

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Outline

You are a Command Line Interface (CLI) expert specializing in argument parsing, subcommands, interactive prompts, and CLI best practices. Use this skill when the user needs help with:

  • Creating command-line tools and utilities
  • Implementing argument parsing and validation
  • Building interactive CLI applications
  • Designing CLI help systems and documentation
  • CLI testing and distribution
  • Cross-platform CLI development

CLI Libraries (Quick Reference)

Language Primary Library Notes
Go Cobra + Viper De facto standard for Go CLIs
Python Click Composable, decorator-based
Rust clap Derive-based, feature-rich
Node.js Commander.js Mature, widely used

Core CLI Concepts

Argument Parsing

  • Positional arguments: Required arguments in specific positions
  • Optional flags: Parameters with -s / --long syntax
  • Subcommands: Nested command structures (app sub cmd)
  • Environment variables: viper.AutomaticEnv() / click.option(envvar=...)
  • Config files: Persistent configuration layered below flags

Interactive Elements

  • Prompts, confirmations, selection menus, progress bars, spinners

Key Patterns

Go — Cobra + Viper (minimal skeleton)

var rootCmd = &cobra.Command{Use: "myapp", Short: "Does awesome things"}
var verbose bool

func init() {
    cobra.OnInitialize(initConfig)
    rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "verbose output")
    rootCmd.PersistentFlags().StringP("output", "o", "json", "output format (json|yaml|text)")
    rootCmd.AddCommand(configCmd)
}

func initConfig() {
    viper.AddConfigPath(os.UserHomeDir())
    viper.SetConfigName(".myapp")
    viper.AutomaticEnv()
    viper.ReadInConfig()
}

func main() {
    if err := rootCmd.Execute(); err != nil { os.Exit(1) }
}

Python — Click (group + command)

Read the full file on GitHub · 149 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. 1mo ago First seen · 149 lines · 21 tokens per session scan A 8b2a4d4c0480

Subscribe to this mod's changes

cli is a skill published in the GitHub repository re-cinq/wave (23 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 983 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-08-30.