domain-cli

domain-cli is a skill for Claude Code from moeru-ai/auv. It costs 73 tokens per session (959 once invoked), scanned A, original, Apache-2.0.

A set of design rules for building command-line tools, which are programs operated from a terminal. It covers command options, configuration, errors, output, exit codes, interruption, and shell completion.

In plain words
What is it for?
Designing terminal tools with argument parsing, subcommands, interactive interfaces, progress output, configuration files, environment variables, help text, and Ctrl+C handling.
Why use it?
It helps command-line programs behave predictably for people and scripts, including clear errors and consistent configuration priority.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Designing terminal tools with argument parsing, subcommands, interactive interfaces, progress output, configuration files, environment variables, help text, and Ctrl+C handling.

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

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 domain-cli

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/moeru-ai/auv/domain-cli"><img src="https://agentmods.dev/badge/skills/moeru-ai/auv/domain-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 959 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.00073 $0.00959
Opus 5.5 $0.00029 $0.00384
Sonnet 5.5 $0.00015 $0.00192
Haiku 4.5 $0.00007 $0.00096

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

Security

Grade A, and why

domain-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.

.agents/skills/domain-cli/SKILL.md · 162 lines

How it starts

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

CLI Domain

Layer 3: Domain Constraints

Domain Constraints → Design Implications

Domain Rule Design Constraint Rust Implication
User ergonomics Clear help, errors clap derive macros
Config precedence CLI > env > file Layered config loading
Exit codes Non-zero on error Proper Result handling
Stdout/stderr Data vs errors eprintln! for errors
Interruptible Handle Ctrl+C Signal handling

Critical Constraints

User Communication

RULE: Errors to stderr, data to stdout
WHY: Pipeable output, scriptability
RUST: eprintln! for errors, println! for data

Configuration Priority

RULE: CLI args > env vars > config file > defaults
WHY: User expectation, override capability
RUST: Layered config with clap + figment/config

Exit Codes

RULE: Return non-zero on any error
WHY: Script integration, automation
RUST: main() -> Result<(), Error> or explicit exit()

Trace Down ↓

From constraints to design (Layer 2):

"Need argument parsing"
    ↓ m05-type-driven: Derive structs for args
    ↓ clap: #[derive(Parser)]

"Need config layering"
    ↓ m09-domain: Config as domain object
    ↓ figment/config: Layer sources

"Need progress display"
    ↓ m12-lifecycle: Progress bar as RAII
    ↓ indicatif: ProgressBar

Key Crates

Purpose Crate
Argument parsing clap
Interactive prompts dialoguer
Progress bars indicatif
Colored output colored
Terminal UI ratatui
Terminal control crossterm
Console utilities console

Design Patterns

Pattern Purpose Implementation
Args struct Type-safe args #[derive(Parser)]
Subcommands Command hierarchy #[derive(Subcommand)]
Config layers Override precedence CLI > env > file
Progress User feedback ProgressBar::new(len)

Code Pattern: CLI Structure

Read the full file on GitHub · 162 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. 1mo ago First seen · 162 lines · 73 tokens per session scan A 82faba357adb

Subscribe to this mod's changes

domain-cli is a skill published in the GitHub repository moeru-ai/auv (120 stars, last pushed today), licensed Apache-2.0. It adds 73 tokens to every session and 959 once invoked, about $0.0003 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.