Skip to main content
SEP 2026 Latest guide updates. Latest: Skill Governance Skill Lifecycle Skills vs Harnesses Changelog →
T01 Beginner Technical

Essential Commands

Keyboard shortcuts & indispensable slash commands

Keyboard Shortcuts

ShortcutAction
Shift+TabCycle permission mode (Manual, acceptEdits, Plan)
Ctrl+OToggle verbose transcript
Ctrl+CInterrupt generation
EscCancel current action
↑ / ↓Message history
TabPath completion

Core Slash Commands

/help Help and available commands
/clear Clear context (reset)
/compact Compress history
/model Switch model
/cost View session costs
/status Context status

Permission Modes

claude Interactive mode (default)
claude --dangerously-skip-permissions
Full bypass (CI/CD)
claude --allowedTools "Edit,Read,Bash"
Tool whitelist

Quick Start

Terminal window
# Launch Claude Code
claude
# CLAUDE.md is loaded automatically at startup
# To add a file during the session:
@src/auth.ts Look at this function
# Non-interactive mode (scripts)
claude -p "Analyze this file" < input.txt
# Continue last session
claude --continue

Session Commands

/new New session (alias for /clear)
/resume Resume a session (opens the picker)
/branch Fork the conversation here (v2.1.77)

Context Navigation

CommandEffect
/compactSummarize and free up space
/clearFull reset
@fileReference a file in the prompt

Custom Slash Commands

# Invoke a custom command
/command-name [args]
# Defined in:
.claude/skills/command-name/SKILL.md

Essential Tips

Verbosity control: use --verbose at launch, or Ctrl+O in session, to see the full turn-by-turn transcript.

Multiline: Shift+Enter in the terminal to add a new line without submitting.

Vim mode: /config β†’ Editor mode, or {"editorMode": "vim"} in ~/.claude/settings.json. The /vim command was removed in v2.1.92.