mac-clipboard — Clipboard Read/Write

SkillDev tools

Reads the current Mac clipboard (pasteboard) contents to stdout or writes new text to the clipboard using pbcopy/pbpaste. Use when the user asks to copy, paste, read clipboard, write to clipboard, check pasteboard contents, or transfer text via the macOS clipboard.

Use mac-clipboard — Clipboard Read/Write in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add mac-clipboard — Clipboard Read/Write and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the mac-clipboard skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

mac-clipboard — Clipboard Read/WriteStart free

What this skill tells your AI

The instructions your AI receives, as published by leionion/clawforge in skills/05-Interaction/mac_clipboard/SKILL.md and read by ahel’s review.

Reads and writes macOS clipboard contents using pbcopy and pbpaste.

Usage

# Read current clipboard contents
python3 mac_clipboard.py

# Write text to clipboard
python3 mac_clipboard.py "Hello, world!"

# Write with explicit -w flag
python3 mac_clipboard.py -w "text to copy"

How it works

  • Read: calls pbpaste and prints clipboard contents to stdout
  • Write: pipes text to pbcopy via stdin

Example output

📋 当前剪贴板内容:
Hello, world!

On successful write:

✅ 已写入剪贴板

Signals

GitHub stars
92
Forks
21
Last commit
May 2026
Advanced
Item type
skill
Key
mac-clipboard
Source
github.com/leionion/clawforge