Cpssh — Development skill for Claude Code
Copy screenshots on your Mac.
How to install Cpssh
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open pravnyadv/cpssh and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cpssh does
Copy screenshots on your Mac. Paste them in Claude Code over SSH.
Alternatives in Development
- Claude How To — by luongnv89 — Example-driven guide to mastering Claude Code through progressive tutorials with copy-paste tem 8.5k ★
- Last30days Skill — Claude Code skill that researches any topic across Reddit + X from the last 30 days, then writes copy-paste-re 4.4k ★
- Peon Ping — Warcraft III Peon voice notifications (+ StarCraft, Portal, Zelda) for Claude Code and other agents 4k ★
README
cpssh
Copy a screenshot on your Mac. Paste it in Claude Code on your SSH server.
Claude Code running over SSH can't read your local clipboard. `cpssh` bridges the gap: it watches your Mac's clipboard for images, syncs them to your server over SSH, and adds a text reference alongside the image — terminal paste gives the path, image apps still get the original PNG.
[you copy a screenshot]
↓
cpssh syncs it → dev@myserver:~/.cpssh/img5.png
↓
clipboard now contains: original PNG + [~/.cpssh/img5.png]
↓
paste in Claude Code on SSH → terminal gets the path → Claude reads the file
paste in Slack/Preview → still gets the original image
Requirements
- macOS as your local machine (where you take screenshots)
- An SSH server reachable with a key (password auth not supported)
- Claude Code on the server
pngpaste—brew install pngpaste
**Linux local machine:** The daemon runs on Linux but only the text reference is written to the clipboard (the original image is replaced). macOS gets dual-type clipboard via NSPasteboard.
Install
curl -fsSL https://raw.githubusercontent.com/pravnyadv/cpssh/main/install.sh | bash
Then run setup:
cpssh setup
Setup will ask for your SSH server, pick an SSH key from `~/.ssh`, and install a background daemon that starts automatically on login.
**Using an AWS `.pem` key?** When setup shows the key picker, choose `[0] Enter path manually` and type the full path to your `.pem` file. Make sure the file has the right permissions first: `chmod 400 ~/path/to/key.pem`
How to use
- Take a screenshot with Cmd+Shift+4 (saves to clipboard on macOS)
- Paste in Claude Code on your SSH session — the sync happens in the background and the text reference is ready almost instantly
- Claude reads the file and sees the image
You can attach multiple images to one prompt: filenames cycle through `img1.png`–`img10.png`. Copy → paste → copy → paste to
Related Skills
Windows To Wsl2 Screenshots
Automate Windows screenshots for Claude Code workflows in WSL2. Take screenshots (Win+Shift+S, Win+PrintScreen
Clipfan
Clipboard sync daemon for Mac + remote tmux fleet. Mirrors macOS pasteboard to remote OS clipboards and tmux p
Winpc Remote
Let Claude Code on a remote Linux server operate a local Windows PC via screenshots, keyboard/mouse, files and
Cc Clip
Paste images into remote Claude Code & Codex CLI over SSH — clipboard bridging for macOS and Windows.
WSL Screenshot Paster For Claude Code
This is a lightweight AutoHotkey v2 script for Windows 11. It allows you to seamlessly paste screenshots (take
Claude Sessions Sidekick
Windows tray sidekick for Claude Code — paste screenshots into the terminal, live usage tracking, session brow
Related Agents
Launcher
Build the Mac daemon and iOS app, launch both (daemon on host, app in Simulator), and seed the dev endpoint to
PR Screenshotter
Produces real before/after PNG screenshots for a YAS branch's rendering changes and publishes them to the yas-
Ticket Maker
Turns anything the user provides (screenshots, links, files, transcripts, rough notes, error logs) into exactl