viewing-macos-screenshots

majiayu000 的头像作者 majiayu000

查看和分析 macOS 屏幕截图。当用户提及屏幕截图、要求查看他们捕获的内容、说“查看我的屏幕截图”、“检查我最后的 X 个屏幕截图”或需要有关他们屏幕截图的内容的帮助时使用。

📖 中文导读:查看和分析 macOS 屏幕截图。当用户提及屏幕截图、要求查看他们捕获的内容、说“查看我的屏幕截图”、“检查我最后的 X 个屏幕截图”或需要有关他们屏幕截图的内容的帮助时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: viewing-macos-screenshots description: View and analyze macOS screenshots. Use when the user mentions screenshots, asks to see what they captured, says "look at my screenshot", "examine my last X screenshots", or wants help with something they screenshotted.

Viewing macOS Screenshots

Instructions

When the user wants to see or discuss their screenshots:

  1. Determine how many screenshots the user wants:

    • Default: 1 (most recent)
    • If user says "last 3 screenshots" or "last X screenshots", use that number
  2. Find the screenshot location:

    defaults read com.apple.screencapture location 2>/dev/null || echo "$HOME/Desktop"
    
  3. Find the screenshot files (sorted by most recent):

    # For N screenshots, use head -N
    ls -t "$SCREENSHOT_DIR"/Screenshot*.png "$SCREENSHOT_DIR"/"Screen Shot"*.png 2>/dev/null | head -N
    
  4. Read each image using the Read tool with the file path(s).

  5. Describe and analyze what you see, then ask if the user has questions or needs help with what's shown.

Trigger Phrases

Activate this skill when the user says things like:

  • "look at my screenshot"
  • "see what I captured"
  • "check this screenshot"
  • "what's in my latest screenshot"
  • "examine my last 3 screenshots"
  • "show me my recent screenshots"
  • "I just took a screenshot"
  • "here's a screenshot" (without providing a path)