- Запусти
wsl_paste.exe. - Відкрий Windows Terminal (або VS Code / Cursor) з Claude Code у WSL.
- Роби скрін (
Win + Shift + S) і вставляйCtrl + V.
Готово: вставка в термінал працює без додаткових налаштувань.
This is a lightweight AutoHotkey v2 script for Windows 11. It allows you to seamlessly paste screenshots (taken via Win + Shift + S) directly into Claude Code running inside WSL via Windows Terminal, VS Code, or Cursor.
Normally, pasting a screenshot into a CLI doesn't work. This script intercepts Ctrl + V in Windows Terminal. If it detects an image in your clipboard, it automatically finds the latest saved screenshot file, converts its Windows path to a WSL-compatible path (e.g., /mnt/c/Users/...), and pastes it. Claude Code instantly recognizes the path and converts it into an [image#1] tag.
- OS: Windows 11
- Terminal: Windows Terminal, VS Code, or Cursor
- Environment: WSL (Windows Subsystem for Linux)
- Tool:
wsl_paste.exe(recommended) or AutoHotkey v2 for.ahkscript mode
- Run
wsl_paste.exe. - Keep it running in tray while you work in terminal.
- Install AutoHotkey v2.
- Run
wsl_paste.ahk.
- Take a screenshot using the standard Windows Snipping Tool (
Win + Shift + S). - Focus your terminal window (Windows Terminal, VS Code, or Cursor) where Claude Code is running.
- Press
Ctrl + V. - Magic happens: The script fetches the correct WSL path, pastes it, and instantly restores your original image to the clipboard so you can still paste it elsewhere!
If you want this script to run automatically every time you start your PC:
- Press
Win + Rto open the Run dialog. - Type
shell:startupand press Enter. - Create a shortcut to
wsl_paste.exe(orwsl_paste.ahk) and place it in this Startup folder.

