Copy

Copy content to my clipboard using `pbcopy`.

majiayu000 43a02ae 2 files · 1.5 KB Updated 567 repo stars

File contents

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

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

majiayu000/claude-skill-registry-data/tree/main/productivity/copy-ivy-dotfiles commit 43a02aea93

Frequently asked questions

npx skillmds add majiayu000/copy-2