Skip to content
Agentmart
Submit a tool

mac-clipboard

Reads the current Mac clipboard (pasteboard) contents to stdout or writes new text to the clipboard using pbcopy/pbpaste.

Skill by leionion

IndexedApache-2.0★ 89
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/leionion-mac-clipboard

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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 cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/mac-clipboard

What's inside

Skill name
mac-clipboard
Description
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.
License
Apache-2.0
Instructions
35 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • name: "mac-clipboard" does not match folder "mac_clipboard"

Files (3)

  • SKILL.md
  • _meta.json
  • mac_clipboard.py

SKILL.md (first lines)

# mac-clipboard — Clipboard Read/Write

Reads and writes macOS clipboard contents using `pbcopy` and `pbpaste`.

## Usage

```bash
# 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:
```
✅ 已写入剪贴板
```

From leionion/ClawForge, Apache-2.0.

More from leionion/ClawForge

Signals

Stars
89
Forks
21
Open issues
0
Last commit (this folder)
Apr 15, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from leionion

Cite this page

mac-clipboard skill. Agent Mart. https://agentmart.dev/skills/leionion-mac-clipboard (last updated 2026-10-24)