Skip to content
Back to skills

C Clipboard

ASecurity

System clipboard — copy, paste, transform content between clipboard and files.

  • 166 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 28, 2026
ai-agentsbash

Works with

  • cli

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add daxaur/openpaw --skill c-clipboard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of C Clipboard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for C Clipboard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/daxaur-c-clipboard/badge)](https://www.skillsdirectory.com/skills/daxaur-c-clipboard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: c-clipboard
description: System clipboard — copy, paste, transform content between clipboard and files.
tags: [clipboard, copy, paste, pbcopy, pbpaste]
---

# Clipboard — Copy & Paste

Read from and write to the system clipboard. Built into macOS, no install needed.

## Commands

```bash
# Read clipboard contents
pbpaste

# Copy text to clipboard
echo "hello world" | pbcopy

# Copy file contents to clipboard
pbcopy < /path/to/file.txt

# Save clipboard to file
pbpaste > /path/to/output.txt

# Copy command output to clipboard
ls -la | pbcopy
date | pbcopy

# Transform clipboard content
pbpaste | tr '[:lower:]' '[:upper:]' | pbcopy    # uppercase
pbpaste | sort | pbcopy                            # sort lines
pbpaste | wc -w                                    # word count

# Copy with no trailing newline
printf "%s" "exact text" | pbcopy
```

## Linux Equivalents

```bash
# If on Linux, use xclip or xsel
xclip -selection clipboard           # copy (pipe into)
xclip -selection clipboard -o        # paste
```

## Guidelines

- When the user says "copy this" or "put this in my clipboard", use `pbcopy`
- When the user says "what's in my clipboard?" or "paste", use `pbpaste`
- For transformations, pipe `pbpaste` through the transform and back to `pbcopy`
- Always confirm what was copied with a brief summary
- Never display clipboard contents unless asked — they may contain sensitive data

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.