What are the main slash commands?
Installation and first steps · lesson 9 of 11
You’ve seen that / shows a list of commands.
They’re called slash commands (the commands that start with /). You type them inside Claude, not in the regular terminal.
Which ones will I use most?
The ones for the conversation:
- /clear: wipes the conversation so you start from zero - /compact: makes a summary of the conversation, so it takes up less room - /context: shows you what is taking up the conversation’s memory right now - /cost: shows how many tokens (small pieces of text) you’ve used, and so how much money or how much of your limit - /resume: you go back to an older conversation
The rule: new task, new /clear.
Why start from zero?
So the new task doesn’t start with leftovers from the old one on the workbench. Remember: if the bench gets too cluttered, Claude works worse.
And for the project?
For the project and settings:
- /init: creates the CLAUDE.md file, a sheet of instructions about the project that Claude reads every time it starts - /model: you pick a different artificial intelligence model (some are faster, some are more capable) - /permissions: you choose what Claude is allowed to do without asking you - /config: the program’s settings
I’ll forget them all
/help shows you which commands exist.
Same in the desktop app?
In the desktop app: a few commands work differently.
/permissionsreplies “isn't available in this environment” (there you edit the settings file), and/configopens Settings → Claude Code. You pick the model from the menu next to the send button, old conversations are in the sidebar on the left, and the ring next to the model picker shows the context and your usage.
Now it’s your turn to use one.