Agent skill

Domain CLI

by moeru-ai in moeru-ai/auv

A skill your agent uses when building CLI tools. An agent skill from moeru-ai/auv.

Apache-2.0Auto-check passedDevelopment

Install Domain CLI

skills CLI
$ npx skills add moeru-ai/auv --skill domain-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install moeru-ai/auv domain-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/moeru-ai/auv.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/domain-cli .claude/skills/domain-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
domain-cli
GitHub stars
100
Used in
1 other repo
Token cost
~988 tokens
SKILL.md length
209 words
Files
1
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when building CLI tools. An agent skill from moeru-ai/auv.

  • Building CLI tools
  • SKILL.md covers Domain Constraints → Design…, Critical Constraints, Trace Down ↓ and Key Crates, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Secrets management

What it does

Domain CLI is an agent skill from moeru-ai/auv. Use when building CLI tools. Keywords: CLI, command line, terminal, clap, structopt, argument parsing, subcommand, interactive, TUI, ratatui, crossterm, indicatif, progress bar, colored output, shell completion, config file, environment variable, 命令行, 终端应用, 参数解析

Its SKILL.md is about 990 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Secrets management. The repository describes itself as: 📱🐭 No we are not computer use, it's Application Use Via... a unified orchestration layer of OS automation, 0 token cost. The licence is Apache-2.0.

When your agent uses it

  • Building CLI tools
  • Tasks that involve Secrets management

Example prompts

  • “/domain-cli”

What it can do on your machine

Read from SKILL.md and the folder at commit 4042350. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are rust).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Domain CLI loads about 988 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 209 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~988

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from moeru-ai/auv at commit 4042350, republished under its Apache-2.0 licence (© moeru-ai). 209 words, ~988 tokens.

