Tooluck logoTooluck
SKILL.md

paste

Agent skill fromcoreyhaines31/makerskills

When you want to clean and reformat content (usually from your terminal) for pasting into Slack, Notion, Twitter/X, LinkedIn, email, GitHub, or plain text. Strips ANSI codes, box-drawing chars, terminal prompt artifacts, and applies destination-specific formatting. Default input is the system clipboard; default output is both the clipboard and a chat preview. Triggers on "/paste", "/paste [destination]", "clean this for X," "format for slack/notion/twitter/linkedin/email/github," "render as markdown," "paste-ready," "strip formatting," "make this copy-pastable." Default destination is plain. Also scans for secrets (API keys, tokens, .env values) and warns before copying anything sensitive.

How to install paste

install paste
# install the makerskills pack with the skills CLI
npx skills add coreyhaines31/makerskills

# or add only this skill to Claude Code: copy the folder

skills/paste/

# into

~/.claude/skills/paste/ (all projects)

.claude/skills/paste/ (one project)

skills/paste/SKILL.md

MITFull file
1# /paste — Clean content for any destination
2
3Cleans terminal output (ANSI, box-drawing, prompt artifacts, etc.) and reformats per destination rules. Reads clipboard by default, writes back to clipboard + previews in chat.
4
5## Step 1 — Get the content
6
7In order:
81. If the user included content in the prompt (pasted, or referenced from earlier in the conversation), use that.
92. Else, read the clipboard (commands below).
103. If both empty, ask the user what to paste.
11
12**Clipboard commands by platform** (read / write):
13
14| Platform | Read | Write |
15|---|---|---|
16| macOS | `pbpaste` | `pbcopy < "$f"` |
17| Linux (Wayland) | `wl-paste -n` | `wl-copy < "$f"` |
18| Linux (X11) | `xclip -selection clipboard -o` | `xclip -selection clipboard < "$f"` |
19| Windows | `powershell Get-Clipboard -Raw` | `powershell "Get-Content -Raw '$f' \| Set-Clipboard"` |
20
21`$f` is the temp file from the write procedure in Step 6. Always copy from a file, never from a heredoc or `echo`.
22
23No clipboard (a remote, headless, or chat-bot agent): skip the clipboard, take content from the prompt, and return the cleaned text in a code fence.
24
25## Step 2 — Parse destination
26
27| Invocation | Destination |
28|---|---|
29| `/paste` | **plain** (default) |
30| `/paste plain` | plain |
31| `/paste slack` | slack |
32| `/paste notion` | notion |
33| `/paste twitter` or `/paste x` | twitter |
34| `/paste linkedin` or `/paste li` | linkedin |
35| `/paste email` | email (plain) |
36| `/paste email rich` or `/paste email html` | email (rich/HTML) |
37…

Excerpt shown under the repository's MIT license.

More skills in makerskills

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates