·capture-screen
</>

capture-screen

Programmatic screenshot capture on macOS. Find window IDs with Swift CGWindowListCopyWindowInfo, control application windows via AppleScript (zoom, scroll, select), and capture with screencapture. Use when automating screenshots, capturing application windows for documentation, or building multi-shot visual workflows.

14Installs·3Trend·@daymade

Installation

$npx skills add https://github.com/daymade/claude-code-skills --skill capture-screen

How to Install capture-screen

Quickly install capture-screen AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/daymade/claude-code-skills --skill capture-screen
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: daymade/claude-code-skills.

SKILL.md

View raw

Programmatic screenshot capture on macOS: find windows, control views, capture images.

Use Swift with CoreGraphics to enumerate windows. This is the only reliable method on macOS.

Always add sleep 1 after AppleScript commands before capturing, to allow UI rendering to complete.

Programmatic screenshot capture on macOS. Find window IDs with Swift CGWindowListCopyWindowInfo, control application windows via AppleScript (zoom, scroll, select), and capture with screencapture. Use when automating screenshots, capturing application windows for documentation, or building multi-shot visual workflows. Source: daymade/claude-code-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/daymade/claude-code-skills --skill capture-screen
Category
</>Dev Tools
Verified
First Seen
2026-03-09
Updated
2026-03-10

Browse more skills from daymade/claude-code-skills

Quick answers

What is capture-screen?

Programmatic screenshot capture on macOS. Find window IDs with Swift CGWindowListCopyWindowInfo, control application windows via AppleScript (zoom, scroll, select), and capture with screencapture. Use when automating screenshots, capturing application windows for documentation, or building multi-shot visual workflows. Source: daymade/claude-code-skills.

How do I install capture-screen?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/daymade/claude-code-skills --skill capture-screen Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/daymade/claude-code-skills