capture-screen

Community

Programmatic macOS screenshot capture.

AuthorHuuBar
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates macOS window screenshot capture by locating a target window, controlling the UI, and saving a high-quality image for documentation or verification.

Core Features & Use Cases

  • Window discovery: identify a running application's window ID using a Swift CGWindowListCopyWindowInfo routine.
  • UI control: manipulate the active window's view through AppleScript to adjust zoom, scroll, or focus before capture.
  • Automated capture: save a screenshot with screencapture using the obtained window ID for repeatable, multi-shot workflows in tutorials or QA.

Quick Start

Fetch the target window ID with the bundled Swift script and capture it using screencapture.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: capture-screen
Download link: https://github.com/HuuBar/skill-routing-experiment/archive/main.zip#capture-screen

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.