Skip to content
Back to skills

Forge Cli Tools

ASecurity

Build command-line tools with clear help, stable flags, proper exit codes, machine-readable output and good errors

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agentsgoapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ansh44233/forge --skill forge-cli-tools --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forge Cli Tools?

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

Security grade badge for Forge Cli Tools
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ansh44233-forge-cli-tools/badge)](https://www.skillsdirectory.com/skills/ansh44233-forge-cli-tools)

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: forge-cli-tools
description: Build command-line tools with clear help, stable flags, proper exit codes, machine-readable output and good errors
---

<!-- Generated from catalog/skills/cli-tools/SKILL.md by scripts/build-plugin.ts. Edit the catalog, not this file. -->

# CLI tools

A CLI is an API for humans and scripts at the same time.

## Interface
- Use a parser library (commander, yargs, click, typer, cobra, clap) with `--help` and `--version`.
- Flags over positional args for anything optional; consistent names (`--dry-run`, `--json`, `--yes`).

## Behavior
- Exit 0 on success, non-zero on failure, distinct codes for distinct failures.
- Results to stdout, logs and progress to stderr; `--json` for scripts; no color when not a TTY or with `NO_COLOR`.
- Confirm destructive actions unless `--yes`; support `--dry-run`.

## Errors
- Say what went wrong and how to fix it; no stack traces unless `--verbose`.

## Verify
Tests run the CLI as a subprocess for success, invalid input (non-zero exit, helpful stderr) and `--json` output parsing.

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.