
Capture Screen
Programmatic screenshot automation for macOS that actually works. Uses Swift's CoreGraphics to get real window IDs, AppleScript to control application state (zoom levels, scroll position, sheet selection in Excel), then screencapture to grab the pixels. The documentation is refreshingly honest about what fails: System Events can't get the right window format, PyObjC isn't worth the dependency hassle, and you need Screen Recording permissions or nothing works. If you're building documentation pipelines or need to capture specific states of Excel workbooks without clicking around manually, this gives you the three-step workflow that doesn't fight the OS. Just remember to add sleep delays between AppleScript commands and captures.
- skills.sh installs
- 1.1K
- GitHub stars
- 1.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add daymade/claude-code-skills --skill capture-screen --agent claude-codeInstalls into .claude/skills of the current project.
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.
Sponsors
Details
- Repository
- github.com/daymade/claude-code-skills
- Categories
- Documentation, Mobile Development, Design & UI/UX, CLI & Terminal
- First seen
- Jun 3, 2026
More from daymade/claude-code-skills
All 53- Pdf Creator1K
- Docs Cleaner1K
- Claude Md Progressive Disclosurer1K
- Claude Code History Files Finder1K
- Github Contributor991
- Video Comparer990
- Llm Icon Finder989
- Cli Demo Generator978
- Cloudflare Troubleshooting978
- Teams Channel Post Writer970
- Claude Skills Troubleshooting960
- Repomix Safe Mixer946
- Financial Data Collector917
- Repomix Unmixer916
- Doc To Markdown914
- Product Analysis909
- Windows Remote Desktop Connection Doctor843
- Scrapling Skill827
- Skill Creator805
- Fixing Claude Export Conversations796
- Douban Skill784
- Terraform Skill746
- Marketplace Dev731
- Gangtise Copilot730