paste-image

paste-image is a skill for Claude Code, Codex from cafe3310/public-agent-skills. It costs 30 tokens per session (308 once invoked), scanned A, original, Apache-2.0.

A macOS script that saves an image from the system clipboard as a PNG file at a specified path. It checks that the destination and clipboard image are valid.

In plain words
What is it for?
Use it when a user has an image in the macOS clipboard and wants it saved into the workspace for analysis or further processing.
Why use it?
It removes the manual step of exporting a copied screenshot or image before an agent can inspect it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when a user has an image in the macOS clipboard and wants it saved into the workspace for analysis or further processing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cafe3310/public-agent-skills/paste-image
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 cafe3310/public-agent-skills --skill paste-image
Clone the repo
git clone --depth 1 https://github.com/cafe3310/public-agent-skills

Made for: Claude Code, Codex.

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-image

README.md
[![agentmods](https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/paste-image/github.svg)](https://agentmods.dev/skills/cafe3310/public-agent-skills/paste-image)
Your own site
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/paste-image"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/paste-image/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 paste-image

Your own site · 80×15
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/paste-image"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/paste-image.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 308 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.00030 $0.00308
Opus 5.5 $0.00012 $0.00123
Sonnet 5.5 $0.00006 $0.00062
Haiku 4.5 $0.00003 $0.00031

Measured 3mo ago against content hash fc40e03043ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

paste-image 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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_archived/paste-image/SKILL.md · 32 lines

What it actually says

技能: paste-image

描述

此技能提供一个脚本,用于将 macOS 剪贴板中的图片直接粘贴到指定的 PNG 文件。这是一种安全且可靠的方式,可以将用户的剪贴板中的图片数据获取到工作区。

何时使用

当需要从 macOS 系统的用户剪贴板中读取图片数据时,应使用此技能。例如,如果用户说“我的剪贴板里有一张图片,你能分析它吗?”。

命令

要使用此技能,请执行 run.sh 脚本,并将所需的输出路径作为参数。

paste-image/scripts/run.sh <输出路径>

参数

  • <输出路径> (必填): PNG 图片文件应保存的完整绝对路径。该路径的目录必须已经存在。

错误处理

  • 如果未提供输出路径,脚本将报错退出。
  • 如果输出路径的目录不存在,脚本将报错退出。
  • 如果剪贴板中不包含有效的 PNG 格式图片,脚本将报错退出。在这种情况下,任何可能已创建的空文件都将被自动删除。
Files

What ships with it

1 file 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. 3mo ago First seen · 32 lines · 30 tokens per session scan A fc40e03043ca

Subscribe to this mod's changes

paste-image is a skill published in the GitHub repository cafe3310/public-agent-skills (260 stars, last pushed 14d ago), licensed Apache-2.0. It adds 30 tokens to every session and 308 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

paste-image compared with skills from other repositories

paste-image next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
paste-imagecafe3310/public-agent-skillsSkill26014d agoApache-2.0A30Claude Code, Codex
expertsflc1125/skillsSkill39todayMITA62Claude Code, Codex
asyncflc1125/skillsSkill39todayMITA52Claude Code, Codex
github-release-pr-writerflc1125/skillsSkill39todayMITA80Claude Code, Codex
yuqueflc1125/skillsSkill39todayMITA72Claude Code, Codex
getnoteflc1125/skillsSkill39todayMITA83Claude Code, Codex
opentelemetry-go-reviewerflc1125/skillsSkill39todayMITA34Claude Code, Codex