This skill captures full-screen or region screenshots on Windows with configurable JPEG quality and scaling to reduce file sizes.
npx playbooks add skill sarfraznawaz2005/agent-skills-collection --skill take-screenshots
RegionSnip is a Windows screenshot capture utility written in C# that provides both programmatic full-screen capture and interactive region selection. It supports JPEG formats, with options for quality compression and image scaling to optimize file size.
RegionSnip is designed to be called programmatically and outputs JSON results to stdout.
| Argument | Description | Example |
|----------|-------------|---------|
| --mode <mode> | Capture mode: full or region (default: region) | --mode full |
| --out <path> | Output file path (required). Use .jpg or .jpeg for JPEG compression. | --out screenshot.jpg |
| --all | Capture all monitors (full mode only) | --all |
| --monitor <n> | Specific monitor index (0-based, full mode only) | --monitor 1 |
| --prompt <text> | Custom prompt text for region selection | --prompt "Select area" |
| --quality <n> | JPEG quality level (1-100, default: 80) | --quality 75 |
| --scale <n> | Image scaling factor (0.1-1.0, default: 0.75 for full, 1.0 for region) | --scale 0.5 |
./scripts/RegionSnip.exe --mode full --out screenshot.jpg
./scripts/RegionSnip.exe --mode full --out screenshot.jpg --all
./scripts/RegionSnip.exe --mode full --out screenshot.jpg --monitor 1
./scripts/RegionSnip.exe --mode region --out screenshot.jpg
./scripts/RegionSnip.exe --mode region --out screenshot.jpg --prompt "Drag to select the area to capture"
To significantly reduce file size (e.g., for sending to LLMs), use .jpg extension along with quality and scale parameters.
# Reduces size by using JPEG compression (80%) and scaling down to 50%
./scripts/RegionSnip.exe --mode full --out screenshot.jpg --quality 80 --scale 0.5
RegionSnip outputs JSON to stdout with the following structure:
{
"ok": true,
"path": "screenshot.jpg",
"mode": "full",
"monitorIndex": 0,
"all": false,
"rect": {
"x": 0,
"y": 0,
"width": 1920,
"height": 1080
},
"width": 1920,
"height": 1080
}
{
"ok": true,
"path": "screenshot.jpg",
"mode": "region",
"rect": {
"x": 100,
"y": 100,
"width": 800,
"height": 600
},
"width": 800,
"height": 600
}
{
"ok": false,
"error": "Description of what went wrong",
"mode": "region"
}
{
"ok": false,
"cancelled": true,
"mode": "region"
}
ok field in the responsecancelled: true)includeImage=true for further processingWeekly roundup of top Claude Code skills, MCP servers, and AI coding tips.