Agent skill

Command Creator

by softspark in softspark/ai-toolkit

Creates new Claude Code slash commands with frontmatter and validation.

Apache-2.0Auto-check: notesAgent Workflows

Install Command Creator

skills CLI
$ npx skills add softspark/ai-toolkit --skill command-creator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install softspark/ai-toolkit command-creator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/softspark/ai-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/app/skills/command-creator .claude/skills/command-creator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
command-creator
GitHub stars
179
Token cost
~977 tokens
SKILL.md length
313 words
Files
1
Skills in repo
112
Repo updated
First seen
Licence
Apache-2.0

At a glance

Creates new Claude Code slash commands with frontmatter and validation.

  • Works in 6 steps: Capture intent -- what should the… → Pick scope -- project command, user… → Define frontmatter -- description,… → …
  • Tasks that involve Hooks and plugins
  • SKILL.md covers Workflow, Command Locations, Frontmatter Template and Command Authoring Rules, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Command Creator is an agent skill from softspark/ai-toolkit. Creates new Claude Code slash commands with frontmatter and validation. Triggers: new slash command, create command, command scaffold.

Its SKILL.md is about 980 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Hooks and plugins. The repository describes itself as: Professional-grade AI coding toolkit: 94 skills, 44 agents, multi-platform (Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, Augment, Antigravity, Codex CLI… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Hooks and plugins

Example prompts

  • “Use the command-creator skill to create new Claude Code slash commands with frontmatter and validation”
  • “/command-creator”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash, Grep, Glob

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit d64db2b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • agentskills.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Command Creator loads about 977 tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 313 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~977

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash, Grep, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from softspark/ai-toolkit at commit d64db2b, republished under its Apache-2.0 licence (© softspark). 313 words, ~977 tokens.

Download SKILL.mdSave it as .claude/skills/command-creator/SKILL.md (or your agent's skills folder).
name
command-creator
description
Creates new Claude Code slash commands with frontmatter and validation. Triggers: new slash command, create command, command scaffold.
allowed-tools
Read, Write, Edit, Bash, Grep, Glob
effort
high
disable-model-invocation
true
argument-hint
[command name or description]

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

yaml
---
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

markdown
---
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

Follow Anthropic's Gotchas guidance: "concrete corrections to mistakes the agent will make without being told otherwise" — not general advice. Omit the section when no domain traps exist.

Validation Checklist

  • Command file uses markdown and valid YAML frontmatter
  • Description ≥50 chars, third-person, with trigger hint
  • At least one concrete code-fenced example
  • ## Rules with MUST / NEVER / CRITICAL (prescriptive)
  • ## Gotchas when the command has real environment-specific traps (optional)
  • ## When NOT to Use section naming 2-3 adjacent commands
  • Body is instruction-oriented, not user-facing prose
  • $ARGUMENTS is present when arguments are expected
  • Validation steps are explicit
  • Command has been tested with at least one realistic invocation

© softspark, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in app/skills/command-creator of softspark/ai-toolkit.

Open the folder on GitHubat commit d64db2b

Compare with similar skills

Command Creator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Command Creator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Command Creator this skillsoftspark/ai-toolkit179—~977Automated safety check: NotesApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official37k11 repos~4.1kAutomated safety check: NotesApache-2.0
Claude Code Agent Developmentanthropics/claude-plugins-official37k8 repos~2.8kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k10 repos~3.5kAutomated safety check: PassMIT
Plugin Settings Patternanthropics/claude-plugins-official37k7 repos~3kAutomated safety check: PassApache-2.0
MCP Integration for Pluginsanthropics/claude-plugins-official37k11 repos~3.1kAutomated safety check: PassApache-2.0

Similar skills

  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    37k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    37k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 10 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Plugin Settings Pattern

    anthropics/claude-plugins-official

    Official

    Shows how Claude Code plugins keep per-project settings and state in .claude/plugin-name.local.md files with YAML frontmatter and a markdown body.

    37k GitHub starsUsed in 7 repos~3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    37k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    37k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed

More from softspark/ai-toolkit

All 112 skills in this repo
  • Prepare Test Env

    softspark/ai-toolkit

    Prepare or verify a project QA environment with source identity, readiness, browser access, evidence paths and owned cleanup.

    179 GitHub stars~1.8k tokensUpdated today
    Auto-check: notes
  • A11y Validate

    softspark/ai-toolkit

    Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~3.8k tokensUpdated today
    Auto-check: notes
  • Analyze

    softspark/ai-toolkit

    Analyzes code quality, complexity, patterns across codebase.

    179 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Autonomous Dev

    softspark/ai-toolkit

    Drives a brief, specification, issue or existing PR through implementation, review, tests and QA to a ready PR.

    179 GitHub stars~2.6k tokensUpdated today
    Auto-check: notes
  • Brand Voice

    softspark/ai-toolkit

    Direct technical voice for docs, README, user-facing text. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • CI

    softspark/ai-toolkit

    Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI).

    179 GitHub stars~1.1k tokensUpdated today
    Auto-check: notes

Categories

Questions about Command Creator

What does Command Creator do?

Creates new Claude Code slash commands with frontmatter and validation. Command Creator is an agent skill from softspark/ai-toolkit. Creates new Claude Code slash commands with frontmatter and validation.

When should I use Command Creator?

Command Creator fits situations like: tasks that involve Hooks and plugins.

How do I install Command Creator in Claude Code?

Run `npx skills add softspark/ai-toolkit --skill command-creator -a claude-code`. Or copy the skill folder (app/skills/command-creator in softspark/ai-toolkit) into .claude/skills/command-creator in your project. Claude Code loads it when a task matches its description.

How do I install Command Creator in Codex?

Run `npx skills add softspark/ai-toolkit --skill command-creator -a codex`. Or copy the skill folder (app/skills/command-creator in softspark/ai-toolkit) into .agents/skills/command-creator in your project. Codex loads it when a task matches its description.

Can I use Command Creator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add softspark/ai-toolkit --skill command-creator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/command-creator, .gemini/skills/command-creator, .github/skills/command-creator and .opencode/skills/command-creator in your project.

What does Command Creator need to run?

SKILL.md names no scripts, command-line tools or credentials: Command Creator is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Grep, Glob.

Does Command Creator access the network?

SKILL.md names 1 domain. As links in the text: agentskills.io. This is read from the text; nothing was executed.

Is Command Creator safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Command Creator use?

Command Creator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Command Creator use?

About 977 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Command Creator?

Skills that share tags, products or a category with Command Creator: Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 37k stars), Claude Code Agent Development (anthropics/claude-plugins-official, 37k stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars) and Plugin Settings Pattern (anthropics/claude-plugins-official, 37k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Command Creator?

softspark (a GitHub user) maintains it in softspark/ai-toolkit, which has 179 GitHub stars. The repository holds 112 skills in this directory. The repository was last updated on October 7, 2026.

Source: softspark/ai-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.