ruslanlap

WSL Screenshot Paster For Claude Code — Development skill for Claude Code

Development community

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.

How to install WSL Screenshot Paster For Claude Code

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ruslanlap/WSL-Screenshot-Paster-for-Claude-Code and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What WSL Screenshot Paster For Claude Code does

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.

Alternatives in Development

  • Screenshot — Capture desktop, app windows, or pixel regions across OS platforms 14.6k ★
  • JEngine — The solution that allows unity games to update in runtime 2.2k ★
  • Dive — Dive is an open-source MCP Host Desktop Application that seamlessly integrates with any LLMs supporting functi 1.8k ★

README

WSL Screenshot Paster for Claude Code

Quick Start (EXE)

  1. Запусти wsl_paste.exe.
  2. Відкрий Windows Terminal (або VS Code / Cursor) з Claude Code у WSL.
  3. Роби скрін (Win + Shift + S) і вставляй Ctrl + V.

Готово: вставка в термінал працює без додаткових налаштувань.

Description

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.

Prerequisites

  • 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 .ahk script mode

Setup & Installation

Option 1 (recommended)

  1. Run wsl_paste.exe.
  2. Keep it running in tray while you work in terminal.

Option 2 (script mode)

  1. Install AutoHotkey v2.
  2. Run wsl_paste.ahk.

How to Use

  1. Take a screenshot using the standard Windows Snipping Tool (Win + Shift + S).
  2. Focus your terminal window (Windows Terminal, VS Code, or Cursor) where Claude Code is running.
  3. Press Ctrl + V.
  4. 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!

Screenshots

![Taking a screenshot and pasting into Claude Code](1.png)

![Resulting WSL path recognized as an image in Claude Code](2.png)

Autostart on Boot (Optional)

If you want this script to run automatically every ti