通过截图捕获屏幕上下文,帮助 AI 更准确理解当前界面与问题。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "using-screenshots" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/FluidFramework/main/.agency/plugins/nori/skills/using-screenshots/SKILL.md 2. 保存为 ~/.claude/skills/using-screenshots/SKILL.md 3. 装好后重载技能,告诉我可以用了
我会提供当前页面的截图,请根据截图识别界面上的问题,并总结可能的原因与改进建议。
基于截图的界面问题分析、原因判断与优化建议。
我会上传报错截图,请读取其中的关键信息,解释错误含义,并告诉我下一步该如何排查。
截图中的错误信息解读,以及清晰的排查步骤。
我会提供一个页面截图,请概括页面的主要内容、结构和用户当前可执行的操作。
对截图页面内容、布局和可操作项的简明总结。
You CAN take screenshots by combining the Bash tool with platform-specific screenshot commands. Screenshots are saved as image files, then loaded into your context using the Read tool for visual analysis.
Use this skill when I ask you to:
| Platform | Command | Interactive Selection |
|---|---|---|
| macOS | screencapture | -i flag (area selection) |
| Linux | gnome-screenshot, scrot, or import |
-a or -s flag |
Standard workflow:
uname -s/tmp/screenshot_$(date +%s).pnguname -s
Darwin for macOSLinux for LinuxmacOS: screencapture is always available (built-in)
Linux: Check in priority order:
which gnome-screenshot || which scrot || which import || echo "none"
Priority order (best compatibility):
gnome-screenshot - works on both X11 and Waylandscrot - lightweight, X11 onlyimport - part of ImageMagickUse timestamped filename to avoid conflicts:
macOS:
screencapture -i /tmp/screenshot_$(date +%s).png
-i enables interactive area selectionLinux with gnome-screenshot:
gnome-screenshot -af /tmp/screenshot_$(date +%s).png
-a for area selection-f specifies filenameLinux with scrot:
scrot -s /tmp/screenshot_$(date +%s).png
-s enables selection modeLinux with import:
import /tmp/screenshot_$(date +%s).png
Read tool: file_path="/tmp/screenshot_12345.png"
The Read tool displays images visually. You'll see the screenshot and can analyze it.
Once loaded, you can:
rm /tmp/screenshot_12345.png
Only remove if I won't need the file again.
If no screenshot tool is available on Linux:
Inform me which tool is missing
Suggest installation:
sudo apt install gnome-screenshotsudo dnf install gnome-screenshotsudo pacman -S gnome-screenshotsudo apt install imagemagick (or equivalent)Alternative: Ask user to manually take screenshot and provide path
Reality: You CAN via Bash + screenshot CLI tools
Reality: The screenshot file must be loaded with Read tool to see it
Reality: Always use absolute paths (/tmp/...) for Read tool
Reality: Must detect which tool is installed before attempting capture
User: "Take a screenshot and help me debug this UI bug"
1. Check platform:
uname -s → Linux
2. Check available tools:
which gnome-screenshot → /usr/bin/gnome-screenshot
3. Capture screenshot:
gnome-screenshot -af /tmp/screenshot_1729012345.png
→ User selects area, file saved
4. Load into context:
Read: file_path="/tmp/screenshot_1729012345.png"
→ Image displays visually
5. Analyze:
…
帮助你严谨评估代码评审意见,澄清疑点后再决定是否采纳与实现
帮助 AI 截取本地网页与指定界面元素,并提取元数据用于精准分析。