The Claude Code slash commands I use every day

Six Claude Code slash commands cover most of my day.

  • /init writes a starter CLAUDE.md for the repository.
  • /clear starts fresh when a conversation has drifted.
  • /compact summarises a long session so you can keep going.
  • /mcp shows connected MCP servers and their status.
  • /permissions shows and edits what’s allowed without asking.
  • /model switches model and keeps it as your default; press s in the picker to switch for this session only.

Type / on its own to see everything, including your own custom commands; the commands reference lists the built-in ones. To get back into a session you closed, see claude --continue.

Vishwas Bhatnagar

More quick notes

More