Skip to content
Back to skills

Copy

ASecurity

Copy the last substantive output (draft, code block, snippet) to the system clipboard via pbcopy. USE WHEN copy, clipboard, copy that, grab that.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 12, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add kai-cli/kai --skill Copy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Copy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Copy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kai-cli-copy/badge)](https://www.skillsdirectory.com/skills/kai-cli-copy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Copy
description: Copy the last substantive output (draft, code block, snippet) to the system clipboard via pbcopy. USE WHEN copy, clipboard, copy that, grab that.
version: 1.0.0
---

# Copy — Clipboard Skill

When invoked, identify the most recent substantive content from the conversation (email draft, code block, config snippet, command, etc.) and pipe it to `pbcopy`.

## Rules

1. Identify the last meaningful output — prefer the most recent draft, code fence, or structured content the user would want on their clipboard.
2. Use `printf '%s' '...' | pbcopy` to avoid trailing newlines from echo.
3. Escape single quotes in content with `'\''`.
4. Confirm with a one-liner: "Copied to clipboard."
5. If ambiguous what to copy, ask the user.

## Platform

- macOS: `pbcopy`
- Linux: `xclip -selection clipboard` (fallback)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.