Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use this to capture screen context.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | 10% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -28% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 41% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 116% | 0% |
| case-21 | ✗→✓ | ▲ Improved | 18% | 0% |
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).pngbashuname -s
Darwin for macOSLinux for LinuxmacOS: screencapture is always available (built-in)
Linux: Check in priority order:
bashwhich 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:
bashscreencapture -i /tmp/screenshot_$(date +%s).png
-i enables interactive area selectionLinux with gnome-screenshot:
bashgnome-screenshot -af /tmp/screenshot_$(date +%s).png
-a for area selection-f specifies filenameLinux with scrot:
bashscrot -s /tmp/screenshot_$(date +%s).png
-s enables selection modeLinux with import:
bashimport /tmp/screenshot_$(date +%s).png
bashRead 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:
bashrm /tmp/screenshot_12345.png
Only remove if I won't need the file again.
If no screenshot tool is available on Linux:
sudo apt install gnome-screenshotsudo dnf install gnome-screenshotsudo pacman -S gnome-screenshotsudo apt install imagemagick (or equivalent)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:
"I can see the button alignment is off. The 'Submit' button
is 5px lower than the 'Cancel' button..."
6. Optional cleanup:
rm /tmp/screenshot_1729012345.pngOther measured skills in the registry, with their headline benchmark lift.