Skip to content

Instantly share code, notes, and snippets.

@synercoder
Last active July 31, 2025 08:25
Show Gist options
  • Select an option

  • Save synercoder/c1e407e6f5ede36e16dfd9fa4a6e1d71 to your computer and use it in GitHub Desktop.

Select an option

Save synercoder/c1e407e6f5ede36e16dfd9fa4a6e1d71 to your computer and use it in GitHub Desktop.
Add "Open in Claude CLI" to context menu
Windows Registry Editor Version 5.00
; Add "Open in Claude CLI" to folder context menu
[HKEY_CLASSES_ROOT\Directory\shell\OpenClaudeCLI]
@="Open in &Claude CLI"
"Icon"="pwsh.exe,0"
[HKEY_CLASSES_ROOT\Directory\shell\OpenClaudeCLI\command]
@="pwsh.exe -NoExit -Command \"Set-Location '%1'; wsl bash -i -c 'claude --continue || claude'\""
; Add "Open in Claude CLI" to folder background context menu (when right-clicking empty space)
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenClaudeCLI]
@="Open in &Claude CLI"
"Icon"="pwsh.exe,0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenClaudeCLI\command]
@="pwsh.exe -NoExit -Command \"Set-Location '%v'; wsl bash -i -c 'claude --continue || claude'\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment