LogoClawIndex
CasesSkillsAbout
LogoClawIndex

cli-tool-architect - Cross-language standards for designing command-line tools

Provides standards and recipes for CLI subcommand structures, configuration precedence, output formatting, exit codes, and shell completions.

Tags

Updated: 2026-09-24

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Design CLI subcommand hierarchy
  • Apply configuration precedence rules
  • Separate stdout data and stderr logs
  • Format output into JSON or YAML
  • Manage CLI exit codes and errors
  • Configure color and TTY behavior
  • Generate shell completion scripts

Inputs

  • CLI flags and positional arguments
  • Environment variables
  • TOML configuration files

Outputs

  • Stdout data in text, JSON, or YAML
  • Stderr logs and error messages
  • TOML configuration file
  • Shell completion scripts

Requirements

  • Go environment with cobra, pflag, and viper
  • Python environment with typer

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
cli
architecture
go
python
standards
Design CLI subcommand hierarchy
Apply configuration precedence rules
Separate stdout data and stderr logs
Format output into JSON or YAML
CLI flags and positional arguments
Environment variables
TOML configuration files
Stdout data in text, JSON, or YAML
Stderr logs and error messages
TOML configuration file