find-screenshot

Identify the newest PNG file in ~/temp/screenshots by modification time.

Updated Sep 30, 2021
One-click install
npx skills add https://github.com/isymchych/accel-os --skill find-screenshot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: find-screenshot
Source: https://github.com/isymchych/accel-os/tree/main/ai/codex/skills/find-screenshot
Command: npx skills add https://github.com/isymchych/accel-os --skill find-screenshot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill quickly locates the most recent PNG image in the user's screenshots folder and prepares it for attachment, saving time when sharing or reviewing visuals.

Core Features & Use Cases

  • Finds the newest .png file in ~/temp/screenshots by modification time, validating that the directory exists and contains PNGs.
  • Attaches the found image to the conversation using the view_image tool and returns the absolute path.
  • Gracefully reports errors when the directory is missing or no PNGs are present, and prompts for the next action.
  • Use cases include sharing the latest UI screenshot, confirming recent screen captures, or attaching an image to a report.

Quick Start

Ask the AI to locate and attach the most recent PNG file from ~/temp/screenshots.

Frequently Asked Questions about find-screenshot

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

FAQPage Schema
How do I automatically attach the newest PNG screenshot to my conversation?

To locate the latest screenshot, this Skill scans the ~/temp/screenshots directory, filters for PNG files, compares modification timestamps to identify the newest one, and attaches it to your conversation using the view_image tool.

Does this screenshot finder only look for PNG files in the screenshots folder?

If the screenshots directory is missing or contains no PNG files, the Skill gracefully reports an error message indicating the issue and prompts you for the next action to take instead of failing silently.

How does the screenshot attachment process determine which file is the latest?

Yes, this screenshot finder exclusively filters for and processes PNG files within the ~/temp/screenshots directory, ignoring other image formats to ensure it retrieves the correct visual capture.

Can I use this tool to share recent screen captures for UI reports?

The screenshot attachment process determines the latest file by validating the directory, filtering for PNG files, and comparing their modification timestamps to select the most recently changed image.

What is the best way to retrieve the most recent image from a local screenshots directory?

Yes, you can use this tool to share recent screen captures for UI reports by automatically locating and attaching the newest PNG screenshot from your designated folder to the current conversation.

What is the best way to retrieve the most recent image from a local screenshots directory?

The best way to retrieve the most recent image is to automate the search by applying directory existence checks, PNG filtering, and timestamp comparison to extract the newest file from ~/temp/screenshots.