This guide shows how to find macOS window IDs with Swift and capture desktop, window, or region images with `screencapture`. It also covers optional AppleScript control, multi-shot captures, permission troubleshooting, and safeguards for user activity, focus, and host restrictions.
89%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
The required workflow enumerates on-screen window titles and inspects screenshots of whatever is displayed, which can include outsider-authored web pages or documents, but the agent must actively run these captures and an outsider cannot force that content onto the screen, so this is low exposure.
daymade/claude-code-skills
c70d3b7
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.