@daxaur/c-clipboard
ASystem clipboard — copy, paste, transform content between clipboard and files.
Install
agr install @daxaur/c-clipboard --target claudeWrites 1 file into .claude/skills/, pinned to git-ca204fe4.
- .claude/skills/c-clipboard/SKILL.md
Document
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
# 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
# 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
pbpastethrough the transform and back topbcopy - Always confirm what was copied with a brief summary
- Never display clipboard contents unless asked — they may contain sensitive data
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-ca204fe409422026-07-31