AI GLOSSARY · CODING AGENTS AND CODING TOOLS
Slash command
Definition
A slash command is a command, starting with /, typed at the start of a message to an AI coding tool to control the session or run a saved prompt. In Claude Code some run fixed logic, others are skills.
Also called: slash commands, Claude Code slash commands, custom slash command, AI slash commands.
In plain language
A slash command is a shortcut you type into the chat box of an AI coding tool. You start with a slash and a name, such as /help, and the tool does something specific instead of treating your words as a normal request. Some shortcuts change the tool itself, like switching the model. Others run a saved set of instructions, so you do not retype a long prompt each time. The limit is that each tool has its own list: a command you know in one tool may not exist in another, so check the tool's own documentation.
Technical definition
In Claude Code, a command is recognized only at the start of your message, and text after the name becomes its arguments. The commands reference says most built-in commands execute fixed logic directly, while bundled skills are prompt-based: they give Claude detailed instructions and let it orchestrate the work with its tools. Custom commands have been merged into skills, and existing .claude/commands/ files keep working; the documentation prefers a skill for new work because skills support supporting files. Typing / shows the commands available to you, and typing letters after it filters the list.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Guide · Illustrative, not executed
What Is Claude Code and What It Can Touch on Your Machine
- What you see
- An explanation of what Claude Code can read, edit and run, with a step that uses /permissions to list every permission rule and the settings file it comes from.
- Why it exercises the concept
- /permissions is a built-in slash command that inspects the session, which shows what a slash command is for beyond saving a prompt.
Guide · Illustrative, not executed
Claude Code Slash Commands: Built-in vs Custom
- What you see
- Where custom slash commands live, how a filename becomes a command name, built-in versus custom commands, and when to convert one into a skill.
- Why it exercises the concept
- It covers both halves of the definition: fixed built-in commands and Markdown files you write yourself.
Coding tool · Illustrative, not executed
Claude Code
- What to try
/help- What you see
- Claude Code's commands reference describes /help as showing help and available commands.
- Why it exercises the concept
- It is the simplest way to see slash commands in a real session and find the names that exist in your version.
How it shows up when you use agents
In Claude Code you type / and the tool lists the commands available to you. Built-in ones control the session, for example /model to switch the model and /permissions to manage permission rules. Others come from skills, so an agent skill you add can appear as /skill-name, and a plugin's skills carry the plugin name as a prefix. See agent plugin.
What breaks when this is misunderstood. People write a long saved prompt as a custom command in the older .claude/commands/ format, when the documentation prefers a skill for new work. Others assume a command exists in every tool. Command sets belong to each tool, so a name you know in one may be missing in another. A third problem is typing a command mid-message: Claude Code recognizes it only at the start.
Next action: run /help in your own session and read the list for your version. Then read the Claude Code slash commands guide before saving a command for your team.
Common confusions
- Built-in command versus bundled skill. The commands reference says most built-in commands execute fixed logic, while bundled skills are prompt-based and let Claude orchestrate the work.
- Custom command versus skill. The skills documentation says custom commands have been merged into skills, and existing command files keep working.
- Slash command versus a normal prompt. A normal prompt is text the model reads. A command is recognized at the start of your message and handled by the tool.
- Myth: slash commands are the same everywhere. Each tool defines its own. Check the tool's own documentation.
Related terms
Terms that mention Slash command
1 terms mention this one
Guides that mention Slash command
- Cursor Agent Skills Explained: How Skills Load vs Rules
- UI UX Pro Max skill: what it does, install, how to audit
- What Is an OpenClaw Skill? Format, Install, Gating, Safety
- What Is everything-claude-code (ECC)? Contents and Install
- The grill-me skill: what it does, how to install it and how the interview works
More in Coding agents and coding tools
Sources
- Extend Claude with skills, Anthropic (Claude Code Docs) (accessed 2026-11-24)
- Commands, Anthropic (Claude Code Docs) (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .
This entry is still in review, so it is not listed in search engines yet.
Change log (1)
- : First version.