# Cli Command Definition

> Define CLI commands, arguments, and options using commander with styled banners and versioning.

- **Type:** Skill
- **Install:** `agentstack add skill-shyamsridhar123-agentsmith-cli-cli-command-definition`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [shyamsridhar123](https://agentstack.voostack.com/s/shyamsridhar123)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [shyamsridhar123](https://github.com/shyamsridhar123)
- **Source:** https://github.com/shyamsridhar123/agentsmith-cli/tree/main/.github/skills/cli-command-definition
- **Website:** https://github.com/shyamsridhar123/agentsmith-cli

## Install

```sh
agentstack add skill-shyamsridhar123-agentsmith-cli-cli-command-definition
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Cli Command Definition

Define CLI commands, arguments, and options using commander with styled banners and versioning.

## When to Use

Use this skill when:

- Working with code in `src\main.ts/`
- User mentions "cli"
- User mentions "command"
- User mentions "commander"
- User mentions "agentsmith"
- User mentions "main"

## Patterns

- commander program setup with .command().argument().option().action()
- chalk-based banner and colored output
- semantic versioning via .version() and help text via .addHelpText()

## Examples

```
program.command("assimilate").argument("").option("-n, --dry-run").action(assimilateCommand);
```

## Category

**architecture** - Structural patterns and system design

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [shyamsridhar123](https://github.com/shyamsridhar123)
- **Source:** [shyamsridhar123/agentsmith-cli](https://github.com/shyamsridhar123/agentsmith-cli)
- **License:** MIT
- **Homepage:** https://github.com/shyamsridhar123/agentsmith-cli

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-shyamsridhar123-agentsmith-cli-cli-command-definition
- Seller: https://agentstack.voostack.com/s/shyamsridhar123
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
