Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Zatev1.1.0MITIn 1 marketplace
Pastes Windows screenshots into Claude Code on WSL2 by converting BMP clipboard images to PNG. A session-start hook runs a daemon that polls the clipboard every 2 seconds; needs WSLg plus wl-clipboard and ImageMagick.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
wsl2, clipboard, image-paste, bmp-to-png, wayland, windows-terminal, screenshot, wsl ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Fixes image pasting in Claude Code on WSL2.
Claude Code's Linux clipboard detection checks for image/png, image/jpeg, etc., but Windows copies images as image/bmp by default. WSLg forwards this format unchanged via Wayland, so Claude Code never detects clipboard images on WSL2.
Additionally, Windows Terminal intercepts Ctrl+V for text paste, preventing Claude Code's image paste shortcut from working.
Related issues:
This plugin runs a background daemon (clip2png) that:
wl-copyThe daemon starts automatically when a Claude Code session begins and stops when it ends. On non-WSL systems, the hooks silently do nothing.
wl-paste, wl-copy)convert command)Install dependencies:
sudo apt install wl-clipboard imagemagick
/plugin marketplace add Zate/cc-plugins
/plugin install wsl-clipboard-fix
Since Windows Terminal intercepts Ctrl+V, add an Alt+V binding for image paste.
Create ~/.claude/keybindings.json:
{
"bindings": [
{
"context": "Chat",
"bindings": {
"alt+v": "chat:imagePaste"
}
}
]
}
Once installed, the plugin works automatically:
Alt+V in Claude CodeThe clip2png script can also be used directly:
# One-shot conversion
~/.claude/plugins/cache/.../scripts/clip2png --once
# Check daemon status
~/.claude/plugins/cache/.../scripts/clip2png --status
# Stop daemon manually
~/.claude/plugins/cache/.../scripts/clip2png --stop
| Issue | Solution |
|---|---|
| Image not pasting | Run wl-paste -l to check clipboard formats |
wl-paste not found | sudo apt install wl-clipboard |
convert not found | sudo apt install imagemagick |
| Wayland not available | Run wsl --update from Windows, check $WAYLAND_DISPLAY |
| Daemon not starting | Check /tmp/clip2png.log for errors |
| Alt+V not working | Verify ~/.claude/keybindings.json format (object with bindings array) |
This plugin is a workaround for missing BMP support in Claude Code's clipboard detection. If/when #25935 is merged upstream (adding image/bmp to the grep pattern), this plugin will no longer be necessary for BMP detection. However, the keybinding fix for Windows Terminal will still apply.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub zate/cc-plugins --plugin wsl-clipboard-fixPlugins from other owners that cover similar ground