·capture-screen
</>

capture-screen

macOS 上的编程屏幕截图捕获。使用 Swift CGWindowListCopyWindowInfo 查找窗口 ID,通过 AppleScript 控制应用程序窗口(缩放、滚动、选择),并使用屏幕截图进行捕获。在自动执行屏幕截图、捕获应用程序窗口以进行文档记录或构建多镜头可视化工作流程时使用。

14安装·3热度·@daymade

安装

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

如何安装 capture-screen

通过命令行快速安装 capture-screen AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/daymade/claude-code-skills --skill capture-screen
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:daymade/claude-code-skills。

SKILL.md

查看原文

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.

macOS 上的编程屏幕截图捕获。使用 Swift CGWindowListCopyWindowInfo 查找窗口 ID,通过 AppleScript 控制应用程序窗口(缩放、滚动、选择),并使用屏幕截图进行捕获。在自动执行屏幕截图、捕获应用程序窗口以进行文档记录或构建多镜头可视化工作流程时使用。 来源:daymade/claude-code-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/daymade/claude-code-skills --skill capture-screen
分类
</>开发工具
认证
收录时间
2026-03-09
更新时间
2026-03-10

Browse more skills from daymade/claude-code-skills

快速解答

什么是 capture-screen?

macOS 上的编程屏幕截图捕获。使用 Swift CGWindowListCopyWindowInfo 查找窗口 ID,通过 AppleScript 控制应用程序窗口(缩放、滚动、选择),并使用屏幕截图进行捕获。在自动执行屏幕截图、捕获应用程序窗口以进行文档记录或构建多镜头可视化工作流程时使用。 来源:daymade/claude-code-skills。

如何安装 capture-screen?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/daymade/claude-code-skills --skill capture-screen 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

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