100+ CLI Commands / Session

Session Commands

/resume - Resume a previous session
/session - Manage sessions
/rename - Rename current session
/export - Export conversation
/clear - Clear conversation
/teleport - Teleport to remote

Try This

If you run /resume after closing Claude Code, it loads your previous conversation. Think about how this works: session files are JSON logs stored in ~/.claude/projects/. Each message is one JSON line.

100+ CLI Commands / Development

Development Commands

/commit - AI-generated git commit
/commit-push-pr - Full git workflow
/review - AI code review
/ultrareview - Extended review (remote Opus)
/diff - Show git diff
/branch - Branch management
/add-dir - Add directory to context
/security-review - Security review
/bughunter - Bug detection

Try This

The /commit command analyzes your staged changes and generates a commit message. It follows the repo's existing commit style. Try mentally composing a commit message for 'fixed a typo in the README' - would Claude generate something better?

100+ CLI Commands

Configuration Commands

/config - Edit configuration
/permissions - Manage permissions
/theme - Set theme
/keybindings - Keyboard shortcuts
/mcp - Manage MCP servers
/plugin - Plugin management
/login / /logout - Authentication
100+ CLI Commands

Model & Performance Commands

/model - Switch model
/fast - Toggle fast mode
/effort - Set effort level
/cost - Show session cost
/usage - Token usage stats
/plan / /ultraplan - Planning mode

Try This

Go to the Token Calculator. With /effort low, Claude uses fewer thinking tokens. At 200K context, that means more room for code. Calculate: if /effort high uses 30% for thinking vs 10% for low, how many more code tokens do you get?

100+ CLI Commands

UI & Interface Commands

/help - Show help
/status - Session status
/doctor - Diagnostics
/vim - Vim mode
/voice - Voice input
/ide - IDE integration
/desktop - Desktop app
/version - Show version