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.

MITAuto-check: notes

Install Paste

skills CLI
$ npx skills add coreyhaines31/makerskills --skill paste -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install coreyhaines31/makerskills paste --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/coreyhaines31/makerskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/paste .claude/skills/paste && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
paste
GitHub stars
848
Token cost
~1.7k tokens
SKILL.md length
789 words
Files
3 (incl. references)
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

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.

  • Works in 6 steps: Get the content → Parse destination → Scan for secrets → …
  • /paste [destination]
  • SKILL.md covers Step 1 — Get the content, Step 2 — Parse destination, Step 3 — Scan for secrets and Step 4 — Universal cleaning, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Paste is an agent skill from coreyhaines31/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 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…

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/destinations.md` and `references/secret-patterns.md`).

It works with GitHub, LinkedIn, X (Twitter) and Notion. The repository describes itself as: AI agent skills for the personal operator's craft — decisions, research, second-brain, content rotation, scenario modeling, and meta-skills to author more. Works with Claude… The licence is MIT.

When your agent uses it

  • /paste [destination]
  • Clean this for X
  • Format for slack/notion/twitter/linkedin/email/github
  • Render as markdown

Example prompts

  • “/paste”
  • “/paste [destination]”
  • “clean this for X,”
  • “/paste”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Get the content
  2. Parse destination
  3. Scan for secrets
  4. Universal cleaning
  5. Apply destination rules
  6. Output

What it can do on your machine

Read from SKILL.md and the folder at commit 1868b81. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Paste loads about 1.7k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 182 tokens; SKILL.md has 789 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~182
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:3
    lso scans for secrets (API keys, tokens, .env values) and warns before copying anything sensitive.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from coreyhaines31/makerskills at commit 1868b81, republished under its MIT licence (© coreyhaines31). 789 words, ~1,721 tokens.

Download SKILL.mdSave it as .claude/skills/paste/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
paste
description
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.
metadata.version
0.1.1

/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

InvocationDestination
/pasteplain (default)
/paste plainplain
/paste slackslack
/paste notionnotion
/paste twitter or /paste xtwitter
/paste linkedin or /paste lilinkedin
/paste emailemail (plain)
/paste email rich or /paste email htmlemail (rich/HTML)
/paste github or /paste ghgithub
/paste markdown or /paste mdmarkdown render
/paste htmlrender 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.

Step 4 — Universal cleaning

Strip from the content:

  • ANSI escape codes — \x1b\[[0-9;]*[a-zA-Z] and related (color codes, cursor movement, screen control)
  • Box-drawing chars — ╭ ─ ╮ │ ╰ ╯ ╞ ╡ ╤ ╧ ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼ ━ ┃ ┏ ┓ ┗ ┛ etc. Replace with simpler equivalents (-, |) or remove entirely depending on context.
  • Terminal prompt artifacts — leading $ , > , ❯ , % , # (when first non-whitespace on a line that looks like a shell prompt)
  • Carriage returns (\r) — replace with \n or delete
  • Trailing whitespace per line
  • Excess blank lines — collapse 3+ consecutive blank lines to 2

Step 5 — Apply destination rules

Read references/destinations.md and apply the relevant transform.

Step 6 — Output

DestinationOutput behavior
plain / slack / notion / twitter / linkedin / email / github(a) Show preview in a code fence in chat. (b) Copy clean version to clipboard via pbcopy.
email richRender to HTML, write to /tmp/paste-<timestamp>.html, open it in browser. Skip clipboard (the user copies from browser to preserve rich text).
markdownRender the cleaned markdown directly in chat (Claude Code renders it). Also copy raw markdown to clipboard. Offer: "Open as HTML too?" — if yes, write and open.
htmlRender to HTML, write to /tmp/paste-<timestamp>.html, open it. Skip clipboard.

After output, report a one-line summary of what was cleaned (e.g., "Stripped 12 ANSI codes, 4 box-drawing chars, 1 prompt artifact. Character count: 248 / 280 (X).").

Length warnings

Twitter and LinkedIn have practical limits. the user said "let me trim" — don't refuse or auto-truncate.

  • Twitter/X: warn if >280 chars. Note the overage.
  • LinkedIn: warn if >400 chars (comfort line, not hard limit).
  • Other destinations: no length warning.

URL handling for social destinations

If the content has URLs and destination is twitter or linkedin:

  • Surface the URLs separately (don't include them in the body)
  • Remind the user: links go in a first comment (LinkedIn) or reply (X), not the body
  • See makerskills:jab-hook and ~/.claude/memory/feedback_social_link_placement.md
Show full SKILL.md (295 more words)Show less

Examples

/paste slack

→ Reads clipboard, strips ANSI, converts **bold** to *bold*, copies to clipboard, shows preview.

/paste twitter
[pasted error log]

→ Uses pasted content (ignores clipboard), strips everything, warns at 412/280 chars, copies, asks if the user wants to trim or pick a different destination.

/paste html
[pasted markdown table]

→ Renders table as HTML, opens in browser. the user selects + copies into Notion/email with formatting preserved.

/paste
[pasted output with sk-anthropic-key in it]

→ Stops. "Spotted what looks like an Anthropic API key: sk-an...3kf9. Continue, redact, or abort?"

Composes with

  • jab-hook — clean output for pasting into Typefully drafts when the MCP path doesn't fit; also enforces the link-placement rule for X/LinkedIn destinations
  • social-fetch — clean a fetched post before quoting it in a draft or newsletter
  • second-brain — paste output can be captured cleanly into raw/note-<slug>.md for future compilation
  • watch-video — transcript / summary output often flows through paste for platform-specific reformatting

Notes on quality

  • Secret detection runs first, always. Before any formatting or destination logic, paste scans for sk-*, AKIA*, xoxb-*, JWT-shaped strings, and long-hex tokens. Prompts before proceeding on any hit. Better to false-positive occasionally than to leak a real key.
  • Destination-aware transforms, not one-size-fits-all. Slack wants *bold*; LinkedIn wants unicode-styled bold; email wants HTML. Same input, 9 different valid outputs. The destination flag is not optional.
  • ANSI codes get stripped for every destination. Terminal escapes (\033[31m etc.) render as garbage everywhere except the source terminal.
  • Character limits are enforced, not warnings. X at 280, LinkedIn at 3000, Twitter at 25000 — paste refuses to copy over-limit output and offers a trim strategy.
  • Links go in first comments for social destinations — not the body. Enforced when destination is twitter or linkedin. Documented in ~/.claude/memory/feedback_social_link_placement.md.
  • HTML destination opens in a browser tab, not the clipboard. Formatted tables + code blocks need a rendered surface to select-and-copy from with formatting preserved. Copying raw HTML to the clipboard produces garbage in Notion/email.

© coreyhaines31, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/paste of coreyhaines31/makerskills.

  • SKILL.md
  • references/destinations.md
  • references/secret-patterns.md

Open the folder on GitHubat commit 1868b81

Compare with similar skills

Paste next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Paste compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Paste this skillcoreyhaines31/makerskills848—~1.7kAutomated safety check: NotesMIT
Social Previewthatrebeccarae/claude-marketing162—~2.1kAutomated safety check: PassMIT
ComposioComposioHQ/composio30k1 repos~1.7kAutomated safety check: PassMIT
Changelog Social RecapFlorianBruniaux/claude-code-ultimate-guide6.1k—~1.8kAutomated safety check: NotesCC-BY-SA-4.0
Connect Apps with ComposioComposioHQ/awesome-claude-skills77k3 repos~557Automated safety check: PassNone
Agent ReachEdisonChenAI/agent-reach1061 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Social Preview

    thatrebeccarae/claude-marketing

    Generate Open Graph social preview images (1280x640) for GitHub repositories.

    162 GitHub stars~2.1k tokensUpdated 4 mo ago
    Marketing & SEOAuto-check passed
  • Composio

    ComposioHQ/composio

    Route and complete Composio work across Composio For You and Composio Platform.

    30k GitHub starsUsed in 1 repo~1.7k tokens
    Productivity & AutomationAuto-check passed
  • Changelog Social Recap

    FlorianBruniaux/claude-code-ultimate-guide

    Turns CHANGELOG.md entries for a release or a week into LinkedIn, Twitter/X, newsletter and Slack posts in French and English.

    6.1k GitHub stars~1.8k tokensUpdated yesterday
    Writing & ContentAuto-check: notes
  • Connect Apps with Composio

    ComposioHQ/awesome-claude-skills

    Connects an agent to 1000+ external apps through the Composio Tool Router plugin, so it can actually send emails, create issues and post messages instead of only drafting them.

    77k GitHub starsUsed in 3 repos~557 tokens
    Productivity & AutomationAuto-check passed
  • Agent Reach

    EdisonChenAI/agent-reach

    Use the internet: search, read, and interact with 13+ platforms including Twitter/X, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu (小红书), Douyin (抖音), WeChat Articles (微信公众号), LinkedIn, Boss直聘…

    106 GitHub starsUsed in 1 repo~1.3k tokens
    Productivity & AutomationAuto-check passed
  • Socialite Development

    hexlet-volunteers/hexlet-sicp

    Manages OAuth social authentication with Laravel Socialite. An agent skill from hexlet-volunteers/hexlet-sicp.

    114 GitHub starsUsed in 5 repos~1.2k tokens
    Backend & APIsAuto-check passed

More from coreyhaines31/makerskills

All 12 skills in this repo
  • Business Brainstorm

    coreyhaines31/makerskills

    When you want to pressure-test a potential new business, product, or side project against the serial-founder filter.

    848 GitHub stars~1.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Company Cfo

    coreyhaines31/makerskills

    Monthly CFO workflow for a company or agency — pull raw data from bank + payment processor + payroll + expense management, categorize and reconcile, compute end-of-month cash via transaction-sum…

    848 GitHub stars~3.9k tokensUpdated 1 mo ago
    Auto-check: notes
  • Decide

    coreyhaines31/makerskills

    When you have a decision to make and want a structured workflow that picks the load-bearing questions, walks through them, reaches a call (or "wait"), and archives the rationale for future reference.

    848 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Ingest

    coreyhaines31/makerskills

    When you paste raw human input — a call transcript (Grain, Zoom, Granola, Fathom), a text or email from a client/partner/friend, a voice-memo dump, or meeting notes — and want it converted into…

    848 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Pm

    coreyhaines31/makerskills

    When you want to manage projects across your businesses using a kanban + Eisenhower methodology.

    848 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Read Book

    coreyhaines31/makerskills

    When you want to read and extract structured notes from a book — PDF, EPUB, MOBI, markdown, .txt, pasted text, or URL to a public-domain work.

    848 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Paste

What does Paste do?

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. Paste is an agent skill from coreyhaines31/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.

When should I use Paste?

Paste fits situations like: /paste [destination]; clean this for X; format for slack/notion/twitter/linkedin/email/github; render as markdown.

How do I install Paste in Claude Code?

Run `npx skills add coreyhaines31/makerskills --skill paste -a claude-code`. Or copy the skill folder (skills/paste in coreyhaines31/makerskills) into .claude/skills/paste in your project. Claude Code loads it when a task matches its description.

How do I install Paste in Codex?

Run `npx skills add coreyhaines31/makerskills --skill paste -a codex`. Or copy the skill folder (skills/paste in coreyhaines31/makerskills) into .agents/skills/paste in your project. Codex loads it when a task matches its description.

Can I use Paste in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add coreyhaines31/makerskills --skill paste -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/paste, .gemini/skills/paste, .github/skills/paste and .opencode/skills/paste in your project.

What does Paste need to run?

SKILL.md names no scripts, command-line tools or credentials: Paste is instructions for the agent only.

Does Paste access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Paste safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Paste use?

Paste is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Paste use?

About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2k tokens, read only when the agent opens those files.

What are the alternatives to Paste?

Skills that share tags, products or a category with Paste: Social Preview (thatrebeccarae/claude-marketing, 162 stars), Composio (ComposioHQ/composio, 30k stars), Changelog Social Recap (FlorianBruniaux/claude-code-ultimate-guide, 6.1k stars) and Connect Apps with Composio (ComposioHQ/awesome-claude-skills, 77k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Paste?

coreyhaines31 (a GitHub user) maintains it in coreyhaines31/makerskills, which has 848 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on September 4, 2026.

Source: coreyhaines31/makerskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.