command-creator

command-creator is a skill for Claude Code from softspark/ai-toolkit. It costs 29 tokens per session (923 once invoked), scanned A, original, Apache-2.0.

A scaffold for creating new Claude Code slash commands, which are reusable commands invoked with a slash such as `/review` or `/plan`. It covers command metadata, instructions, permissions, and validation.

In plain words
What is it for?
Use it to create project, user, or plugin commands with defined arguments, tools, models, and expected checks.
Why use it?
It provides a consistent structure for commands instead of requiring each one to be designed from scratch.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the ai-toolkit plugin — 115 skills, 44 agents, 14 hooks shipped together

Good fit Use it to create project, user, or plugin commands with defined arguments, tools, models, and expected checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/softspark/ai-toolkit/command-creator
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 softspark/ai-toolkit --skill command-creator
Clone the repo
git clone --depth 1 https://github.com/softspark/ai-toolkit

Made for: Claude Code.

Or install ai-toolkit, the plugin that ships this one along with the rest of its 115 skills, 44 agents, 14 hooks.

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 command-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/softspark/ai-toolkit/command-creator/github.svg)](https://agentmods.dev/skills/softspark/ai-toolkit/command-creator)
Your own site
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/command-creator"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/command-creator/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 command-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/command-creator"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/command-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 923 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 Rogue Agent · line 3
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00029 $0.00923
Opus 5.5 $0.00012 $0.00369
Sonnet 5.5 $0.00006 $0.00185
Haiku 4.5 $0.00003 $0.00092

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

Security

Grade A, and why

command-creator 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.

app/skills/command-creator/SKILL.md · 113 lines

How it starts

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

Command Creator

$ARGUMENTS

Create a new Claude Code slash command following ai-toolkit conventions.

Workflow

  1. Capture intent -- what should the command do and who invokes it?
  2. Pick scope -- project command, user command, or plugin command?
  3. Define frontmatter -- description, argument hint, allowed tools, model if needed
  4. Write command body -- instructions for Claude, not explanation for the user
  5. Add validation context -- expected output, constraints, follow-up checks
  6. Test and iterate -- invoke the command with representative arguments

Command Locations

  • Project: .claude/commands/<name>.md
  • User: ~/.claude/commands/<name>.md
  • Plugin: plugin-name/commands/<name>.md

In ai-toolkit, command-development guidance belongs in skill form and any reusable command templates should live under app/skills/<skill-name>/templates/ or KB docs.

Frontmatter Template

---
description: "One-line help text shown in /help"
argument-hint: "[target]"
allowed-tools: Read, Grep, Bash
model: sonnet
---

Command Authoring Rules

  • Write commands as instructions for Claude, not marketing copy for the user
  • Keep the first paragraph action-oriented and deterministic
  • Use $ARGUMENTS early when the command takes user input
  • Prefer numbered phases for multi-step workflows
  • List required checks explicitly (lint, tests, docs, etc.)
  • Avoid hidden assumptions about project structure unless the command is project-specific
  • Description ≥50 chars with a trigger hint (Use when…) — short descriptions cause adjacent commands to fight for the same query
  • Include hard rules (MUST / NEVER / CRITICAL) so the agent cannot improvise around safety boundaries
  • Include "When NOT to use" naming 2-3 adjacent commands, to prevent over-triggering

Minimal Template

---
description: "{Third-person description, min 50 chars, with trigger hint like 'Use when...'}"
argument-hint: "[arguments]"
allowed-tools: Read, Grep, Bash
---

# {Command Title}

$ARGUMENTS

Perform the requested task using this workflow:

1. Gather context from the repository.
2. Ask clarifying questions if critical information is missing.
3. Execute the task using the smallest safe set of changes.
4. Validate the result.
5. Summarize outcome and follow-up actions.

## Example

\`\`\`
/{command} example-argument
\`\`\`

## Rules

- **MUST** {non-negotiable rule}
- **NEVER** {forbidden action}

## Gotchas

- {environment-specific trap — only if the command has one; omit the section otherwise}

## When NOT to Use

- For {adjacent use case} -- use `/{other-command}` instead
- If {precondition} is not met

Read the full file on GitHub · 113 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 · 113 lines · 29 tokens per session scan A c5693e523df9

Subscribe to this mod's changes

command-creator is a skill published in the GitHub repository softspark/ai-toolkit (180 stars, last pushed yesterday), licensed Apache-2.0. It adds 29 tokens to every session and 923 once invoked, about $0.0001 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.