Download SKILL.mdSave it as .claude/skills/domain-cli/SKILL.md (or your agent's skills folder).
name
domain-cli
description
Use when building CLI tools. Keywords: CLI, command line, terminal, clap, structopt, argument parsing, subcommand, interactive, TUI, ratatui, crossterm, indicatif, progress bar, colored output, shell completion, config file, environment variable, 命令行, 终端应用, 参数解析
globs
**/Cargo.toml
user-invocable
false

CLI Domain

Layer 3: Domain Constraints

Domain Constraints → Design Implications

Domain RuleDesign ConstraintRust Implication
User ergonomicsClear help, errorsclap derive macros
Config precedenceCLI > env > fileLayered config loading
Exit codesNon-zero on errorProper Result handling
Stdout/stderrData vs errorseprintln! for errors
InterruptibleHandle Ctrl+CSignal 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

PurposeCrate
Argument parsingclap
Interactive promptsdialoguer
Progress barsindicatif
Colored outputcolored
Terminal UIratatui
Terminal controlcrossterm
Console utilitiesconsole

Design Patterns

PatternPurposeImplementation
Args structType-safe args#[derive(Parser)]
SubcommandsCommand hierarchy#[derive(Subcommand)]
Config layersOverride precedenceCLI > env > file
ProgressUser feedbackProgressBar::new(len)

Code Pattern: CLI Structure

rust
use clap::{Parser, Subcommand};

#[derive(Parser)]
#[command(name = "myapp", about = "My CLI tool")]
struct Cli {
    /// Enable verbose output
    #[arg(short, long)]
    verbose: bool,

    #[command(subcommand)]
    command: Commands,
}

#[derive(Subcommand)]
enum Commands {
    /// Initialize a new project
    Init { name: String },
    /// Run the application
    Run {
        #[arg(short, long)]
        port: Option<u16>,
    },
}

fn main() -> anyhow::Result<()> {
    let cli = Cli::parse();
    match cli.command {
        Commands::Init { name } => init_project(&name)?,
        Commands::Run { port } => run_server(port.unwrap_or(8080))?,
    }
    Ok(())
}

Common Mistakes

MistakeDomain ViolationFix
Errors to stdoutBreaks pipingeprintln!
No help textPoor UX#[arg(help = "...")]
Panic on errorBad exit codeResult + proper handling
No progress for long opsUser uncertaintyindicatif

Trace to Layer 1

ConstraintLayer 2 PatternLayer 1 Implementation
Type-safe argsDerive macrosclap Parser
Error handlingResult propagationanyhow + exit codes
User feedbackProgress RAIIindicatif ProgressBar
Config precedenceBuilder patternLayered sources

WhenSee
Error handlingm06-error-handling
Type-driven argsm05-type-driven
Progress lifecyclem12-lifecycle
Async CLIm07-concurrency

© moeru-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/domain-cli of moeru-ai/auv.

Open the folder on GitHubat commit 4042350

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in moeru-ai/auv, which our catalogue first saw on October 11, 2026.

Compare with similar skills

Domain CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Domain CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Domain CLI this skillmoeru-ai/auv1001 repos~988Automated safety check: PassApache-2.0
Git Gh Pat AuthNEventStore/NEventStore1.6k—~828Automated safety check: PassMIT
Git HooksProrise-cool/Claude-Code-Multi-Agent306—~3.6kAutomated safety check: NotesNone
Repo Auditzebbern/claude-code-guide4.7k—~831Automated safety check: PassMIT
CLI Channel Debuggingmicrosoft/aspire6.4k—~6.4kAutomated safety check: PassMIT
Batch Filesgithub/awesome-copilot40k1 repos~4.3kAutomated safety check: PassMIT

Similar skills

  • Git Gh Pat Auth

    NEventStore/NEventStore

    A skill your agent uses when: authenticating git and GitHub CLI for NEventStore tasks, fixing gh auth errors, setting PAT environment variables, preparing a shell session for git push and gh issue…

    1.6k GitHub stars~828 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Git Hooks

    Prorise-cool/Claude-Code-Multi-Agent

    Central authority on git hook implementations, modern best practices, and tooling for .NET/C, JavaScript/TypeScript, Python, and polyglot repositories.

    306 GitHub stars~3.6k tokensUpdated 25 days ago
    DevelopmentAuto-check: notes
  • Repo Audit

    zebbern/claude-code-guide

    Deep analysis of Git history: identify frequently changed hotspot files, analyze code ownership by contributor, and scan for leaked secrets.

    4.7k GitHub stars~831 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • CLI Channel Debugging

    microsoft/aspire

    Official

    Emulates any Aspire CLI build identity (channel, version, commit, package source) from a locally built CLI using ASPIRECLI environment variables and the install sidecar, so a reported bug can be…

    6.4k GitHub stars~6.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Batch Files

    github/awesome-copilot

    Official

    Expert-level Windows batch file (.bat/.cmd) skill for writing, debugging, and maintaining CMD scripts.

    40k GitHub starsUsed in 1 repo~4.3k tokens
    DevelopmentAuto-check passed
  • Specx Settings

    maksimzayats/specx

    Add runtime configuration to specx Python services with pydantic-settings.

    202 GitHub stars~707 tokensUpdated 2 mo ago
    DevelopmentAuto-check: notes

More from moeru-ai/auv

All 8 skills in this repo
  • Prepare, diagnose, and validate Linux GPU and Wayland environments for AUV rendering and capture through XDG Desktop Portal and PipeWire.

    100 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Use Buf

    moeru-ai/auv

    Configure, inspect, update, validate, and troubleshoot Buf workspaces and modules.

    100 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Use Protobuf

    moeru-ai/auv

    Design, change, and review Protobuf schemas used as gRPC contracts, streaming protocols, typed data models, grpc-gateway REST APIs, OpenAPI specifications, or generated SDK inputs.

    100 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • A skill your agent uses when building cloud-native apps. An agent skill from moeru-ai/auv.

    100 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Domain ML

    moeru-ai/auv

    A skill your agent uses when building ML/AI apps in Rust. An agent skill from moeru-ai/auv.

    100 GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Use Pixi

    moeru-ai/auv

    A skill your agent uses when explaining, creating, or changing a Pixi workspace, including manifests, dependencies, platforms, targets, features, environments, tasks, lockfiles, editable Python…

    100 GitHub stars~1.3k tokensUpdated today
    Auto-check passed

Questions about Domain CLI

What does Domain CLI do?

A skill your agent uses when building CLI tools. An agent skill from moeru-ai/auv. Domain CLI is an agent skill from moeru-ai/auv. Use when building CLI tools.

When should I use Domain CLI?

Domain CLI fits situations like: building CLI tools; tasks that involve Secrets management.

How do I install Domain CLI in Claude Code?

Run `npx skills add moeru-ai/auv --skill domain-cli -a claude-code`. Or copy the skill folder (.agents/skills/domain-cli in moeru-ai/auv) into .claude/skills/domain-cli in your project. Claude Code loads it when a task matches its description.

How do I install Domain CLI in Codex?

Run `npx skills add moeru-ai/auv --skill domain-cli -a codex`. Or copy the skill folder (.agents/skills/domain-cli in moeru-ai/auv) into .agents/skills/domain-cli in your project. Codex loads it when a task matches its description.

Can I use Domain CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add moeru-ai/auv --skill domain-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/domain-cli, .gemini/skills/domain-cli, .github/skills/domain-cli and .opencode/skills/domain-cli in your project.

What does Domain CLI need to run?

SKILL.md names no scripts, command-line tools or credentials: Domain CLI is instructions for the agent only.

Does Domain CLI access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Domain CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Domain CLI use?

Domain CLI is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Domain CLI use?

About 988 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Domain CLI?

Skills that share tags, products or a category with Domain CLI: Git Gh Pat Auth (NEventStore/NEventStore, 1.6k stars), Git Hooks (Prorise-cool/Claude-Code-Multi-Agent, 306 stars), Repo Audit (zebbern/claude-code-guide, 4.7k stars) and CLI Channel Debugging (microsoft/aspire, 6.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Domain CLI?

moeru-ai (a GitHub organization) maintains it in moeru-ai/auv, which has 100 GitHub stars. The repository was last updated on October 11, 2026.

Source: moeru-ai/auv on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.