command-add

A scaffolding tool for creating a new slash command file from a template, including its basic metadata and command structure.

In plain words
What is it for?
Use it to create simple commands, multi-stage workflows, or plugin commands with a chosen name, description, output folder, and prefilled tools.
Why use it?
It removes the repetitive setup work and helps start commands with the fields and tools expected by the target platform.

Command

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.

agentmods
npx agentmods add commands/gobing-ai/superskill/command-add
Clone the repo
git clone --depth 1 https://github.com/gobing-ai/superskill
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 660 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00010 $0.00660
Opus 5 $0.00005 $0.00330
Sonnet 5 $0.00002 $0.00132
Haiku 4.5 $0.00001 $0.00066

Measured 2d ago against content hash 9b757fcf9b87, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

command-add 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 2d 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/cc/commands/command-add.md · 77 lines

How it starts

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

Command Add

Wraps cc:cc-commands skill.

Scaffold a new slash command file from a tiered template. Delegates to cc:cc-commands skill.

When to Use

  • Create a new slash command from scratch
  • Initialize a command with proper frontmatter, argument-hint, and allowed-tools
  • Pick a template tier (simple / workflow / plugin) matching the command's shape

Arguments

Argument Description Default
<name> Name of the command (hyphen-case) (required)
--description Free-text description of the command's purpose auto-generated
--target Target platform claude
--output Output directory ./commands
--template Template tier: simple, workflow, or plugin default
--tools Comma-separated tool names to pre-populate frontmatter (tier default)
--force Overwrite existing file false

Template Tiers

  • simple — argument-hint + allowed-tools + skill-delegation body; for single-operation wrappers
  • workflow — richer toolset (Task/Skill) + multi-stage arguments; for orchestrated pipeline commands
  • plugin — plugin-scoped arguments + direct CLI execution path; for commands acting on an installed plugin

A freshly scaffolded command PASSes the project's own evaluator (superskill command evaluate) out of the box.

Examples

# Scaffold a default command (most common)
/cc:command-add my-command
# Scaffold with a description of its purpose
/cc:command-add deploy --description "Deploy the service"
# Scaffold a workflow-style command with explicit tools
/cc:command-add run-task --template workflow --tools Read,Write,Bash,Task
# Scaffold a plugin-scoped command
/cc:command-add install-plugin --template plugin

Discovery Discipline

Before scaffolding, run the grill-style discovery interview — explore sibling artifacts, the target repo, and prior evaluations first; then one question at a time, each with a recommended answer. Single copy: cc:cc-skills workflows reference § "Grill-style discovery".

Read the full file on GitHub · 77 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. 2d ago First seen · 77 lines · 10 tokens per session scan A 9b757fcf9b87

Subscribe to this mod's changes

command-add is a command published in the GitHub repository gobing-ai/superskill (5 stars, last pushed 6d ago), licensed Apache-2.0. It adds 10 tokens to every session and 660 once invoked, about $0.0001 per session on Opus 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-08-31.