/skill-tools:create-slash-command <command-name> <description>from skill-tools
Creates a new Claude Code slash command with proper YAML frontmatter and structure. Useful for extending Claude's capabilities with custom commands.
Ships in skill-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
I'll help you create a new Claude command. Based on the Claude Code slash commands documentation at https://docs.anthropic.com/en/docs/claude-code/slash-commands, I'll create a properly structured command file.
Command details needed:
I'll create the command in .claude/commands/ with:
Proper frontmatter including:
description: Brief explanation of what the command doesargument-hint: Description of expected arguments (if any)allowed-tools (specify permitted tools for security)model (select specific AI model)disable-model-invocation (prevent automatic tool calling)Clear command prompt that:
$ARGUMENTS: Captures all arguments passed to the command$1, $2, etc.: Access individual arguments by positionFile structure:
.claude/commands/<command-name>.mdBest practices:
allowed-tools for security when commands need specific tool accessargument-hint to guide users on expected inputThe command will be immediately available for use with /<command-name> and will appear in the help listing.
Example of a well-structured command:
---
allowed-tools: Bash(git add:*), Bash(git commit:*)
argument-hint: [commit message]
description: Create a git commit
---
Create a git commit with message: $ARGUMENTS
Would you like me to create this command now? Please provide:
You can also reference specific files using @ syntax if the command should operate on particular files or directories.
What SKILL.md sets; muted values are Claude Code's defaults
mediumThree short reads, in order
Other plugins' skills for the same job
npx claudepluginhub jtsternberg/claude-plugins --plugin skill-tools6 skills in this plugin
/review-slash-commandReview a slash command for opportunities to split into subagents