Agent skill

copy

Copy content to my clipboard using `pbcopy`.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/copy

SKILL.md

Copy to Clipboard

Arguments

$ARGUMENTS

Instructions

No Arguments / "last response"

Copy Claude's last response to the clipboard.

File Path

If arguments look like a file path (starts with /, ~, ./, or contains common extensions):

  1. Read the file with Read tool
  2. Pipe contents to pbcopy

Literal Content

Copy the provided text directly to clipboard.

Implementation

bash
pbcopy << 'EOF'
[content to copy]
EOF

Examples

/copy                     → copy last response
/copy last response       → copy last response
/copy ~/notes.txt         → copy file contents
/copy Hello, world!       → copy literal text
/copy the function above  → copy referenced code block

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results