Macos screenshot

From malue-ai/dazee-small · View interactive version

Macos screenshot is an AI agent skill from the GitHub repository malue-ai/dazee-small. Capture screenshots on macOS using the built-in screencapture command. Supports full screen, window, and region capture.

How to use this skill

Skill file

macOS 截图

使用 macOS 内置的 screencapture 命令截取屏幕。

使用场景

命令参考

全屏截图

screencapture -x "/tmp/screenshot_$(date +%Y%m%d_%H%M%S).png"

参数说明:

窗口截图

# 交互式选择窗口
screencapture -x -w "/tmp/window_$(date +%Y%m%d_%H%M%S).png"

区域截图

# 交互式选择区域
screencapture -x -s "/tmp/region_$(date +%Y%m%d_%H%M%S).png"

延时截图

# 延迟 3 秒后截图
screencapture -x -T 3 "/tmp/delayed_$(date +%Y%m%d_%H%M%S).png"

截图到剪贴板

# 截图直接复制到剪贴板
screencapture -x -c

常用参数

| 参数 | 说明 |

|------|------|

| -x | 静默,不播放声音 |

| -w | 窗口模式 |

| -s | 区域选择模式 |

| -c | 输出到剪贴板 |

| -T <秒> | 延时截图 |

| -t <格式> | 输出格式(png/jpg/pdf) |

输出规范

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.