domain-cli

domain-cli is a skill for Claude Code, Codex 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 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/moeru-ai/auv/domain-cli
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, 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 domain-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/moeru-ai/auv/domain-cli.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.svg" alt="Measured on agentmods" 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. 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.00073 $0.00959
Opus 5 $0.00036 $0.00479
Sonnet 5 $0.00015 $0.00192
Haiku 4.5 $0.00007 $0.00096

Measured 5d ago against content hash 82faba357adb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (25 stars, last pushed 5d ago), licensed Apache-2.0. It adds 73 tokens to every session and 959 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

axstream

Fast deterministic macOS UI automation via replayable macros. Use BEFORE driving any macOS app's UI by hand (clicking/typing via computer-use or screenshots) — if a macro exists, replay finishes the task in seconds with no per-step reasoning; after doing a UI task manually, save it as a macro so the next run is fast.…

milind-soni/axstream · 96 tokens

open-compute-bridge

Bindet das model-agnostische Computer-Use-Modul open-compute (Screenshot-Wahrnehmung, Windows-UIA-Elementklicks, sicherheitsgegatete Aktionen) fuer ALLE Agenten des Systems ein -- Claude Code, Codex und agy/Antigravity. Nutzen, wenn ein Dienst eine interaktive GUI- oder Browser-Aktion braucht, die kein reiner…

ellmos-ai/skills · 149 tokens

rust-skills

Comprehensive Rust coding guidelines with 179 rules across 14 categories. Use when writing, reviewing, or refactoring Rust code. Covers ownership, error handling, async patterns, API design, memory optimization, performance, testing, and common anti-patterns. Invoke with /rust-skills.

kalamdb/KalamDB · 62 tokens

computer-use

Drive macOS apps in the background using the background-computer-use MCP tools. Use when the user asks you to click inside another app, automate a GUI, type into a specific app, read an app's UI, or "use my Mac" without moving the cursor or focusing the app. Also use when the user mentions apps by name (Safari…

Panchangam18/background-computer-use · 106 tokens

chrome

Google Chrome heuristics for background-computer-use. Use when the user asks you to navigate, scroll, click links, fill forms, or otherwise drive Chrome without stealing focus. Also applies to Chromium-family browsers (Brave, Edge, Arc) that share the same AppleScript JavaScript execution primitive.

Panchangam18/background-computer-use · 62 tokens

apple-music

Apple Music (Music.app) playback and search heuristics for background-computer-use. Use when the user asks you to play a song, add to the queue, adjust volume, or search the library via Apple Music.

Panchangam18/background-computer-use · 48 tokens