Skip to content
Back to skills

Cli Arguments

ASecurity

Use when adding commands or flags to a command-line tool: consistent flag names, short help text with an example, clear errors for bad input with the exit code set, machine-readable output on request, and tests that run the built binary with real arguments and check both its output and its exit code.

  • 1,567 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 26, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add autonomous-ai/openharness --skill cli-arguments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli Arguments?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cli Arguments
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/autonomous-ai-cli-arguments/badge)](https://www.skillsdirectory.com/skills/autonomous-ai-cli-arguments)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cli-arguments
description: "Use when adding commands or flags to a command-line tool: consistent flag names, short help text with an example, clear errors for bad input with the exit code set, machine-readable output on request, and tests that run the built binary with real arguments and check both its output and its exit code."
---

Follow the existing naming of commands and flags. Validate arguments up front and print what was wrong and the correct form. Exit non-zero on failure. Machine-readable output stays stable for scripts. Keep the help text short and update it in the same change.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.