paste

Featured

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 clipboard (read via `pbpaste`); default output is both the clipboard (`pbcopy`) 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.

AI & Automation 225 stars 22 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
78
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /paste — Clean content for any destination Cleans terminal output (ANSI, box-drawing, prompt artifacts, etc.) and reformats per destination rules. Reads clipboard by default, writes back to clipboard + previews in chat. ## Step 1 — Get the content In order: 1. If the user included content in the prompt (pasted, or referenced from earlier in the conversation), use that. 2. Else, read clipboard: `pbpaste` 3. If both empty, ask the user what to paste. ## Step 2 — Parse destination | Invocation | Destination | |---|---| | `/paste` | **plain** (default) | | `/paste plain` | plain | | `/paste slack` | slack | | `/paste notion` | notion | | `/paste twitter` or `/paste x` | twitter | | `/paste linkedin` or `/paste li` | linkedin | | `/paste email` | email (plain) | | `/paste email rich` or `/paste email html` | email (rich/HTML) | | `/paste github` or `/paste gh` | github | | `/paste markdown` or `/paste md` | markdown render | | `/paste html` | render to HTML file + open in browser | If ambiguous, ask. Per-destination rules live in `references/destinations.md`. ## Step 3 — Scan for secrets Before any cleaning or copying, scan against patterns in `references/secret-patterns.md`. If any match: 1. **Stop.** Don't copy yet. 2. Report what was detected with the value **masked** (first 4 + last 4 chars only — e.g. `sk-12...wxyz`). 3. Ask: *"Spotted [type] in the content. Continue, redact (replace with `[REDACTED]`), or abort?"* 4. Default to **abort** if no clear answer. ## St...

Details

Author
coreyhaines31
Repository
coreyhaines31/makerskills
Created
1 months ago
Last Updated
yesterday
Language
N/A
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category