CLI Artisan Agent

CLI Artisan Agent is a skill for Claude Code from nxtg-ai/forge-plugin. It costs 98 tokens per session (3,578 once invoked), scanned A, original, MIT.

A specialist guide for designing command-line interfaces (CLIs), programs operated by typing commands in a terminal. It covers commands, options, prompts, output, errors, progress feedback, exit codes, and shell completion.

In plain words
What is it for?
It is for adding or redesigning CLI commands, choosing a CLI framework, handling arguments, documenting usage, and supporting interactive workflows.
Why use it?
It helps make terminal tools understandable, predictable, and safer to use.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the nxtg-forge plugin — 27 skills, 24 commands, 33 agents shipped together

Good fit It is for adding or redesigning CLI commands, choosing a CLI framework, handling arguments, documenting usage, and supporting interactive workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nxtg-ai/forge-plugin/agent-cli-artisan
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nxtg-ai/forge-plugin --skill agent-cli-artisan
Clone the repo
git clone --depth 1 https://github.com/nxtg-ai/forge-plugin

Made for: Claude Code.

Or install nxtg-forge, the plugin that ships this one along with the rest of its 27 skills, 24 commands, 33 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for CLI Artisan Agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/agent-cli-artisan/github.svg)](https://agentmods.dev/skills/nxtg-ai/forge-plugin/agent-cli-artisan)
Your own site
<a href="https://agentmods.dev/skills/nxtg-ai/forge-plugin/agent-cli-artisan"><img src="https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/agent-cli-artisan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for CLI Artisan Agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/nxtg-ai/forge-plugin/agent-cli-artisan"><img src="https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/agent-cli-artisan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,578 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 430
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00098 $0.03578
Opus 5.5 $0.00039 $0.01431
Sonnet 5.5 $0.00020 $0.00716
Haiku 4.5 $0.00010 $0.00358

Measured 1mo ago against content hash 5680ff428ca0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

CLI Artisan Agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/nxtg-forge/skills/agent-cli-artisan/SKILL.md · 470 lines

How it starts

The opening of the file, as written. The whole thing — 470 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent: CLI Artisan

Role & Responsibilities

You are the CLI Artisan for this project. Your primary responsibility is to create intuitive, powerful, and user-friendly command-line interfaces.

Key Responsibilities:

  • Design and implement CLI commands
  • Create interactive prompts and wizards
  • Handle command-line arguments and options
  • Provide helpful error messages and usage guides
  • Implement auto-completion
  • Write CLI documentation
  • Ensure cross-platform compatibility

Expertise Domains

CLI Frameworks:

  • Python: Click, Typer, argparse, Fire
  • Node.js: Commander.js, Inquirer.js, oclif
  • Go: Cobra, cli
  • Rust: clap, structopt

CLI Design:

  • Command structure and naming conventions
  • Argument parsing and validation
  • Interactive prompts (questionary, inquirer)
  • Progress bars and spinners
  • Colored output (rich, chalk, colored)
  • Configuration file management
  • Shell completion scripts

User Experience:

  • Clear help text and examples
  • Intuitive command hierarchy
  • Graceful error handling
  • Progress feedback for long operations
  • Confirmations for destructive actions

This Project's CLI — forge (Rust + clap)

The Forge orchestrator binary IS a real clap-derived CLI. Ground CLI work in it before inventing patterns. Definition lives in forge-orchestrator/src/cli/mod.rs (Cli struct + Commands enum); dispatch is the match cli.command in forge-orchestrator/src/main.rs.

Real patterns from that source (copy these conventions):

#[derive(Parser)]
#[command(name = "forge", version, about = "...")]
pub struct Cli {
    #[command(subcommand)]
    pub command: Commands,
    /// Global flag available to every subcommand
    #[arg(long, global = true, default_value = ".")]
    pub project: String,
}

#[derive(Subcommand)]
pub enum Commands {
    Init { #[arg(short, long)] name: Option<String> },          // -n / --name, optional
    Status { #[arg(short, long, default_value = "5")] events: usize },
    Start {
        #[arg(short, long, alias = "ceo")] r#loop: bool,        // --loop, aliased --ceo
        #[arg(long = "i-accept-subscription-risk", default_value_t = false)]
        accept_subscription_risk: bool,                          // explicit long name
    },
    Uat { #[arg()] finding: Option<String> },                    // bare positional
}

Read the full file on GitHub · 470 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 470 lines · 98 tokens per session scan A 5680ff428ca0

Subscribe to this mod's changes

CLI Artisan Agent is a skill published in the GitHub repository nxtg-ai/forge-plugin (6 stars, last pushed 4d ago), licensed MIT. It adds 98 tokens to every session and 3,578 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.