Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

screenshot截图工具

Agent Skill

screenshot 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

388

周安装

16

GitHub Stars

17

下载量

127
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:screenshot(截图工具)
来源仓库:https://github.com/0xdarkmatter/claude-mods
仓库路径:skills/screenshot
安装命令:
npx skills add https://github.com/0xdarkmatter/claude-mods --skill screenshot
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/0xdarkmatter/claude-mods --skill screenshot

简介

该技能可自动检测系统截图存储位置,支持按数量筛选显示最新截图。

  • 核心能力是快速定位和可视化最近保存的屏幕图像。
  • 使用时通过命令指定数量即可调用,screenshot 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 如 /screenshot 5 显示五张。
  • 安装前请确认宿主环境是否允许访问本地文件系统,以及是否有权限读取图片目录。

SKILL.md

Screenshot Viewer

Quickly find and display recent screenshots from common screenshot directories.

Usage

/screenshot          # Show last 5 screenshots (default)
/screenshot 1        # Show only the most recent
/screenshot 10       # Show last 10 screenshots

How It Works

  1. Auto-detect screenshot locations - Checks common directories in this order:

- Windows: Pictures\Screenshots, ShareX, Greenshot, OneDrive\Screenshots - macOS: ~/Desktop, ~/Screenshots - Linux: ~/Pictures, ~/Desktop

  1. Find recent screenshots - Uses Glob to find image files (png, jpg, jpeg, gif, webp) sorted by modification time
  2. Display visually - Uses Read tool to show screenshots so you can analyze and discuss them

Implementation

Step 1: Detect Screenshot Directory

Check common locations and use the first one that exists:

Windows:

# Priority order
1. %USERPROFILE%\Pictures\Screenshots           # Windows 11 native
2. %USERPROFILE%\Documents\ShareX\Screenshots   # ShareX
3. %USERPROFILE%\Pictures\Greenshot             # Greenshot
4. %USERPROFILE%\OneDrive\Pictures\Screenshots  # OneDrive sync
5. %USERPROFILE%\Pictures                       # Fallback

macOS:

1. ~/Desktop              # Default macOS location
2. ~/Screenshots          # Custom folder
3. ~/Pictures             # Fallback

Linux:

1. ~/Pictures/Screenshots # GNOME/KDE
2. ~/Pictures             # Fallback
3. ~/Desktop              # Alternative

Step 2: Find Recent Screenshots

Use Glob to find image files, sorted by modification time:

# Find all image files in screenshot directory
fd -e png -e jpg -e jpeg -e gif -e webp . "$SCREENSHOT_DIR" --max-depth 1 -t f --exec stat --format="%Y %n" {} \; | sort -rn | head -n $COUNT

Or using native tools:

Windows (PowerShell):

Get-ChildItem "$env:USERPROFILE\Pictures\Screenshots" -File |
  Where-Object {$_.Extension -match '\.(png|jpg|jpeg|gif|webp)$'} |
  Sort-Object LastWriteTime -Descending |
  Select-Object -First $COUNT

Unix (Bash):

find "$SCREENSHOT_DIR" -maxdepth 1 -type f \( -iname "*.png" -o -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.gif" -o -iname "*.webp" \) -printf '%T@ %p\n' | sort -rn | head -n $COUNT | cut -d' ' -f2-

Step 3: Display Screenshots

For each screenshot found, use Read tool to display it visually:

Found 3 screenshots in C:\Users\...\Pictures\Screenshots

1. Screenshot_2026-01-28_14-32-10.png (45 KB, 2 minutes ago)
[Read tool displays image visually]

2. Screenshot_2026-01-28_14-15-03.png (128 KB, 19 minutes ago)
[Read tool displays image visually]

3. Screenshot_2026-01-28_13-58-22.png (67 KB, 36 minutes ago)
[Read tool displays image visually]

Arguments

ArgumentDefaultDescription
count5Number of screenshots to show

Examples:

  • /screenshot - Show last 5
  • /screenshot 1 - Show only most recent
  • /screenshot 10 - Show last 10

Output Format

Screenshots from [directory]

## Screenshot 1 of N
**File**: [filename]
**Size**: [size] KB
**Modified**: [time ago]

[Visual display of screenshot via Read tool]

## Screenshot 2 of N
...

Edge Cases

No Screenshot Directory Found

No screenshot directory found.

Checked locations:
  - C:\Users\...\Pictures\Screenshots (not found)
  - C:\Users\...\Documents\ShareX\Screenshots (not found)
  - C:\Users\...\Pictures\Greenshot (not found)

To use this skill, either:
  1. Take a screenshot (Win+Shift+S on Windows)
  2. Specify a custom directory: /screenshot --dir="C:\path\to\screenshots"

No Screenshots Found

No screenshots found in C:\Users\...\Pictures\Screenshots

Directory exists but contains no image files (.png, .jpg, .jpeg, .gif, .webp)

Count Exceeds Available

Found 3 screenshots (requested 10)

Showing all 3:
[displays all available screenshots]

Performance

  • Fast - Uses filesystem tools (fd or native) instead of reading all files
  • Efficient - Only reads the exact number requested
  • Token-conscious - Large screenshots are automatically resized by Read tool

Custom Directory (Optional)

To use a non-standard directory:

/screenshot 5 --dir="C:\Custom\Path"

Or create a project-specific config in .claude/screenshot.json:

{
  "directory": "C:\\Custom\\Screenshots",
  "default_count": 3,
  "file_extensions": ["png", "jpg", "webp"]
}

Integration

Works well with:

  • /explain - Explain what's in the screenshot
  • /review - Review UI/code in screenshot
  • Browser automation tools - Verify screenshot matches expected state

Notes

  • Respects modification time (newest first)
  • Ignores subdirectories (only top-level)
  • Supports common image formats (png, jpg, jpeg, gif, webp)
  • Works across Windows, macOS, Linux with platform-specific paths

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.14%
按下载量换算43

Claude

31.61%
按下载量换算40

Cursor

16.81%
按下载量换算21

Gemini CLI

8.61%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills