mcpField
U
use-screenshot

use-screenshot

github.com/gjkellerProductivity051 installsUpdated 38w ago
Repository

About use-screenshot

A skill for checking a recent screenshot, clipboard image, or downloaded image. It runs a script that identifies the source and copies or moves the image to a temporary file for an agent to inspect.

Key features

  1. 01Finds recent clipboard images
  2. 02Checks downloaded images
  3. 03Copies desktop images to a temporary file
  4. 04Prints source and temporary path

Use cases

  1. 01Inspecting the latest screenshot
  2. 02Checking an image copied to the clipboard
  3. 03Reviewing a recent download

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/gjkeller/use-screenshot --skill use-screenshot

After installing, type/use-screenshotin Claude Code to confirm it loaded.

Bundled filesscripts/screenshot-agent.js

Details

From the project README

Use Screenshot

Trigger

When the user asks to check the latest screenshot, clipboard image, or a recent downloaded image.

Usage

  • Repo: node skills/use-screenshot/scripts/screenshot-agent.js
  • Downloads: node skills/use-screenshot/scripts/screenshot-agent.js --downloads
  • Clipboard only: node skills/use-screenshot/scripts/screenshot-agent.js --clipboard-only
  • Output is two lines:
    1. source (clipboard or original file path)
    2. temp file path (PNG/JPG/JPEG)

Agent pattern

out="$(node skills/use-screenshot/scripts/screenshot-agent.js)"
tmp="$(printf "%s\n" "$out" | sed -n '2p')"

If tmp is empty, treat as not found.

Notes

  • Desktop files are copied to temp then trashed.
  • Downloads files are moved to temp (not trashed).
  • Clipboard has no copy timestamp; the tool prefers a file modified within ~30s, otherwise clipboard.
  • Linux: requires wl-clipboard or xclip for clipboard images.

Comments

Markdown supported