Auto Clipboard: Claude copies what it gives you to paste
A skill for Claude Code and Claude Desktop. Whenever Claude gives you a command, an email, some copy or a SQL query to paste somewhere else, it shows it and puts it on your clipboard at the same time. Passwords are generated on your machine and never appear in the chat.
- Works in
- Claude Code and the Code tab of Claude Desktop. In chats, each piece in its own block with a copy button
- Systems
- Windows, macOS, Linux and WSL
- Requirements
- Python 3 recommended. Without it, Windows uses Set-Clipboard and macOS uses pbcopy
- Privacy
- No network, no files written
- Licence
- MIT, free
- Version
- 1.0.0
Why we built it
- The Claude Code terminal wraps long lines with real line breaks and indentation.
- Copy a long command by hand and a stray newline runs half of it, or an indent splits a flag.
- On Windows, the accents in a copied email turn into
ñ. - With Auto Clipboard you never copy from the terminal again.
How to install it
In Claude Code, as a plugin
Type these two commands in Claude Code:
/plugin marketplace add agenciaRSE/auto-clipboard
/plugin install auto-clipboard@auto-clipboardIn Claude Code, by hand
Copy the skills/auto-clipboard folder from the repository into ~/.claude/skills/.
To use it on every reply
Add this line to your ~/.claude/CLAUDE.md:
Whenever you give me something to paste elsewhere, use the auto-clipboard skill to copy it.In Claude Desktop
Download auto-clipboard.zip from the latest release on GitHub.
Upload it in Settings → Capabilities → Skills.
What it does
- Copies without asking whenever a reply hands you something to paste elsewhere, and adds one line: “📋 Copied to clipboard”.
- Copies the exact text: no Markdown fences, no indentation, no
$prompts, no typographic quotes in commands and no trailing newline that would run a command the moment you paste it. - Generates passwords locally.
clip.py --passwordcreates it with Python’ssecretsmodule, copies it and never prints it. It never passes through the model or the chat history. - Kept out of clipboard history. On Windows, anything copied with
--sensitivestays out of the Win+V history and cloud clipboard sync. - Accents and emoji intact on Windows, where
clip.exeand PowerShell pipes break them. - Skips what you don’t need: illustrative examples, code already written to files and long logs.
Privacy and security
clip.pyuses the Python standard library only: no network, no files written.- Generated passwords never appear in the chat or the conversation history.
- On WSL it uses
clip.exe: secrets copied from WSL still show up in Win+V history. - In Claude Desktop and claude.ai chats the skill runs in a cloud sandbox with no access to your clipboard. There it gives you a command to generate the password on your own machine.
Built and maintained by AGENCIA RSE, a WordPress and custom software studio in A Coruña, Spain. See all our Claude skills
Frequently asked questions
Does it work in claude.ai and Claude Desktop chats?
Yes, without copying: there the skill runs in the cloud and cannot reach your clipboard. It puts each piece in its own block so the copy button gives you exactly that text. In the Code tab of Claude Desktop it works fully.
Does Claude see the passwords it generates?
No. The script creates them on your machine, copies them and never prints them, so they never pass through the model.
Do I need Python?
Python 3 is recommended. Without it, Windows uses PowerShell’s Set-Clipboard and macOS uses pbcopy. On Linux you need Python 3 and wl-clipboard, xclip or xsel.
Does it work on Mac and Linux?
Yes: Windows, macOS, Linux (Wayland and X11) and WSL.
What about AI Terminal Code Cleaner?
Auto Clipboard replaces it. That app cleaned snippets after you copied them; this skill avoids the mess before it happens.
Is it free?
Yes. It is open source under the MIT licence.
Need a custom Claude skill?
We build Claude skills to order around your team’s processes, templates and scripts, for Claude Code, Claude Desktop and claude.ai.
Your first consultation is free. We look at what you tell us and reply within 48 business hours.