All Shortcuts

Claude Code Keyboard Shortcuts & Commands (8)

Complete collection of 8 Claude Code keyboard shortcuts and commands. Browse all shortcuts organized by category with our interactive search tool.

Search all Claude Code shortcuts interactively with real-time filtering

Open Interactive Shortcut Finder

All Shortcuts

Core Commands

ShortcutActionDescription
/ helpShow helpDisplay all available slash commands.
/ clearClear conversationClear the current conversation history.
/ compactCompact modeCompress conversation context to save tokens.
/ costShow token costDisplay token usage and cost for the session.
/ statusAccount statusShow current account and API status.
/ doctorHealth checkDiagnose configuration and environment issues.
/ bugReport bugOpen a pre-filled bug report.
/ release-notesRelease notesShow the latest Claude Code release notes.
EscStop / interruptStop the current response or operation immediately.
Ctrl + CCancelCancel the current operation or exit.

File & Code Operations

ShortcutActionDescription
TabAutocomplete pathAutocomplete file names and directory paths.
/ add-dir <path>Add directoryAdd an additional directory to the working context.
/ diffShow diffDisplay pending file changes as a diff.
/ undoUndo last editRevert the most recent file modification.
/ lsList filesShow files in the current working directory.

MCP & Integrations

ShortcutActionDescription
/ mcpMCP statusShow connected MCP (Model Context Protocol) servers.
/ mcp add <name>Add MCP serverConnect a new MCP server by name or URL.
/ permissionsEdit permissionsView and edit tool permission settings.
--allowedToolsAllow specific toolsFlag to whitelist specific tools when starting.
--dangerously-skip-permissionsSkip permission promptsSkip all permission checks (use with caution).

CLI Flags (Startup)

ShortcutActionDescription
claude --printPrint mode (-p)Non-interactive mode: print response and exit.
claude --model <id>Select modelSpecify which Claude model to use.
claude --continueContinue last sessionResume the most recent conversation.
claude --resume <id>Resume by IDResume a specific past conversation by session ID.
cat file.py | claudePipe inputPipe file or stdin content directly into Claude Code.
claude --no-markdownPlain text outputDisable Markdown formatting in responses.
claude --output-format jsonJSON outputReturn structured JSON output for scripting.

Prompt Tips

ShortcutActionDescription
Think step by stepActivate reasoningTriggers extended thinking for complex problems.
Use ultrathinkDeep reasoning modeActivates maximum thinking budget for hard tasks.
Be conciseShorter responsesInstructs Claude to give compact answers.
Implement, do not explainCode-only modeSkip explanations and produce code directly.
Run the tests afterAuto-validateTell Claude to run tests after making changes.
Do not modify other filesScope limitRestrict changes to specified files only.

Frequently Asked Questions

What are the most useful Claude Code shortcuts?

Claude Code has 8 essential shortcuts and commands. Visit the interactive shortcut finder at shortcut-tools.com to search and filter all Claude Code shortcuts by category.

How many Claude Code shortcuts are there?

Our collection includes 8 Claude Code keyboard shortcuts and commands organized by category. New shortcuts are added regularly.

Browse shortcuts for 230 platforms

Explore All Platforms

한국어로 보기