screen-capture/SKILL.md
Screen capture and camera snapshots using macOS built-in tools. Full screen, region, window, webcam, and video recording. Use as default when tool-specific capture (Figma, Playwright, CDP) is unavailable. Prefer cli-jaw browser screenshot for web pages.
npx skillsauth add lidge-jun/cli-jaw-skills screen-captureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
screencapture -x ~/screenshot.png # Full screen (silent)
screencapture -i ~/selection.png # Interactive region select
screencapture -c # Capture to clipboard
screencapture -x ~/screenshot.png # Silent full screen
screencapture ~/screenshot.png # Full screen with shutter sound
screencapture -T 3 ~/screenshot.png # 3-second delay
screencapture -i ~/region.png # Interactive: drag to select region
screencapture -iW ~/window.png # Interactive: click to select window
screencapture -R 0,0,1280,720 ~/region.png # Specific coordinates (x,y,w,h)
# Capture Chrome window by window ID
screencapture -l$(osascript -e 'tell app "Google Chrome" to id of window 1') ~/chrome.png
# Capture any app window
screencapture -l$(osascript -e 'tell app "Safari" to id of window 1') ~/safari.png
# Capture frontmost window
screencapture -l$(osascript -e 'tell app "System Events" to id of first window of (first process whose frontmost is true)') ~/front.png
screencapture -c # Full screen to clipboard
screencapture -ic # Region select to clipboard
screencapture ~/screen1.png ~/screen2.png # One file per display
screencapture -D 1 ~/main.png # Main display only
screencapture -D 2 ~/secondary.png # Secondary display
screencapture -v ~/recording.mov # Record screen video
screencapture -V 10 ~/recording.mov # Record 10 seconds
# Install
brew install imagesnap
# Capture
imagesnap ~/camera.png # Take photo
imagesnap -w 2 ~/camera.png # 2-second warmup (better quality)
imagesnap -d "FaceTime HD Camera" ~/camera.png # Specific camera
# List cameras
imagesnap -l
screencapture -t png ~/screenshot.png # PNG (default)
screencapture -t jpg ~/screenshot.jpg # JPEG
screencapture -t pdf ~/screenshot.pdf # PDF
screencapture -t tiff ~/screenshot.tiff # TIFF
# Bring app to front, then capture
osascript -e 'tell app "Finder" to activate'
sleep 0.5
screencapture -x ~/finder.png
| Flag | Description |
| --------------- | -------------------------------- |
| -x | Silent (no shutter sound) |
| -i | Interactive selection mode |
| -c | Copy to clipboard |
| -R x,y,w,h | Capture specific rectangle |
| -T seconds | Delay before capture |
| -t format | Output format (png/jpg/pdf/tiff) |
| -l windowID | Capture specific window |
| -D displayNum | Capture specific display |
| -v | Record video |
| -V seconds | Record video for N seconds |
cli-jaw browser screenshot (captures via CDP).tools
Use only on the Codex CLI for native image generation or image editing without an API key. Save final PNG files under ~/.cli-jaw/uploads, report web-ready absolute-path markdown, and send to Telegram or Discord only when explicitly requested.
tools
Ranked repository structure map via `cli-jaw map`. Use for codebase overview, structure map, symbol overview, unfamiliar codebase exploration, architecture orientation. Triggers: repo map, structure map, codebase overview, 와꾸, project structure, unfamiliar code.
tools
cli-jaw Design workspace: create, preview, run, and export design pages from the right sidebar. Covers panel UX, direct-write workflow, artifact lifecycle, wireframe generation, design system, and Open Design adapter.
development
MUST USE for infrastructure and delivery work — container builds, deploy pipelines, Kubernetes, Infrastructure as Code, SRE foundations, edge/serverless, ML infrastructure. Triggers: Dockerfile, K8s manifests, CI/CD pipeline, Terraform/IaC, release/deploy, devops/infra/deploy or release_cd task_tags.