
Screenshot Capture
- 42 installs
- 84 repo stars
- Updated January 28, 2026
- aidotnet/moyucode
screenshot-capture is a Claude Code skill that captures screenshots of the full screen, a specific window, or a custom region.
About
screenshot-capture is a Claude Code skill that captures screenshots of the full screen, a window, or a custom region. A developer runs its bundled Python script to capture images, optionally with a region bounding box or a timed delay. It is based on the Pillow imaging library.
- Captures full-screen, window, or custom-region screenshots
- Supports capture delay and region coordinates
- Bundled Python script based on Pillow
Screenshot Capture by the numbers
- 42 all-time installs (skills.sh)
- Ranked #1,132 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
screenshot-capture capabilities & compatibility
- Capabilities
- screenshot capture · screen capture · image capture
- Use cases
- image generation
- Pricing
- Free
What screenshot-capture says it does
Capture screenshots of the entire screen, specific windows, or custom regions with annotation support.
Based on: https://github.com/python-pillow/Pillow
npx skills add https://github.com/aidotnet/moyucode --skill screenshot-captureAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 42 |
|---|---|
| repo stars | ★ 84 |
| Last updated | January 28, 2026 |
| Repository | aidotnet/moyucode ↗ |
What it does
Capture full-screen, region, or delayed screenshots from the command line.
Who is it for?
Capturing full-screen, region, or delayed screenshots programmatically
Skip if: Editing or annotating images beyond capture
When should I use this skill?
You need to capture a screenshot of the screen or a region
What you get
A saved screenshot image of the screen, window, or region
- A saved screenshot image file
By the numbers
- Supports 3 capture modes: full screen, region, and delayed capture
Files
Screenshot Capture Tool
Description
Capture screenshots of the entire screen, specific windows, or custom regions with annotation support.
Trigger
/screenshotcommand- User needs to capture screen
- User wants to take screenshots
Usage
# Capture full screen
python scripts/screenshot_capture.py --output screen.png
# Capture region
python scripts/screenshot_capture.py --region 0,0,800,600 --output region.png
# Capture with delay
python scripts/screenshot_capture.py --delay 3 --output delayed.pngTags
screenshot, capture, screen, image, automation
Compatibility
- Codex: ✅
- Claude Code: ✅
#!/usr/bin/env python3
"""
Screenshot Capture Tool
Based on: https://github.com/python-pillow/Pillow
Usage:
python screenshot_capture.py --output screen.png
python screenshot_capture.py --region 0,0,800,600 --output region.png
"""
import argparse
import sys
import time
from datetime import datetime
from pathlib import Path
def capture_screenshot(output=None, region=None, delay=0):
"""Capture screenshot."""
try:
from PIL import ImageGrab
except ImportError:
print("Error: Pillow required. Install: pip install Pillow", file=sys.stderr)
sys.exit(1)
if delay > 0:
print(f"Capturing in {delay} seconds...")
time.sleep(delay)
if region:
x1, y1, x2, y2 = region
screenshot = ImageGrab.grab(bbox=(x1, y1, x2, y2))
else:
screenshot = ImageGrab.grab()
if not output:
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
output = f"screenshot_{timestamp}.png"
screenshot.save(output)
print(f"✓ Screenshot saved: {output} ({screenshot.size[0]}x{screenshot.size[1]})")
return output
def main():
parser = argparse.ArgumentParser(description="Capture screenshots")
parser.add_argument('--output', '-o', help='Output file')
parser.add_argument('--region', '-r', help='Region: x1,y1,x2,y2')
parser.add_argument('--delay', '-d', type=int, default=0, help='Delay in seconds')
parser.add_argument('--format', '-f', default='png', choices=['png', 'jpg', 'bmp'])
args = parser.parse_args()
region = None
if args.region:
region = tuple(map(int, args.region.split(',')))
if len(region) != 4:
parser.error("Region must be x1,y1,x2,y2")
capture_screenshot(args.output, region, args.delay)
if __name__ == "__main__":
main()
Related skills
FAQ
Can it capture a specific region?
Yes. It supports full-screen, window, and custom-region capture, plus a timed delay.
What is it based on?
The Pillow imaging library.