# Mac Clipboard

> 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.

- **Type:** Skill
- **Install:** `agentstack add skill-leionion-clawforge-mac-clipboard`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [leionion](https://agentstack.voostack.com/s/leionion)
- **Installs:** 0
- **Category:** [Finance & Payments](https://agentstack.voostack.com/c/finance-and-payments)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [leionion](https://github.com/leionion)
- **Source:** https://github.com/leionion/ClawForge/tree/main/skills/05-Interaction/mac_clipboard

## Install

```sh
agentstack add skill-leionion-clawforge-mac-clipboard
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

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

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [leionion](https://github.com/leionion)
- **Source:** [leionion/ClawForge](https://github.com/leionion/ClawForge)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-leionion-clawforge-mac-clipboard
- Seller: https://agentstack.voostack.com/s/leionion
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
