/toolkit:claude-code-slash-commandsfrom toolkit
Guides creating custom slash commands for Claude Code, covering frontmatter options, arguments, namespacing, and command file locations.
Ships in toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create custom slash commands for Claude Code.
You MUST read these references for detailed guidance:
Commands are Markdown files in specific locations:
| Scope | Location | Description suffix |
|---|---|---|
| Project | .claude/commands/ | (project) |
| Personal | ~/.claude/commands/ | (user) |
| Plugin | commands/ in plugin root | (plugin) |
---
description: Brief description of what this command does
---
Your prompt instructions here.
---
allowed-tools: Bash(git:*), Read
argument-hint: [filename] [options]
description: What this command does
model: claude-3-5-haiku-20241022
disable-model-invocation: false
context: fork
---
| Field | Purpose |
|---|---|
allowed-tools | Tools the command can use |
argument-hint | Shows in autocomplete (e.g., [message]) |
description | Brief description (required for SlashCommand tool) |
model | Specific model to use |
disable-model-invocation | Prevent programmatic invocation |
context: fork | Run in isolated sub-agent context, preventing side effects on main agent state |
All arguments:
Fix issue #$ARGUMENTS following our coding standards
Positional arguments:
Review PR #$1 with priority $2 and assign to $3
Bash execution (prefix with exclamation mark):
Current branch: EXCLAMATION`git branch --show-current`
Recent commits: EXCLAMATION`git log --oneline -5`
Replace EXCLAMATION with the exclamation mark character - workaround for bug #12762.
File references (prefix with at-sign):
Review the implementation in @src/utils/helpers.js
Subdirectories group related commands:
.claude/commands/frontend/test.md → /test shows (project:frontend).claude/commands/backend/test.md → /test shows (project:backend)argument-hint if command takes argumentsallowed-tools if using Bash or specific tools/command-name --help style invocationWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dwmkerr/claude-toolkit --plugin toolkit16 skills in this plugin
/agent-developmentThis skill should be used when the user asks to "create an agent", "write an agent", "build an agent", or wants to add new agent capabilities to Claude Code./anthropic-evaluationsThis skill should be used when the user asks to "create evals", "evaluate an agent", "build evaluation suite", or mentions agent testing, graders, or benchmarks. Also suggest when building coding agents, conversational agents, or research agents that need quality assurance./claude-code-agent-teamsThis skill should be used when the user asks to "create an agent team", "run a multi-agent team", "coordinate multiple Claude sessions", "use agent teams", or wants to parallelize work across multiple Claude Code instances./claude-code-hook-developmentThis skill should be used when the user asks to "create a hook", "add a hook", "write a hook", or mentions Claude Code hooks. Also suggest this skill when the user asks to "automatically do X" or "run X before/after Y" as these are good candidates for hooks./claude-code-memory-and-rulesThis skill should be used when the user asks to "set up memory", "configure CLAUDE.md", "add rules", "create project rules", "organize instructions", or mentions Claude Code memory, CLAUDE.md files, .claude/rules, rules, or project instructions. Also use when the user wants to persist preferences, add coding conventions, scope instructions to specific files, or understand when to use rules vs hooks or other memory mechanisms./claude-code-plugin-developmentThis skill should be used when the user asks to "create a plugin", "build a plugin", "write a plugin", or wants to bundle agents, hooks, commands, skills, or MCP servers into a distributable Claude Code plugin.Other plugins' skills for the same job