Skip to content
Back to skills

Copy To Clipboard

ASecurity

Format text/messages nicely based on context and copy to clipboard using pbcopy. Use when the user wants to draft and copy a message, email, post, or any text to their clipboard. Triggers on "copy to clipboard", "draft a message", "write an email and copy it", "copy this", or any request to prepare and copy text for pasting elsewhere.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentsbash

Works with

  • cli

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add magnusrodseth/dotfiles --skill copy-to-clipboard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Copy To Clipboard?

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

Security grade badge for Copy To Clipboard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/magnusrodseth-copy-to-clipboard/badge)](https://www.skillsdirectory.com/skills/magnusrodseth-copy-to-clipboard)

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-to-clipboard
description: Format text/messages nicely based on context and copy to clipboard using pbcopy. Use when the user wants to draft and copy a message, email, post, or any text to their clipboard. Triggers on "copy to clipboard", "draft a message", "write an email and copy it", "copy this", or any request to prepare and copy text for pasting elsewhere.
---

# Copy to Clipboard

Format text for a given context and copy it to the user's clipboard via `pbcopy`.

## Workflow

1. Understand the context: message, email, post, note, etc.
2. Identify the audience: friend, colleague, public group, etc.
3. Apply appropriate tone matching formality to context
4. Format cleanly:
   - Remove unnecessary formatting artifacts
   - Use appropriate line breaks
   - Keep it scannable for messages
   - No markdown unless specifically requested
5. Show the formatted text to the user
6. If the request was ambiguous, ask for confirmation before copying
7. Copy final version to clipboard:
   ```bash
   pbcopy << 'EOF'
   <formatted text>
   EOF
   ```
8. Confirm it's copied

## Tone by Context

- **Messages/texts**: Casual, direct, easy to read on mobile
- **Emails**: Clear subject line suggestion + body
- **Social posts**: Concise, punchy, platform-appropriate
- **Professional**: Formal but not stiff
- **Personal**: Warm, authentic

## Rules

- No emojis unless the user explicitly wants them or they fit the context
- Never make the text longer than necessary
- Never add fluff or filler words
- Preserve the user's voice and intent
- If copying fails, show the text so user can copy manually

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.

Comments

Loading comments…

Newsletter

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