All Days
Day 46
AY
AY Automate
ayautomate.com
C
Powered by Claude Code

EVERY CLAUDE CODE COMMAND

The Complete Reference · 105 Commands + 15 Shortcuts · April 2026
105
Commands
15
Shortcuts
20
Power Combos
14
Hidden Gems
Project Management
1
/init
Auto-generate a CLAUDE.md for your project
✓
2
/memory
Edit the CLAUDE.md memory file
✓
3
/context
See what is consuming your context window
✓
4
/compact
Compress context to free up space
✓
5
/clear
Reset conversation history
✓
6
/resume
Resume a past session
✓
7
/fork
Branch conversation into a new session
✓
8
/rename
Rename the current session
✓
9
/add-dir
Add an extra directory to context
✓
10
/copy
Select and copy code blocks
✓
11
/diff
View all changes in an interactive viewer
✓
12
/export
Export conversation to file or clipboard
✓
13
/recap
One-line summary of current session
NEW✓
14
/focus
Minimal view: last prompt + response only
NEW✓
Information & Status
15
/usage
Check token usage against plan limits
✓
16
/cost
Show current session cost
✓
17
/help
List all available commands
✓
18
/tasks
Check background tasks
✓
19
/doctor
Run environment diagnostics
✓
20
/stats
Generate usage statistics as HTML report
✓
21
/debug
Display troubleshooting info
✓
22
/effort
Switch thinking level (low/medium/high/xhigh)
✓
23
/extra-usage
Enable additional usage capacity
✓
24
/insights
Analyze sessions and friction points
NEW✓
25
/heapdump
Memory snapshot for debugging
NEW✓
26
/release-notes
View changelog in version picker
NEW✓
Mode & Model Control
27
/model
Switch between Opus, Sonnet, and Haiku
✓
28
/fast
Toggle Fast Mode (Opus 4.6 at 2.5x speed)
✓
29
/plan
Toggle Plan Mode (read-only planning)
✓
30
/output-style
Change output style
✓
31
/voice
Enable voice prompting (hold/tap/off)
✓
32
/color
Set prompt bar color
NEW✓
33
/tui
Flicker-free fullscreen mode
NEW✓
Feature Management
34
/hooks
Configure lifecycle hooks
✓
35
/agents
Create and manage sub-agents
✓
36
/permissions
Change permission settings
✓
37
/sandbox
Enable sandbox mode
✓
38
/config
Open settings interface
✓
39
/rewind
Rewind conversation and/or code changes
✓
40
/login
Re-authenticate
✓
41
/logout
Log out
✓
42
/privacy-settings
View/update privacy settings
NEW✓
43
/reload-plugins
Reload plugins without restart
NEW✓
Shortcuts & Notation
▸
Esc
Stop processing
✓
▸
Esc x 2
Open rewind menu
✓
▸
Shift+Tab
Cycle modes (normal/auto-accept/plan)
✓
▸
Tab
Toggle extended thinking
✓
▸
Ctrl+F
Stop all background agents
✓
▸
Ctrl+V
Paste image from clipboard
✓
▸
Ctrl+R
Reverse search command history
✓
▸
@filename
Reference a file or directory
✓
▸
#content
Add content to CLAUDE.md
✓
▸
!command
Execute a shell command directly
✓
▸
& task
Run a task in the background
✓
▸
"Think harder"
Force high effort for one turn
✓
▸
"ultra think"
Force maximum reasoning depth
✓
▸
@"agent-name"
Invoke a specific subagent
NEW✓
▸
@/path/to/skill
Reference a skill directly
NEW✓
Environment Settings
44
/terminal-setup
Set up Shift+Enter keybinding
✓
45
/keybindings
Open keybindings config
✓
46
/status-line
Set up terminal status line
✓
47
/theme
Change syntax highlighting theme
✓
48
/upgrade
Upgrade your Claude plan
✓
Integrations & Extensions
49
/install-github-app
Set up GitHub PR auto-review
✓
50
/install-slack-app
Install Claude Slack app + OAuth
NEW✓
51
/plugin
Plugin management (add/remove/marketplace)
✓
52
/mcp
Check MCP status and authentication
✓
53
/rc
Switch to Remote Control (phone/tablet)
✓
54
/review
Code review for a specified PR
✓
55
/security-review
Security audit of uncommitted changes
✓
56
/skills
Skill management menu
✓
57
/find-skills
Browse and install skills
✓
58
/chrome
Control your browser from Claude Code
✓
59
/ide
Manage IDE integrations
✓
60
/btw
Ask a side question without interrupting
✓
61
/loop
Run a prompt on a recurring schedule
✓
62
/setup-bedrock
Configure Amazon Bedrock
NEW✓
63
/setup-vertex
Configure Google Vertex AI
NEW✓
64
/web-setup
Connect GitHub to Claude Code web
NEW✓
Discovery & Onboarding
65
/powerup
Interactive lessons for features
NEW✓
66
/team-onboarding
Generate team guide from your setup
NEW✓
67
/fewer-permission-prompts
Build allowlist from usage
NEW✓
68
/mobile
QR code for mobile app download
NEW✓
69
/passes
Gift a free week to friends
NEW✓
70
/stickers
Order Claude Code stickers
NEW✓
Bundle & Cloud Commands
71
/simplify
3-agent review (architecture, duplicates, perf)
✓
72
/batch
Large-scale parallel changes across worktrees
✓
73
/ultraplan
Draft plan in cloud, review in browser
NEW✓
74
/ultrareview
Multi-agent code review in cloud sandbox
NEW✓
75
/autofix-pr
Auto-fix PR when CI fails or reviewers comment
NEW✓
76
/teleport
Pull web session into terminal
NEW✓
77
/remote-env
Configure default remote environment
NEW✓
Hidden Gems & Env Variables
CLAUDE_CODE_MAX_OUTPUT_TOKENS
Override max output tokens
✓
CLAUDE_CODE_DISABLE_NONESSENTIAL
CI mode: no spinners, no updates
✓
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS
Enable TeammateTool for multi-agent
✓
ENABLE_PROMPT_CACHING_1H
Set prompt cache TTL to 1 hourNEW
✓
FORCE_PROMPT_CACHING_5M
Force 5-minute prompt cachingNEW
✓
MCP_RESULT_SIZE_LIMIT=500000
Per-tool MCP result size up to 500KNEW
✓
claude -p "task" | jq
Pipe non-interactive output to tools
✓
cat file.py | claude -p "review"
Pipe files into Claude as stdin
✓
CLAUDE_CODE_USE_BEDROCK=1
Route through Amazon Bedrock
✓
CLAUDE_CODE_USE_VERTEX=1
Route through Google Vertex AI
✓
CLAUDE_CODE_SKIP_COMPRESS
Disable auto-compaction of context
✓
CLAUDE_AUTO_MODE=1
AI classifier handles permissionsNEW
✓
CLAUDE_MONITOR_TOOL=1
Enable real-time background streamingNEW
✓
CLAUDE_COMPUTER_USE=1
Enable native app control from CLINEW
✓
Getting Started in 5 Steps
1
npm i -g @anthropic-ai/claude-code
2
cd your-project
3
claude
start a session
4
/init
generate CLAUDE.md
5
start building
CLI Commands
78
claude
Start an interactive session
✓
79
claude "question"
Start with an initial prompt
✓
80
claude -p "question"
Non-interactive mode, then exit
✓
81
claude -c
Resume the most recent session
✓
82
claude -r "ID"
Resume a session by ID
✓
83
claude --from-pr
Resume session linked to a PR
✓
84
claude update
Update to latest version
✓
85
claude mcp add
Add an MCP server
✓
86
claude mcp list
List configured MCP servers
✓
87
claude mcp remove
Remove an MCP server
✓
88
claude mcp serve
Run Claude Code as an MCP server
✓
89
claude auth login
Authenticate
✓
90
claude auth status
Check auth status
✓
91
claude auth logout
Log out
✓
92
claude agents
List configured agents
✓
93
claude rc
Start Remote Control session
✓
94
claude plugin
Plugin management
✓
95
claude config list
Display all settings
✓
96
claude config set
Update a setting
✓
97
claude --dangerously-skip-permissions
No permission prompts
✓
98
claude --worktree
Isolated git worktree for parallel work
✓
99
claude --model opus
Specify model at launch
✓
100
claude --agents '{json}'
Define sub-agents at launch
✓
101
claude --append-system-prompt
Add to system prompt
✓
102
claude --max-turns N
Set turn limit
✓
103
claude --remote
Start web session with remote env
NEW✓
104
claude --teleport
Pull web session into terminal
NEW✓
105
claude --output json
Machine-readable JSON output
NEW✓
Power Combos
1
claude -c + /compact
Resume last session, free up context
✓
2
/hooks + /agents
Auto-trigger sub-agents on file changes
✓
3
--worktree + /batch
Parallel edits across isolated branches
✓
4
/mcp + /skills
Connect external APIs, extend capabilities
✓
5
/review + /simplify
Full code review + 3-agent cleanup pass
✓
6
/loop + /stats
Recurring task + track usage over time
✓
7
"ultra think" + /plan
Max reasoning in read-only architecture mode
✓
8
/fork + Tab
Branch conversation with extended thinking
✓
9
/ultraplan + /teleportNEW
Plan in cloud, pull back to terminal
✓
10
/autofix-pr + /loopNEW
Auto-fix CI failures on repeat
✓
11
@"agent" + & taskNEW
Dispatch subagent in background
✓
12
/color + /agentsNEW
Color-code each agent workspace
✓
13
claude -p + | jqNEW
Pipe JSON output to CLI tools
✓
14
/batch + /autofix-prNEW
Parallel worktrees with auto-CI-fix
✓
15
/ultrareview + /diffNEW
Cloud review then inspect changes locally
✓
16
/team-onboarding + /skillsNEW
Package skills into team setup guide
✓
17
/chrome + /visionNEW
Browser control + screenshot verification loop
✓
18
/recap + /exportNEW
Summarize session then save to file
✓
19
/insights + /fewer-permission-promptsNEW
Analyze friction then auto-fix permissions
✓
20
claude -p + --output jsonNEW
Non-interactive with structured output
✓

don't miss what's next.

daily Claude Code tricks, power combos, and automation playbooks. no spam. unsubscribe anytime.

W
Walid Boulanouar
linkedin.com/in/walid-boulanouar
AY Automate
ayautomate.com

Want this running in your business, not just your terminal? Our Claude Code development agency ships it for you, or book a free consultation to scope your setup.