Scaffold Cli Command
Skill Verified ActiveScaffold a new CLI command using Commander.js with options, action handler, three output modes (human-readable, quiet, JSON), and optional ceremony variant. Covers command naming, option design, shared context patterns, error handling, and integration testing. Use when adding a command to an existing Commander.js CLI, designing a new CLI tool from scratch, or standardizing command structure across a multi-command CLI.
To reliably generate new CLI commands following best practices for Commander.js, ensuring consistency in structure, output, and error handling.
Features
- Scaffolds new CLI commands with Commander.js
- Supports multiple output modes (human-readable, quiet, JSON)
- Includes optional ceremony variant for narrative output
- Covers command naming, option design, and shared context patterns
- Provides error handling and integration testing guidance
Use Cases
- Adding a command to an existing Commander.js CLI
- Designing a new CLI tool from scratch
- Standardizing command structure across a multi-command CLI
Non-Goals
- Building the entire CLI application
- Handling complex state management beyond command execution
- Interacting with external services not related to command scaffolding
Installation
/plugin install agent-almanac@pjt222-agent-almanacQuality Score
VerifiedTrust Signals
Similar Extensions
Trader Regime
100Detect current market regime using npx neural-trader — bull/bear/ranging/volatile classification with recommended strategy
Cli Creator
100Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read/write commands, return stable JSON, manage auth, and pair with a companion skill.
Setup
100Use first for install/update routing — sends setup, doctor, or MCP requests to the correct OMC setup flow
Project Session Manager
100Worktree-first dev environment manager for issues, PRs, and features with optional tmux sessions
Mcp Setup
100Configure popular MCP servers for enhanced agent capabilities
Oh My Claudecode
100Process-first advisor routing for Claude, Codex, or Gemini via `omc ask`, with artifact capture and no raw CLI assembly