add-command

An interactive wizard for creating slash commands, which are commands invoked with a leading slash in an agent tool. It generates documented command files with usage details, coordination patterns, validation, and tests.

In plain words
What is it for?
Use it to gather requirements and create a documented, validated slash command that fits the RealmWorks agent ecosystem.
Why use it?
It removes repetitive setup work and helps new commands match the project’s existing structure.

Command for Claude Code

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/thelobbi/claude/add-command
Clone the repo
git clone --depth 1 https://github.com/TheLobbi/claude

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,402 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.00000 $0.03402
Opus 5 $0.00000 $0.01701
Sonnet 5 $0.00000 $0.00680
Haiku 4.5 $0.00000 $0.00340

Measured yesterday against content hash 17341139b316, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

add-command 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 yesterday.

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.

.claude/commands/add-command.md · 478 lines

How it starts

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

Add Slash Command

Interactive wizard for creating new slash commands with comprehensive documentation, agent coordination workflows, usage examples, and integration with the existing agent ecosystem.

Purpose

Streamlines the creation of new slash commands by providing an interactive template-based wizard that ensures consistency, completeness, and integration with the RealmWorks architecture. Auto-generates command markdown with proper structure, agent coordination patterns, success criteria, and validation.

Multi-Agent Coordination Strategy

Uses guided creation pattern with interactive prompts, template generation, validation, and documentation.

Command Creation Architecture

``` ┌──────────────────────────────────────────────────┐ │ Command Creation Wizard │ │ (master-strategist) │ └────────────┬─────────────────────────────────────┘ │ ┌────────┼────────┬────────┬────────┬─────────┐ ▼ ▼ ▼ ▼ ▼ ▼ Prompt Template Agent Validate Doc Test User Generate Coord Gen ```

Execution Flow

Phase 1: Interactive Requirements Gathering (0-10 mins)

  1. requirements-gatherer - Interactive prompts for command details
  2. existing-command-analyzer - Analyze existing commands for patterns
  3. name-validator - Validate command name uniqueness
  4. category-selector - Determine command category
  5. agent-suggester - Suggest appropriate agents

Prompts:

  • Command name (e.g., /my-command)
  • Command purpose (one-sentence description)
  • Category (meta-tools, rpg, platform, devex, operations)
  • Primary use case
  • Target agents (from 23-agent ecosystem)
  • Expected execution time
  • Success criteria

Phase 2: Template Generation (10-20 mins)

  1. template-selector - Select appropriate command template
  2. structure-generator - Generate markdown structure
  3. agent-coordinator - Define agent coordination strategy
  4. execution-flow-builder - Build multi-phase execution flow
  5. example-generator - Generate realistic usage examples

Read the full file on GitHub · 478 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. yesterday First seen · 478 lines · 0 tokens per session scan A 17341139b316

Subscribe to this mod's changes

add-command is a command published in the GitHub repository TheLobbi/claude (21 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,402 tokens. 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.