clipboard-tools

Copy, paste, and clear system clipboard content across Linux, macOS, WSL, and Cygwin.

1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/winsorllc/upgraded-carnival --skill clipboard-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clipboard-tools
Source: https://github.com/winsorllc/upgraded-carnival/tree/main/.pi/skills/clipboard-tools
Command: npx skills add https://github.com/winsorllc/upgraded-carnival --skill clipboard-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a straightforward way to interact with your system's clipboard, enabling seamless copying and pasting of text and file content without complex commands.

Core Features & Use Cases

  • Copy to Clipboard: Send text or file content to the clipboard.
  • Paste from Clipboard: Retrieve content from the clipboard.
  • Clear Clipboard: Empty the clipboard contents.
  • Use Case: Quickly copy a command's output to your clipboard to paste it elsewhere, or paste content from your clipboard into a document.

Quick Start

Copy the text "This is important" to your clipboard.

Frequently Asked Questions about clipboard-tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I copy command line output directly to the system clipboard?

You can copy command line output to the system clipboard by piping the text or file contents to a copy operation, which automatically detects your platform's native tool to send it directly to the clipboard.

Does clipboard automation work across Linux, macOS, and WSL?

Clipboard automation works across Linux, macOS, WSL, and Cygwin by automatically detecting the platform and selecting the appropriate native tool, such as pbcopy on macOS or xclip and wl-copy on Linux.

What is the best way to retrieve text from the clipboard in a script?

The best way to retrieve text from the clipboard in a script is to use a paste operation, which fetches the current clipboard contents and outputs them as text for further processing or redirection.

How do I clear the system clipboard contents after copying sensitive text?

To clear the system clipboard contents after copying sensitive text, you run a clear operation that empties the clipboard, ensuring the data is no longer available for pasting or unauthorized access.

Do I need to install xclip manually to copy text to the clipboard on Linux?

You do not need to manually configure tools to copy text to the clipboard on Linux, because the system automatically detects whether xclip or wl-copy is available and uses the correct one for your environment.