paste-image

Save macOS clipboard images to PNG files for AI workflows.

248|30|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/cafe3310/public-agent-skills --skill paste-image
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paste-image
Source: https://github.com/cafe3310/public-agent-skills/tree/main/skills_archived/paste-image
Command: npx skills add https://github.com/cafe3310/public-agent-skills --skill paste-image

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires osascript, and includes scripts (resource) components.

What problem does it solve?

This Skill removes the manual effort of transferring images from the macOS clipboard into files, providing a reliable way for AI agents to access pasted image data.

Core Features & Use Cases

  • Clipboard Image Capture: Saves PNG images directly from the macOS clipboard into a specified file path.
  • Reliable File Output: Validates the destination path and handles missing or invalid clipboard image data safely.
  • Use Case: When a user copies a screenshot or image and asks an AI agent to analyze it, this Skill can create a PNG file for further processing.

Quick Start

Use the paste-image skill to save the image currently in my macOS clipboard to the specified PNG file path.

Frequently Asked Questions about paste-image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to automate screenshot analysis from the macOS clipboard?

The best way to automate screenshot analysis is to save the clipboard image into a PNG file first. This allows AI agents to reliably access the pasted visual data for immediate processing and analysis.

How do I extract clipboard images for automated screenshot processing?

To extract clipboard images for automated screenshot processing, this Skill saves pasted visual data from the macOS clipboard into PNG files, allowing AI workflows to directly access and analyze the screenshots.

Do I need osascript to save a clipboard image to a PNG file on macOS?

Yes, osascript is required to save a clipboard image to a PNG file on macOS. This dependency validates PNG availability in the clipboard and writes the image data to a specified target path.

What happens if my clipboard does not contain an image when saving a PNG file?

If your clipboard does not contain an image, the Skill safely handles missing or invalid clipboard image data. It validates the destination path and prevents writing a broken PNG file.

Can I use this to pass copied visual data directly into an AI workspace?

Yes, you can use this to pass copied visual data into an AI workspace. It captures images from the macOS clipboard and saves them as PNG files for direct access by AI agents.

What is the best way to prepare a macOS screenshot for AI analysis?

The best way to prepare a macOS screenshot for AI analysis is to save the clipboard image as a PNG file. This removes manual transfer effort and provides a reliable file path for AI workflows to process.