Claude Code Cheat Sheet banner
wilwaldon wilwaldon

Claude Code Cheat Sheet

Development community

Description

A single-page reference covering every keyboard shortcut, slash command, CLI flag, MCP server config, CLAUDE.md location, skill/agent frontmatter option, environment variable, and permission mode in Claude Code. Built for engineers who'd rather scan a table than dig through docs.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Claude Code Cheat Sheet

**Claude Code v2.1.81** · Last updated: March 24, 2026 · By [Wil Waldon](https://wilwaldon.com)

Install

npm install -g @anthropic-ai/claude-code

Requires Node.js >= 18. Authenticate with `claude` on first run.

Table of Contents


Recent Changes

  • --bare flag — minimal headless mode (no hooks/LSP/plugins)
  • --channels — permission relay & MCP push messages (preview)
  • effort frontmatter for skills & slash commands
  • /fork renamed to /branch (alias kept)
  • SendMessage auto-resumes stopped agents

⌨️ Keyboard Shortcuts

General Controls

Shortcut Action
Ctrl C Cancel input/generation
Ctrl D Exit session
Ctrl L Clear screen
Ctrl O Toggle verbose output
Ctrl R Reverse search history
Ctrl G Open prompt in editor
Ctrl B Background running task
Ctrl T Toggle task list
Ctrl V Paste image
Ctrl F Kill background agents (×2)
Esc Esc Rewind / undo

Mode Switching

Shortcut Action
Shift Tab Cycle permission modes
Alt P Switch model
Alt T Toggle thinking

Input

Shortcut Action
\ Enter Newline (quick)
Ctrl J Newline (control seq)

Prefixes

Prefix Action
/ Slash command
! Direct bash
@ File mention + autocomplete

Session Picker

Key Action
↑↓ Navigate
←→ Expand/collapse
P Preview
R Rename