paste

paste is a skill for Claude Code, Codex from coreyhaines31/makerskills. It costs 165 tokens per session (1,777 once invoked), scanned C, original, MIT.

A tool that cleans terminal output and reformats it for places such as Slack, Notion, email, GitHub, or plain text. It can remove terminal control codes, drawing characters, and prompt fragments.

In plain words
What is it for?
Use it when preparing terminal text for pasting into a specific app or publishing format.
Why use it?
It prevents copied terminal output from containing broken formatting or unreadable artifacts. It also adapts the text to the intended destination.

Skill for Claude CodeCodex

Part of the makerskills plugin — 20 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/coreyhaines31/makerskills/paste
Any agent
npx skills add coreyhaines31/makerskills --skill paste
Clone the repo
git clone --depth 1 https://github.com/coreyhaines31/makerskills

Made for: Claude Code, Codex.

Or install makerskills, the plugin that ships this one along with the rest of its 20 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for paste

README.md
[![agentmods](https://agentmods.dev/badge/skills/coreyhaines31/makerskills/paste.svg)](https://agentmods.dev/skills/coreyhaines31/makerskills/paste)
Your own site
<a href="https://agentmods.dev/skills/coreyhaines31/makerskills/paste"><img src="https://agentmods.dev/badge/skills/coreyhaines31/makerskills/paste.svg" alt="Measured on agentmods" height="20"></a>
Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,777 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00165 $0.01777
Opus 5 $0.00082 $0.00889
Sonnet 5 $0.00033 $0.00355
Haiku 4.5 $0.00016 $0.00178

Measured 4d ago against content hash e5e1268b8180, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

paste scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

Twitter and LinkedIn have practical limits. the user said "let me trim" — don't refuse or auto-truncate.
skills/paste/SKILL.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/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.

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

Read the full file on GitHub · 128 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 128 lines · 165 tokens per session scan C e5e1268b8180

Subscribe to this mod's changes

paste is a skill published in the GitHub repository coreyhaines31/makerskills (766 stars, last pushed 6d ago), licensed MIT. It adds 165 tokens to every session and 1,777 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

superbrain-distill

Internal SuperBrain skill — run by the detached capture child to distill a session-event delta into routed Obsidian notes. Not for direct user invocation.

m3talux/superbrain · 36 tokens

dr-fanout

One command to fan a Deep Research prompt out to several external LLMs at once (ChatGPT / Gemini / Grok / others) through the operator's logged-in browser, then collect the reports, archive the originals, and synthesize a consensus. Trigger on "/dr-fanout", "fan out the DR", "distribute the research prompt". Automates…

tonydzi/second-brain-starter-kit · 98 tokens

journey

Resurrect and continue a build-in-public BOOK — the serialized story of a founder + AI- cofounder journey. One command: pick up state (which days are written in which languages, what's uncommitted, where the gaps are), then continue writing via the established pipeline. Trigger on "/journey", "the book", "continue the…

tonydzi/second-brain-starter-kit · 76 tokens

alfa-search-recall-deepresearch

Mandatory decision protocol ("Alpha Protocol") for any new STRATEGIC work — never jump to implementation on local recall alone. Run RECALL over the knowledge vault → GAP analysis → emit a DEEP RESEARCH PROMPT to run in external deep-research tools → SYNTHESIS + Decision Memo when results come back. Trigger on…

tonydzi/second-brain-starter-kit · 129 tokens

follower-onboard

Onboard a NEW family/team machine as a FOLLOWER-CONSUMER joining the multi-machine Claude+vault network. A follower READS the shared vault + canon + skills + memory as RECEIVE- ONLY data, runs nothing heavy locally (no RAG/reindex/GPU), and the hub never pushes executable hooks to it. Trigger on "/follower-onboard "…

tonydzi/second-brain-starter-kit · 99 tokens

bus

Cross-machine messaging between computers in the fleet over a shared TELEGRAM GROUP (primary rail) — every machine posts/reads in one group via the Telegram MCP, so it works even when file sync is down, AND humans can watch the machines talk in plain sight. A synced folder stays as the FALLBACK for oversized payloads.…

tonydzi/second-brain-starter-kit · 90 tokens