The Only Page You Need

Claude Code Cheat Sheet 27 features that turn you into a 10x builder. Zero fluff. All signal.

Docs: code.claude.com/docs  ·  Install: curl -fsSL https://claude.ai/install.sh | bash
Boris Cherny
h/t @bcherny
Work From Anywhere
Mobile App
Claude Code runs on iOS and Android. Open the Claude app, tap the Code tab. Write and ship code from your phone.
/teleport
Pull any cloud or web session into your local terminal. Start a task on your phone, finish it on your laptop. Run claude --teleport to grab it.
/remote-control
Control a local terminal session from your phone or browser. Set "Enable Remote Control for all sessions" in /config so it's always on.
/desktop
Hand off a terminal session to the Desktop app for visual diff review. Run /desktop or /app to switch.
Automate Everything
/loop [interval] [prompt]
Run a prompt on repeat within a session. Great for babysitting PRs, polling deploys, or running periodic checks. Example: /loop 5m /babysit
/schedule
Create cloud-based recurring tasks that run even when your computer is off. Morning PR reviews, weekly dependency audits, nightly CI analysis.
Hooks
Run shell commands before or after Claude acts. Auto-format on file edit, log every bash command, route permission prompts to your phone. See /hooks.
GitHub Actions
Automate PR reviews and issue triage in CI. Run /install-github-app to set it up in any repo.
Give Claude Eyes
Chrome Extension
Let Claude see and interact with your browser. It will iterate on frontend code until it actually looks right. Install for Chrome or Edge via /chrome.
Desktop App Browser
The Desktop app has a built-in browser. Claude can auto-start your web server, open it, and visually verify the output. Zero config needed.
Key Principle
The #1 tip for better output: give Claude a way to verify its own work. Tests, browsers, linters. If it can check, it will iterate until it's right.
Essential Commands
/compact [focus]
Free up context when conversations get long. Add optional focus instructions to keep what matters.
/plan [task]
Enter plan mode. Claude maps out the approach before writing code. Great for complex features.
/batch [instruction]
Large-scale codebase changes. Claude breaks work into 5-30 units and runs them in parallel via git worktrees.
/diff
Interactive diff viewer. See uncommitted changes and per-turn diffs. Navigate with arrow keys.
/rewind
Roll back conversation and code to any previous point. Your safety net for "that was wrong, go back."
/model [name]
Switch models mid-session. Use Sonnet for speed, Opus for complex reasoning. Takes effect instantly.
/effort [level]
Set thinking depth: low, medium, high, or max (Opus only). Match effort to task complexity.
/context
Visualize how much context window you've used. Shows optimization suggestions when you're running heavy.
Customize + Extend
CLAUDE.md
Your project's instruction manual for Claude. Add coding standards, architecture decisions, and preferred patterns. Read at every session start.
Custom Skills
Package repeatable workflows as slash commands. Create a SKILL.md in .claude/skills/ and invoke with /skill-name.
MCP Servers
Connect Claude to external tools: Slack, Jira, Google Drive, databases. Run /mcp to manage connections.
Plugins
Install community bundles of skills, MCPs, and tools. Run /plugin to browse and install. Share your own via GitHub.
Power Moves
Pipe Anything In
Claude Code is Unix-composable. Pipe logs, diffs, or data directly: tail -200 app.log | claude -p "find anomalies"
Cowork + Dispatch
The Desktop app's Dispatch feature lets you control Claude from your phone. Catch up on Slack, manage files, run tasks remotely.
Sub-Agents
Spawn multiple Claude agents working in parallel on different parts of a task. One lead coordinates, assigns, and merges.
/simplify [focus]
Auto-review your recent changes for code quality. Spawns 3 review agents in parallel, aggregates findings, and applies fixes.
/btw [question]
Ask a quick side question without polluting your main conversation thread. Context stays clean.
/voice
Push-to-talk voice dictation. Talk to Claude instead of typing. Great for brainstorming or when your hands are full.
/fast
Toggle fast mode for quick tasks where speed matters more than depth. Snappier responses, lower cost.
/security-review
Analyze your pending changes for security vulnerabilities. Catches injection, auth issues, and data exposure before you ship.
CLAUDE.md Hierarchy
~/.claude/CLAUDE.md loads globally in every session. ./CLAUDE.md at project root loads for that project. ./subdir/CLAUDE.md is additive — both the root and subdir files load together. Subdirs append, they don't override.
Path-Prefixed Rules
Use .claude/rules with path prefixes for surgical behavior triggers — e.g. "when editing anything in src/api/*, follow these patterns." Better than subdir CLAUDE.mds for conditional logic vs. static domain context.
Git Worktrees for Parallel Work
Run multiple Claude agents on isolated branches simultaneously using git worktrees. Each agent gets its own working copy. Merge the best results when done. Use /batch to orchestrate automatically.
Auto Memory
Claude builds its own memory as it works — saving learnings like build commands and debugging insights — without you writing a thing. Run /memory to view and edit what it's saved across sessions.