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 $0.00015 $0.00154
Sonnet 5 $0.00006 $0.00062
Haiku 4.5 $0.00003 $0.00031

Measured 9d ago against content hash fc40e03043ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 9d 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. 9d 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 (253 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 30 tokens to every session and 308 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-30.

Related

Other skills, from other repositories

short-fiction-scaffolder

Scaffold a new Chinese commercial short-fiction project with versioned drafts, one maintained outline, publication metadata, revision notes, and optional cover artwork. Use when starting a new short-story repository or directory; do not use for drafting or revising an existing story.

flc1125/skills · 58 tokens

volcengine-ark-image-generator

Generate or validate Volcengine Ark image requests for text-to-image and single-reference image workflows. Use when Codex needs to choose a Seedream or SeedEdit model, shape prompts, execute image generation through the bundled script, explain Ark images.generate options, or guard against invalid parameter…

flc1125/skills · 66 tokens

eli5

Create a dead-simple visual explanation of a topic as a self-contained HTML artifact. Use when the user says ELI5, asks to explain something like they are five, or wants a picture-first explanation with very few words; do not use for ordinary concise explanations that do not ask for this format.

flc1125/skills · 63 tokens

preview-svg

Render and preview SVG animations in the browser with play/pause, timeline scrubbing, zoom & pan, code view, and export. Use when explaining a concept visually with an animated SVG (SMIL, CSS keyframes, or inline-JS), prototyping path-draw / morph / motion-path effects, or iterating on an animated icon, logo, or…

veelenga/preview-skills · 107 tokens

preview-threejs

Create interactive 3D visualizations using Three.js with orbit controls, lighting, and animation.

veelenga/preview-skills · 22 tokens

ai-video-generation

Generate AI videos on RunComfy via the runcomfy CLI — a smart router across the full video-model catalog: HappyHorse 1.0 (Arena #1, native in-pass audio), Wan-AI Wan 2-7 (open weights, audio-driven lip-sync), ByteDance Seedance v2 / 1-5 / 1-0 (multi-modal cinematic), Kling 3.0 / 2-6, Google Veo 3-1, MiniMax Hailuo…

firstsun-dev/skills · 276 tokens