Shortcuts
! prefix
Runs a shell command directly and puts the result into the conversation.
Usage
! git status
When to use it
When you want to run a command without going through Claude.
Source: https://code.claude.com/docs/en/interactive-mode
More Claude Code shortcuts
EscStops the response or tool call so you can change direction; the work already done is kept.ShortcutsEsc EscClears your draft if there is input; if the input is empty, opens the rewind menu.ShortcutsShift+TabCycles through permission modes: Manual, acceptEdits, plan, then auto.ShortcutsCtrl+RSearches your input history backward.Shortcuts@ file mentionAutocompletes file paths so you can point to a specific file.Shortcuts/ prefixOpens the menu of commands and skills.Shortcuts
All Claude Code