1/3

What are the main slash commands?

Installation and first steps · lesson 9 of 11

Slash commands are commands that start with /. You type them inside Claude, not in the regular terminal.

/help        the list of commands
/init        creates CLAUDE.md
/clear       empties the context (new task — new /clear)
/compact     compresses the history
/context     what is taking up the context right now
/cost        token usage
/model       switch the model
/permissions manage permissions
/resume      go back to an earlier session
/config      settings