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 803 stars 65 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
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
3 months ago
Last Updated
6 days ago
Language
N/A
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

clean-copy

Cleans terminal-formatted text and copies it to the macOS clipboard via pbcopy, formatted for the target platform (Gmail, Slack, LinkedIn, plain, markdown). Strips uniform leading indentation, trailing whitespace, and soft-wrapped paragraphs that come from copying out of a terminal, then applies platform conventions (Slack `*bold*` vs Gmail plain prose, etc.). Use when the user wants to paste a draft from the chat into Gmail, Slack, LinkedIn, or any other tool without nightmare terminal formatting (extra whitespace, hard wraps, indented blocks) coming along.

4 Updated today
mostafa-drz
AI & Automation Solid

clipboard

Copy text to clipboard with optional rich formatting. Triggers on "copy to clipboard", "copy that", "pbcopy", "copy formatted", "copy rich text".

135 Updated today
CodeAlive-AI
AI & Automation Listed

copy-paste-via-file

Whenever the assistant needs the user to copy-paste a command, code snippet, prompt, or any text where chat-rendered formatting could mangle line wrapping, regex literals, or string contents (e.g. DevTools console one-liners, terminal commands with quoted JSON, long URLs, multi-line prompts), write the exact text to a file and open it so the user can copy it clean. Use whenever the assistant is about to say "paste this command into..." or similar, especially for browser DevTools console pastes, complex shell commands, or anything containing regex literals, escaped quotes, or backticks.

0 Updated 1 months ago
cobuchan