Glossary
Slash command
Also: slash command · /command
A command invoked with / in the agent's prompt. Built-in ones control the session; your own package repeatable routines.
Example
/clear resets the context, /compact condenses it, /init creates CLAUDE.md, /mcp manages servers.
Where it shows up
- First-time setup of an AI agent — Post 2 of 8
- Advanced AI agent setup: skills, hooks, subagents, MCP — Post 3 of 8