copy

Copy Claude responses, file contents, or literal text to the macOS clipboard via pbcopy.

9|Updated Jul 15, 2025
One-click install
npx skills add https://github.com/ivy/dotfiles --skill copy-ivy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: copy
Source: https://github.com/ivy/dotfiles/tree/main/home/dot_claude/skills/copy
Command: npx skills add https://github.com/ivy/dotfiles --skill copy-ivy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Copy content to the clipboard directly from within Claude, eliminating manual copy-paste steps in interactive prompts and workflows.

Core Features & Use Cases

  • Clipboard automation: Copy last Claude response, file contents, or literal text with a simple prompt.
  • Flexible input: Accepts content via the command argument, a file path, or direct text.
  • Safe, scoped operation: Uses macOS pbcopy securely and respects environment constraints.

Quick Start

Provide the content you want copied as the argument to the command.

Frequently Asked Questions about copy

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

FAQPage Schema
How do I copy Claude's response to the clipboard on macOS?

You can copy Claude's last response directly to the macOS clipboard by prompting Claude, which uses the pbcopy CLI tool to instantly transfer the text without manual copy-pasting.

Can I copy file contents to the clipboard without opening the file?

Yes, you can copy file contents directly to the clipboard by providing the file path in your prompt, which reads the file and pipes its contents to pbcopy on macOS.

Does this clipboard automation method work on Linux or Windows?

No, this method requires the macOS pbcopy command-line tool, meaning it is exclusively scoped to the macOS environment and will not function on Linux or Windows systems.

What is the best way to copy literal text to the clipboard from an interactive prompt?

To copy literal text to the clipboard, provide the exact text as an argument in your prompt, and it will be passed directly to pbcopy for instant clipboard transfer on macOS.

Why does my text copy command fail in the terminal?

The text copy command fails if the macOS pbcopy utility is missing or inaccessible, as this Skill explicitly depends on the pbcopy CLI tool to write content to the clipboard.