Quick Reference
Core Commands
claude
Start interactive session
claude "prompt"
One-shot command
claude -p "prompt" | cmd
Pipe mode
Built-in Tools
Read
Read file contents (not cat)
Edit
Targeted string replacements
Write
Create or overwrite files
Bash
Shell commands (git, npm, etc.)
Glob
Find files by pattern (not find)
Grep
Search file contents (not grep)
Slash Commands
/compact
Compress conversation
Config Files
CLAUDE.md
Project instructions
~/.claude/settings.json
Global settings
.claude/settings.json
Project settings
Agent Types
Explore
Codebase exploration
Plan
Architecture planning
MCP
claude mcp add <name>
Add MCP server
claude mcp list
List servers