Claude Code — Global
always active
ctrl+c
Interrupt — stop current operation
ctrl+d
Exit Claude Code
ctrl+t
Toggle Todos panel
ctrl+o
Toggle Transcript viewer
ctrl+shift+b
Toggle Brief panel
ctrl+l
Redraw / clear screen
ctrl+r
Search command history
💬
Claude Code — Chat Input
when focused
enter
Submit message
shift+enter
New line (multi-line input)
esc
Cancel / close menu
ctrl+s
Stash current draft
ctrl+_
Undo text edit
alt+v
Paste image from clipboard
ctrl+g
External editor
win+p
Model Picker
+p
Model Picker
win+o
Fast Mode toggle
+o
Fast Mode toggle
win+t
Extended Thinking toggle
+t
Extended Thinking toggle
shift+tab
Cycle Mode (auto / edit / review)
ctrl+b
Background running task
ctrl+xctrl+k
Kill all agents
🧭
Claude Code — Navigation
dialogs & panels
y or enter
Confirm Yes
n or esc
Confirm No
ctrl+e
Toggle explanation in confirm dialog
ctrl+e
Transcript: show all
q
Transcript: exit
/ k
Message selector: up
/ j
Message selector: down
ctrl+
Message selector: top
🖥
Cell Launch — Windows Terminal
Ctrl+Alt+[1–7]
ctrl+alt+1
SV — Supervisor · full repo
ctrl+alt+2
Portal — Frontend · packages/ui
ctrl+alt+3
Data — Supabase · virtue · PAL · HAIL
ctrl+alt+4
CS2 — quad-pixel · ontology
ctrl+alt+5
Mktg — marketing-engine · canvas · sites
ctrl+alt+6
Infra — Coolify · CI/CD · scripts
ctrl+alt+7
Spec — Reviews · cleanup · audits
scripts/cell-status.cmd
Check which cells are running
🖥
Cell Launch — iTerm2 Profiles
⌘+Opt+[1–7]
++1
SV — Supervisor · full repo
++2
Portal — Frontend · packages/ui
++3
Data — Supabase · virtue · PAL · HAIL
++4
CS2 — quad-pixel · ontology
++5
Mktg — marketing-engine · canvas
++6
Infra — Coolify · CI/CD · scripts
++7
Spec — Reviews · cleanup · audits
scripts/cell-status.sh
Check which cells are running
🖥
Cell Launch — tmux Sessions
Alt+[1–7]
alt+1
SV — Supervisor · full repo
alt+2
Portal — Frontend · packages/ui
alt+3
Data — Supabase · virtue · PAL · HAIL
alt+4
CS2 — quad-pixel · ontology
alt+5
Mktg — marketing-engine · canvas
alt+6
Infra — Coolify · CI/CD · scripts
alt+7
Spec — Reviews · cleanup · audits
scripts/cell-status.sh
Check which cells are running
Windows Terminal — Panes
ctrl+alt+v
Split vertical
ctrl+alt+h
Split horizontal
ctrl+shift+z
Toggle zoom pane
ctrl+shift+w
Close pane
ctrl+alt+
Focus pane left
ctrl+alt+
Focus pane right
ctrl+alt+
Focus pane up
ctrl+alt+
Focus pane down
ctrl+shift+t
New tab
ctrl+tab
Next tab
iTerm2 — Panes & Tabs
+d
Split vertical
+shift+d
Split horizontal
+w
Close pane / tab
+shift+enter
Zoom / maximize pane
++←→↑↓
Focus adjacent pane
+t
New tab
+shift+]
Next tab
+shift+[
Previous tab
tmux — Panes & Windows
prefix = ctrl+b
prefix%
Split vertical
prefix"
Split horizontal
prefixx
Close pane (confirm with y)
prefixz
Zoom toggle pane
prefix←→↑↓
Focus adjacent pane
prefixo
Cycle to next pane
prefixc
New window (tab)
prefixn
Next window
prefixs
List sessions
Claude Commands
type in chat
/helpme
Open this page
/commit-push-pr
Commit · push · open PR
/commit
Create a git commit
/review-pr
Comprehensive PR review
/clean-gone
Clean up gone remote branches
/overnight-build
Autonomous overnight build
/export-slides-4k
Export PPTX as 4K images
/extract-pptx
Extract images & text from PPTX
/startup
Session init — verify env · MCP · git
/iterate
Fetch work items → batch → execute
🚀
GSD Workflow
/gsd:* commands
/gsd:progress
Project progress & context
/gsd:resume-work
Resume from last session
/gsd:plan-phase N
Create phase plan (PLAN.md)
/gsd:execute-phase N
Execute all plans in a phase
/gsd:discuss-phase N
Gather phase context
/gsd:quick
Quick task with GSD guarantees
/gsd:verify-work
Validate built features
/gsd:debug
Systematic debugging
/gsd:health
Diagnose planning health
/gsd:note
Zero-friction idea capture
/gsd:check-todos
List pending todos
/gsd:new-project
Initialize new project
/gsd:help
Show all GSD commands
No shortcuts match ""
Claude Code CLI — launch with claude in any terminal. Built-in slash commands are typed in the chat prompt. Flags are passed at launch time.
Built-in Slash Commands
type in CLI chat
/help
Show help & available commands
/clear
Clear conversation history & free context
/compact [instr]
Compact context with optional instructions
/memory
Edit CLAUDE.md memory files
/cost
Show token usage & cost for session
/status
Account & system status
/init
Initialize Claude Code in project (creates CLAUDE.md)
/doctor
Health check — permissions, deps, config
/mcp
List & manage MCP server connections
/model [name]
View or switch AI model
/review [PR#]
Code review a pull request
/terminal-setup
Install shell completions & terminal integration
/vim
Toggle vim keybindings in input
/ide
View IDE extension status
/login
Sign in to Anthropic
/logout
Sign out of Anthropic
/bug
Report a bug to Anthropic
/fast
Toggle Fast Mode (faster output, same model)
Launch Flags
claude [flags] [prompt]
--model, -m <id>
Set model (opus-4-6, sonnet-4-6, haiku-4-5)
--print, -p
Non-interactive — print response and exit
--output-format <fmt>
Output: text · json · stream-json (with -p)
--system-prompt <s>
Set system prompt
--append-system-prompt
Append to existing system prompt
--allowedTools <t>
Comma-separated allowed tools
--disallowedTools <t>
Comma-separated blocked tools
--mcp-config <file>
Path to MCP config JSON
--max-turns <n>
Max agentic turns before stopping
--permission-mode <m>
Permissions: default · acceptEdits · bypassPermissions
--no-streaming
Disable streaming output
--verbose
Verbose logging
--debug
Debug mode
--version, -v
Show version
--help, -h
Show help
🔧
Environment Variables
set before launching
ANTHROPIC_API_KEY
Your API key (for direct API use)
ANTHROPIC_MODEL
Default model override
ANTHROPIC_BASE_URL
Custom API endpoint (Bedrock, Vertex, proxy)
CLAUDE_CODE_MAX_OUTPUT
Max output tokens per turn
DISABLE_AUTOUPDATER
Set 1 to disable auto-updates
CLAUDE_CODE_USE_BEDROCK
Route through Amazon Bedrock
CLAUDE_CODE_USE_VERTEX
Route through Google Vertex AI
CLAUDE_CODE_SKIP_PERMISSIONS
Skip tool permission prompts (CI use)
CLAUDE_CODE_DIR
Override config directory (~/.claude default)
🤖
Model IDs
current as of 2026-03
claude-opus-4-6
Opus 4.6 — most capable flagship
claude-sonnet-4-6
Sonnet 4.6 — fast + capable default
claude-haiku-4-5-20251001
Haiku 4.5 — fastest, lowest cost speed
Fast mode uses the same Opus 4.6 model with optimized output — not a different model.
Use --model flag or /model command to switch in-session.
📋
Common Patterns
copy-paste ready
One-shot / scripting
claude -p "Explain this file" < main.ts
JSON output
claude -p --output-format json "List all functions"
Custom model
claude --model claude-haiku-4-5-20251001
CI / automation
claude -p --permission-mode bypassPermissions "run tests"
With MCP config
claude --mcp-config .mcp.json
Claude Cloud — the web interface at claude.ai and the claude.ai Desktop App (Mac & Windows). Includes Projects, Artifacts, Memory, extended context, and team collaboration features.
claude.ai — Keyboard Shortcuts
web & desktop app
enter
Submit message
shift+enter
New line in message
esc
Stop generation / close modal
+k
New conversation (Mac)
ctrl+k
New conversation (Windows)
+shift+o
Open conversations sidebar (Mac)
ctrl+shift+o
Open conversations sidebar (Win)
+/
Open keyboard shortcuts list (Mac)
ctrl+/
Open keyboard shortcuts list (Win)
Chat Features
in the message box
@ mention
Reference a project file or document
📎 Attach
Upload files (PDF, image, code, CSV…)
🎤 Voice
Speak your message (mic icon)
⚙ Model selector
Switch between Opus · Sonnet · Haiku
🧠 Extended thinking
Deep reasoning for complex problems
✏ Edit message
Edit any past message to branch conversation
🔁 Retry
Regenerate last response
📋 Copy
Copy response (hover toolbar)
📁
Projects
persistent AI workspaces
Project instructions
Custom system prompt scoped to this project
Project files
Upload docs · code · data as persistent context
Conversation history
All chats in project are searchable & referenceable
Team sharing
Share project with team members (Team/Enterprise plan)
@ project docs
Reference any project file mid-conversation
🧠
Memory
facts across conversations
Auto-memory
Claude automatically remembers key facts from chats
"Remember that…"
Instruct Claude to save a specific fact
"Forget that…"
Remove a specific memory
Memory settings
View / edit / delete all memories in Settings → Memory
Disable memory
Turn off in Settings → Memory (per conversation or globally)
📄
Artifacts
generated content blocks
Code artifact
Runnable code with syntax highlighting & copy button
HTML / preview
Live rendered preview of HTML/CSS/JS
SVG / React
Interactive component preview
Markdown doc
Formatted document with download option
Edit artifact
Ask Claude to update a specific artifact
Share artifact
Publish link to share the artifact publicly
🔬
Analysis Tool
code execution in browser
Python execution
Run Python code in a sandboxed environment
Data analysis
Upload CSV · Excel → analyze & visualize
Chart output
Matplotlib / plotly charts rendered inline
File download
Download generated files (CSV, JSON, images)
💳
Plans & Limits
feature availability
Free
Claude Sonnet — limited messages · no Projects · no Memory
Pro ($20/mo)
Opus access · 5× more usage · Projects · Memory most
Max ($100/$200/mo)
5× or 20× Pro usage — for heavy users
Team ($30/mo)
Shared Projects · team admin · SSO
Enterprise
Custom limits · SAML SSO · data retention controls
Context window
200K tokens — roughly ~150K words per conversation
🖥
Desktop App
Mac & Windows
+space
Quick-open Claude anywhere (Mac hotkey)
ctrl+space
Quick-open Claude anywhere (Win hotkey)
Screen capture
Share your screen with Claude (built-in)
Local MCP servers
Connect local MCP servers via Desktop App settings
Claude Code link
Desktop App launches Claude Code CLI in integrated terminal
IDE extensions
VS Code & JetBrains extensions available separately