Capture Screen
Programmatic macOS screenshot capture: find window IDs, drive app views, and capture windows with screencapture.
- CCM score
- 67 of 100
- skills.sh installs
- 1.1K
- GitHub stars
- 1.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers window ID lookup via a Swift CoreGraphics script, AppleScript view control (zoom, scroll, select), and screencapture output
- Includes
scripts/get_window_id.swiftfor listing or filtering windows, plus a multi-shot Excel workflow example - Enforces an ownership and idle check before any foreground action, and stops on human takeover or host refusal
- Designed for documentation screenshots and automated visual workflows on macOS, with
timeoutguards on osascript calls
Install
$ npx -y skills add daymade/claude-code-skills --skill capture-screen -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Capture Screen
Programmatic screenshot capture on macOS: find windows, control views, capture images.
Select observation or foreground control
For an existing view, enumerate and capture the exact window without activating it. Skip Step 2 when no view change is needed. A window image proves visible content in that capture, not keyboard focus, input delivery or a successful business action.
Before opening/raising windows, scrolling, selecting, changing zoom or sending keys, the executing agent checks user activity and other agents' ownership. Use a concrete task handoff or an existing explicit idle-desktop authorization; under the latter, coordinate exclusive access and proceed without asking again. Idle input alone is not ownership. Busy/unknown occupancy or unexpected input stops foreground actions; continue independent reads and do not restore old focus after human takeover.
Details
- Repository
- github.com/daymade/claude-code-skills
- First seen
- Jun 3, 2026
Questions
What does the capture-screen skill do?
The capture-screen skill takes programmatic screenshots on macOS. It finds window IDs with a Swift CGWindowListCopyWindowInfo script, controls app windows through AppleScript such as zoom, scroll and select, and captures them with screencapture. Use it for automating screenshots or building multi-shot visual workflows.
How do I install the capture-screen skill?
Run npx -y skills add daymade/claude-code-skills --skill capture-screen -y in a project to install it. Once installed, the agent can capture application windows for documentation and run multi-shot visual sequences on macOS.
Who is capture-screen for, and what does it need to run?
It is for developers who need to automate screenshots or capture application windows for documentation on macOS. It relies on Swift, AppleScript through osascript, and the built-in screencapture tool, and foreground control requires an authorized handoff and Automation permission.
More from daymade/claude-code-skills
All 50- Pdf Creator1.1K
- Docs Cleaner1.1K
- Claude Md Progressive Disclosurer1.1K
- Video Comparer1.1K
- Llm Icon Finder1K
- Github Contributor1K
- Cli Demo Generator1K
- Cloudflare Troubleshooting1K
- Teams Channel Post Writer1K
- Claude Skills Troubleshooting1K
- Repomix Safe Mixer995
- Doc To Markdown968
- Financial Data Collector967
- Repomix Unmixer966
- Product Analysis961
- Windows Remote Desktop Connection Doctor899
- Scrapling Skill881
- Fixing Claude Export Conversations846
- Douban Skill838
- Skill Creator805
- Terraform Skill796
- Marketplace Dev780
- Gangtise Copilot779
- Debugging Network Issues762
Similar to Capture Screen
Universal Screenshot MCPMCP serversethbang38 starsScreenshots of web pages and desktop windows, via headless Chromium and native OS capture tools.
Remote MacOs UseMCP serverbaryhuang493 starsRemote control of a macOS desktop over VNC: screenshots, keyboard, mouse, and app launch.
screenshotSkillopenai/skills6.7K installsCaptures desktop, app, window, or pixel-region screenshots with OS-appropriate tooling and sensible save locations.
os-useSkillzrong/skills282 installsCross-platform screen automation toolkit for screenshots, visual matching, input control, and window management on macOS and Windows.
pp-agent-captureSkillmvanhorn/printing-press-library318 installsScreen capture CLI for macOS windows, recordings, GIFs, and PR evidence bundles via ScreenCaptureKit.
ui-screenshotsSkillgithub/awesome-copilot216 installsCapture web app and desktop UI screenshots with Playwright and PIL, cropping without re-capturing.