clipboard-paste

clipboard-paste is a skill for Claude Code from martinhjartmyr/claude-plugin-clipboard. It costs 47 tokens per session (457 once invoked), scanned A, original, MIT.

A tool instruction for reading text that the user has copied to the computer's clipboard. The clipboard is the temporary place where copied text is held before it is pasted elsewhere.

In plain words
What is it for?
Use it when the user asks to read, paste, show, or process something they copied.
Why use it?
It removes the need for the user to retype or manually paste copied content into the conversation. It also describes the clipboard command to use on different operating systems.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the clipboard plugin — 2 skills, 2 commands shipped together

Good fit Use it when the user asks to read, paste, show, or process something they copied.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/martinhjartmyr/claude-plugin-clipboard/clipboard-paste
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.

Any agent
npx skills add martinhjartmyr/claude-plugin-clipboard --skill clipboard-paste
Clone the repo
git clone --depth 1 https://github.com/martinhjartmyr/claude-plugin-clipboard

Made for: Claude Code.

Or install clipboard, the plugin that ships this one along with the rest of its 2 skills, 2 commands.

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 clipboard-paste

README.md
[![agentmods](https://agentmods.dev/badge/skills/martinhjartmyr/claude-plugin-clipboard/clipboard-paste/github.svg)](https://agentmods.dev/skills/martinhjartmyr/claude-plugin-clipboard/clipboard-paste)
Your own site
<a href="https://agentmods.dev/skills/martinhjartmyr/claude-plugin-clipboard/clipboard-paste"><img src="https://agentmods.dev/badge/skills/martinhjartmyr/claude-plugin-clipboard/clipboard-paste/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clipboard-paste

Your own site · 80×15
<a href="https://agentmods.dev/skills/martinhjartmyr/claude-plugin-clipboard/clipboard-paste"><img src="https://agentmods.dev/badge/skills/martinhjartmyr/claude-plugin-clipboard/clipboard-paste.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 457 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00047 $0.00457
Opus 5 $0.00023 $0.00229
Sonnet 5 $0.00009 $0.00091
Haiku 4.5 $0.00005 $0.00046

Measured 12d ago against content hash 13ed1508eb0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

clipboard-paste scanned grade A with 0 findings 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 12d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/clipboard-paste/SKILL.md · 75 lines

What it actually says

Clipboard Paste Skill

This skill enables reading content from the system clipboard when the user's intent suggests they want to access previously copied content.

When to Activate

Use this skill when the user:

  • Asks "what's in my clipboard" or "show clipboard contents"
  • Says "paste from clipboard" or "read clipboard"
  • Mentions "use what I copied" or "the thing I copied"
  • Asks to process, analyze, or work with clipboard content
  • Says "paste that here" referring to external content

Cross-Platform Clipboard Commands

Detect and use the appropriate clipboard command:

macOS

pbpaste

Linux (Wayland)

wl-paste

Linux (X11)

xclip -selection clipboard -o

WSL

powershell.exe -command "Get-Clipboard"

Platform Detection Pattern

if command -v pbpaste &>/dev/null; then
  pbpaste
elif command -v wl-paste &>/dev/null; then
  wl-paste
elif command -v xclip &>/dev/null; then
  xclip -selection clipboard -o
elif command -v powershell.exe &>/dev/null; then
  powershell.exe -command "Get-Clipboard"
else
  echo "Error: No clipboard command available"
  exit 1
fi

After Reading

Display the clipboard content to the user. If the user asked to process or transform the content (e.g., "paste and summarize", "what's in my clipboard and fix the formatting"), apply the requested operation to the content.

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. 12d ago First seen · 75 lines · 47 tokens per session scan A 13ed1508eb0f

Subscribe to this mod's changes

clipboard-paste is a skill published in the GitHub repository martinhjartmyr/claude-plugin-clipboard (3 stars, last pushed 7mo ago), licensed MIT. It adds 47 tokens to every session and 457 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.