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
cliarchitecturegopythonstandards

Capabilities

Design CLI subcommand hierarchyApply configuration precedence rulesSeparate stdout data and stderr logsFormat output into JSON or YAML

Typical Inputs

CLI flags and positional argumentsEnvironment variablesTOML configuration files

Typical Outputs

Stdout data in text, JSON, or YAMLStderr logs and error messagesTOML configuration file

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.