clipboard

Read and write system clipboard contents in macOS and Linux CLI workflows.

2|1|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/dalehurley/phpbot --skill clipboard-dalehurley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clipboard
Source: https://github.com/dalehurley/phpbot/tree/main/skills/clipboard
Command: npx skills add https://github.com/dalehurley/phpbot --skill clipboard-dalehurley

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Read from and write to the system clipboard to streamline text transfer between applications.

Core Features & Use Cases

  • Read clipboard contents to display or paste elsewhere.
  • Write text to the clipboard from shell scripts or commands.
  • Copy and reuse snippets across CLI workflows on macOS and Linux.

Quick Start

Copy the phrase 'Hello World' to the clipboard.

Frequently Asked Questions about clipboard

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

FAQPage Schema
How do I copy command output to the system clipboard from a shell script?

To copy command output to the system clipboard from a shell script, you use a bundled shell utility that writes text directly to the clipboard. It detects available macOS and Linux clipboard utilities to manage text transfer.

Can I read text from the clipboard in a CLI workflow?

Yes, you can read text from the clipboard in a CLI workflow. The shell script reads clipboard contents so you can display or paste the captured text elsewhere across applications on macOS and Linux.

Does this clipboard automation work on both macOS and Linux?

Yes, this clipboard automation works on both macOS and Linux. The script automatically detects available clipboard utilities on your operating system to execute read and write actions successfully.

What is the best way to automate copying snippets across CLI applications?

The best way to automate copying snippets across CLI applications is using a shell script that writes directly to the system clipboard. This streamlines text transfer by setting clipboard contents from commands.

Do I need to install external dependencies to use this clipboard script?

No external dependencies are required to use this clipboard script, as it relies solely on its bundled shell file. It simply detects existing system clipboard utilities to report success or errors.