Module 1: Fundamentals1.4: Commands & Navigation

1.4: Commands & Navigation

  • Time to Complete: 20 minutes

Interactive lesson: Run /start-1-4 in Claude Code

Slash Commands Reference

Session Management

CommandDescription
/clearStart fresh conversation (keeps files, clears chat)
/compactCompress conversation to save context when running long
/resumePick up where you left off after closing Claude Code

Models & Usage

CommandDescription
/modelSwitch between Claude models (Sonnet = fast, Opus = smart)
/usageSee how much of your quota you’ve used
/costSee cost breakdown for current session

Context & Files

CommandDescription
/contextSee what files Claude is currently aware of
/add-dirAdd a directory to Claude’s context
/initInitialize CLAUDE.md for a new project
/memoryView or edit Claude’s memory for this project

Agents & Permissions

CommandDescription
/agentsCreate and manage custom sub-agents
/permissionsView and manage tool permissions

Configuration

CommandDescription
/configOpen configuration settings
/doctorRun health check and diagnostics
/terminal-setupConfigure terminal integration
/vimToggle vim keybindings

Other

CommandDescription
/helpSee all available commands
/bugReport a bug to Anthropic
/quit or /exitExit Claude Code

Type / to see the full menu with descriptions.

Custom Slash Commands

  • They’re files in .claude/commands/
  • Shortcuts for things you do repeatedly
  • You can create your own (just ask Claude to make one)
  • Important: Restart Claude Code after adding new commands

Escape to Interrupt

Press Escape to stop Claude mid-response.

  • Useful when you see Claude going the wrong direction
  • You’re always in control

Rewind Feature (Esc×2)

Press Escape twice to see rewind options:

  • Reset conversation only (keep files Claude created)
  • Reset conversation AND undo file changes

Like time travel for AI work - great for experimenting.

Think Keywords

KeywordEffect
thinkNormal thinking
think harderDeeper analysis
ultrathinkMaximum thinking power (rainbow indicator!)

Use for complex analysis and strategic decisions.

Warning: Uses more of your usage quota.

The Three Input Modes

Cycle with Shift+Tab:

ModeBehaviorBest For
Edit (default)Claude asks permission before changesSafe, learning
Auto-acceptClaude just does itFaster, trusted workflows
PlanClaude creates plan first, you review, then it executesComplex multi-step tasks

The Power Mode

claude --dangerously-skip-permissions

Launches Claude with NO permission prompts. Maximum speed - Claude just does everything.

Called “dangerously” for a reason - use when you trust the workflow.

Keyboard Shortcuts Summary

ShortcutAction
EscapeInterrupt Claude
Escape × 2Rewind options
Shift+TabCycle input modes
`Ctrl+“Open terminal in editor
Ctrl+VPaste images (not Cmd+V on Mac!)

What’s Next

1.5: Agents → - Parallel processing with multiple Claude instances