Skip to content

Chat Commands and Keyboard Shortcuts

Kodik Chat actions are native workbench commands. You can run discoverable commands from the Command Palette and remove or reassign defaults in the VS Code keyboard shortcut editor.

This table lists every user-facing workbench command that opens, controls, or sends context to Kodik Chat. Commands without a default shortcut remain available from the Command Palette or a context menu. The final column describes when a default shortcut is active or where a command without one is exposed. Internal transport commands and compatibility aliases are intentionally omitted.

ActionCommand IDWindows / LinuxmacOSShortcut or menu context
Toggle Chat visibilityworkbench.action.toggleAuxiliaryBarCtrl+LCmd+LEditor has no selection
Open Chatkodik.openChat(none)(none)Anywhere
Reveal Chat and focus the composerkodik.chat.focusChatInputCtrl+Alt+CCmd+Alt+CAnywhere
Add selected code to Chatkodik.addToChatCtrl+LCmd+LEditor has a selection
Add selection to Chatkodik.chat.addSelectionToChat(none)(none)Editor has a selection
Add a file to Chatworkbench.action.chat.attachFile(none)(none)Chat enabled; Palette, Search, Explorer, or editor menus
Add a folder to Chatworkbench.action.chat.attachFolder(none)(none)Chat enabled; Explorer folder menu
Add terminal output to Chatkodik.chat.addTerminalOutputToChat(none)(none)Active terminal has output
Start a new Chatkodik.chat.newChatCtrl+Alt+NCmd+Alt+NChat view focused
Toggle the sessions sidebarkodik.chat.toggleSessionsSidebarCtrl+Alt+BCmd+Alt+BChat view focused
Add files, folders, or other contextkodik.chat.openContextPickerCtrl+Alt+FCmd+Alt+FChat view focused
Open auto-approval settingskodik.chat.openAutoApprovalSettingsCtrl+Alt+ACmd+Alt+AChat view focused
Toggle Local/Worktree modekodik.chat.toggleWorkspaceModeCtrl+Alt+WCmd+Alt+WChat view focused
Cycle agent modekodik.chat.cycleModeCtrl+Shift+ACmd+Shift+AChat view focused
Switch to Ask modekodik.chat.setMode.askCtrl+Alt+1Cmd+Alt+1Chat view focused
Switch to Plan modekodik.chat.setMode.planCtrl+Alt+2Cmd+Alt+2Chat view focused
Switch to Code modekodik.chat.setMode.codeCtrl+Alt+3Cmd+Alt+3Chat view focused
Switch to Debug modekodik.chat.setMode.debugCtrl+Alt+4Cmd+Alt+4Chat view focused
Switch to Educator modekodik.chat.setMode.educatorCtrl+Alt+5Cmd+Alt+5Chat view focused
Focus the next Chat regionkodik.chat.focusNextRegionF6F6Chat view focused
Focus the previous Chat regionkodik.chat.focusPreviousRegionShift+F6Shift+F6Chat view focused
Open the previous sessionkodik.chat.previousSessionCtrl+Alt+[Cmd+Alt+[Chat view focused
Open the next sessionkodik.chat.nextSessionCtrl+Alt+]Cmd+Alt+]Chat view focused
Set the Chat provider API keykodik.chat.setApiKey(none)(none)Anywhere
Fix the selected code or problemkodik.fix(none)(none)Editor Quick Fix on a selection/problem
Explain selected codekodik.explainCode(none)(none)Editor has a selection
Improve selected codekodik.improveCode(none)(none)Editor has a selection
Fix selected codekodik.fixCode(none)(none)Editor has a selection
Generate tests for selected codekodik.generateTests(none)(none)Editor has a selection
Generate docs for selected codekodik.generateDocs(none)(none)Editor has a selection

On macOS, focused-Chat shortcuts shown with Cmd also accept the equivalent Ctrl shortcut; for example, both Cmd+Alt+N and Ctrl+Alt+N start a new Chat.

ActionWindows / LinuxmacOSCondition
Reveal folder in ExplorerCtrl+Alt+PCmd+Alt+PAnywhere
Mark selection as sensitiveCtrl+Alt+SCmd+Alt+SSelection present; anonymizer enabled
Unmark sensitive selectionCtrl+Alt+UCmd+Alt+USelection is marked; anonymizer enabled
Keep all file changes (File Review)Alt+KAlt+KFile changes are pending
Undo all file changes (File Review)Alt+UAlt+UFile changes are pending
Review changes (File Review)Alt+DAlt+DFile changes are pending
Accept file changes (File Review)Alt+AAlt+AFile review active
Reject file changes (File Review)Alt+RAlt+RFile review active
Next change (File Review)Alt+RightAlt+RightFile review active
Previous change (File Review)Alt+LeftAlt+LeftFile review active
Generate commit message(none)(none)Git enabled; SCM open

Type a slash command at the start of the Chat composer. The following table contains every built-in command recognized by Chat; workspace commands and installed skills are dynamic and appear in the / menu when available.

CommandAction
/newtaskDuplicate this Chat into a new one
/compactSummarize the conversation to free context
/goalCreate or control a long-running goal when enabled
/skillsBrowse and apply installed skills
/create-skill [requirements]Create a reusable skill through Chat
/create-command [requirements]Create a reusable command through Chat
/create-rule [requirements]Create a reusable rule through Chat
/create-hook [requirements]Create a lifecycle hook through Chat
/install-template [details]Install a template into the workspace through Chat
/analyze-workspace [path]Prepare an application for Kodik Hosting

To reassign a shortcut:

  1. Open the keyboard shortcut editor:

    • Ctrl+K Ctrl+S (Windows/Linux) or Cmd+K Cmd+S (macOS)
    • Or: File → Preferences → Keyboard Shortcuts
  2. Type kodik in the search bar to filter Kodik commands. Search for Toggle Chat Visibility separately to reassign the Chat visibility command.

  3. Click the pencil icon next to the command you want to change.

  4. Press the key combination you want to assign, then press Enter.

A Kodik workflow without touching the mouse:

  1. Select code (Shift+Arrow keys).
  2. Press Ctrl+L / Cmd+L to add it to chat, or Ctrl+Alt+C / Cmd+Alt+C to reveal and focus chat.
  3. Use F6 / Shift+F6 to move among the session sidebar and the active split group’s tabs and composer. Entering Chat with F6 lands on its first available region; entering in reverse with Shift+F6 lands on its last available region, including the session sidebar when it is shown. Hidden regions are skipped, and at a Chat boundary focus continues into the rest of the workbench instead of wrapping inside Chat.
  4. In the session list, Tab moves through every session card and its More actions button. You can also use ArrowUp / ArrowDown and Home / End between cards, then Enter or Space to open a session. In a tab strip, use ArrowLeft / ArrowRight, Home / End, and Delete.
  5. The passive transcript itself is not a focus stop. Tab still reaches actionable buttons and links inside individual messages.
  6. Use Ctrl+Alt+15 / Cmd+Alt+15 to switch modes, type your question, and press Enter.

The docked session sidebar’s resize separator is also keyboard-operable: focus it with Tab, then use the left and right arrow keys; Home selects the minimum width and End the maximum.

When Tab focuses a chat control that has a tooltip, Kodik shows the same help that appears on pointer hover. The tooltip remains visible until focus and the pointer both leave its trigger.

  1. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  2. Type kodik to filter the list.
  3. Browse the available commands.

Kodik commands in the Command Palette