Copy to clipboard
Skill magnusrodseth/dotfiles/.claude/skills/copy-to-clipboard
⚙️ There are many like them, but these dotfiles are mine. A stow-managed macOS setup: Zsh, Neovim, tmux, Ghostty, and a pile of Claude Code tooling.
npx -y skills add magnusrodseth/dotfiles --skill copy-to-clipboardAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
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.
SKILL.md
1.6 KB, as published. Nobody here has run it
Copy to Clipboard
Format text for a given context and copy it to the user's clipboard via pbcopy.
Workflow
- Understand the context: message, email, post, note, etc.
- Identify the audience: friend, colleague, public group, etc.
- Apply appropriate tone matching formality to context
- Format cleanly:
- Remove unnecessary formatting artifacts
- Use appropriate line breaks
- Keep it scannable for messages
- No markdown unless specifically requested
- Show the formatted text to the user
- If the request was ambiguous, ask for confirmation before copying
- Copy final version to clipboard:
pbcopy << 'EOF' <formatted text> EOF - 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