paste

Cleans terminal output and reformats clipboard content for Slack, Notion, Twitter, LinkedIn, email, and GitHub.

Updated Aug 13, 2026
One-click install
npx skills add https://github.com/imMamdouhaboammar/marketing-skills --skill paste-immamdouhaboammar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paste
Source: https://github.com/imMamdouhaboammar/marketing-skills/tree/main/skills/paste
Command: npx skills add https://github.com/imMamdouhaboammar/marketing-skills --skill paste-immamdouhaboammar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Terminal output and copied content carry ANSI escape codes, box-drawing characters, and prompt artifacts that render as garbage when pasted into Slack, Notion, social platforms, or email. This Skill strips that noise, applies destination-specific formatting rules, and scans for leaked secrets before anything reaches your clipboard. ## Core Features & Use Cases - Universal cleaning: Strips ANSI escape codes, box-drawing characters, shell prompt artifacts, carriage returns, and excess whitespace from any input. - Destination-aware formatting: Converts markdown to Slack's syntax, plain text for Twitter/X and LinkedIn, HTML for rich email, or clean markdown for Notion and GitHub. - Secret detection: Scans for API keys, tokens, JWTs, private keys, and .env values before copying, masking matches and asking whether to continue, redact, or abort. - Use Case: You copy a stack trace from your terminal and run "/paste slack" — the Skill strips 12 ANSI codes and 4 box-drawing characters, converts bold markers to Slack format, copies the result to your clipboard, and shows a preview. ## Quick Start Ask the agent to clean the clipboard content and format it for Slack by invoking the paste skill with the slack destination.

Frequently Asked Questions about paste

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean terminal output for pasting into Slack?

Invoke the paste skill with the slack destination. It strips ANSI escape codes, box-drawing characters, and prompt artifacts, then converts markdown to Slack's syntax (e.g., **bold** becomes *bold*) and copies the result to your clipboard.

How to strip ANSI escape codes from copied terminal text?

The paste skill removes ANSI escape sequences matching color codes, cursor movement, and screen control patterns during its universal cleaning step. This runs for every destination, since terminal escapes render as garbage outside the source terminal.

Does the paste skill detect API keys before copying?

Yes, it scans content against patterns for AWS keys, GitHub tokens, OpenAI and Anthropic keys, Slack tokens, JWTs, private key blocks, and database URLs before any clipboard write. On a match it masks the value and asks whether to continue, redact, or abort.

Can I convert markdown to rich text for email or Notion?

Yes, the email rich and html destinations render markdown to a styled HTML file in /tmp and open it in your browser. You then select and copy from the browser to preserve formatting in Gmail, Notion, or Google Docs.

What happens when content exceeds Twitter's character limit?

The skill warns when content exceeds 280 characters for Twitter/X and notes the overage, and flags LinkedIn content over 400 characters as a comfort guideline. It offers trim options rather than silently truncating your text.