← 返回 Skills 市场
uni-huang

imac-cam

作者 uni-huang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
129
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install imac-cam
功能描述
捕获 iMac 摄像头画面(Photo Booth 窗口)。当用户想查看 iMac 的摄像头、打开摄像头、查看摄像头、打开监控、查看监控时说。
使用说明 (SKILL.md)

imac-cam 技能

捕获黄哥 iMac 的摄像头画面(Photo Booth 窗口),自动去除边框并关闭 Photo Booth。

使用方法

触发词:打开摄像头查看摄像头监控

实现

  1. 检查 Photo Booth 是否运行,未运行则启动
  2. 使用 AppleScript 动态获取窗口位置
  3. 精确裁剪:去除上下边框(上方28px,下方60px)
  4. 启动 HTTP 服务器供查看(端口 8765)
  5. 截图完成后自动关闭 Photo Booth

窗口裁剪参数

  • 上边框:28px
  • 下边框:60px

依赖

  • macOS 内置工具:screencapture, python3
  • Photo Booth 应用
安全使用建议
This skill appears to do what it says, but installing/running it will capture your iMac's Photo Booth image and serve it over an unauthenticated HTTP server (port 8765) that is reachable from the local network. Before installing, consider: 1) Do you trust the skill owner and the device's network (it will expose sensitive camera images)? 2) Run the included scripts manually first to inspect behavior; do not run as root. 3) If you only need local viewing, modify the code to bind the HTTP server to localhost (python -m http.server 8765 --bind 127.0.0.1) instead of letting it listen on all interfaces. 4) Verify firewall settings and stop the server after use; inspect and test the AppleScript commands to confirm they only target Photo Booth. 5) Be cautious if you share this skill with others — it could leak camera snapshots unintentionally. If you want a safer assessment, provide logs of a dry run or let me confirm/annotate exact lines you'd change to restrict network exposure.
功能分析
Type: OpenClaw Skill Name: imac-cam Version: 1.0.0 The skill captures the iMac's camera by taking screenshots of the Photo Booth application and serves the resulting image over an unauthenticated local HTTP server on port 8765. While these actions are consistent with the stated purpose of 'monitoring,' the combination of camera access via `screencapture` and the exposure of private visual data over the network without any access control represents a significant privacy and security risk. Key files include `capture.py`, `start-server.sh`, and `SKILL.md`.
能力评估
Purpose & Capability
Name/description say 'capture iMac camera (Photo Booth window)' and the included code (osascript automation, screencapture, cropping, starting a simple HTTP server) directly implements that. No unrelated credentials, services, or unusual binaries are requested.
Instruction Scope
SKILL.md steps (start Photo Booth if needed, get window rect via AppleScript, crop offsets, start HTTP server on port 8765, close Photo Booth) are implemented in the code. The runtime will capture the webcam view and serve it over HTTP; while this matches the stated purpose, it also means your camera image is made available over the network without authentication — a privacy exposure to be aware of. The code does not read unrelated user files or external services.
Install Mechanism
There is no install spec (instruction-only style) and the repository contains small scripts (capture.py, start-server.sh). No packages are pulled from external URLs. Risk is limited to executing the included scripts on the host.
Credentials
The skill requests no environment variables or credentials. It uses local system utilities (osascript, screencapture, scutil, python3), which are proportionate to controlling Photo Booth and capturing the screen.
Persistence & Privilege
always:false and no elevated privileges requested. However, the skill launches a long-running, unauthenticated HTTP server (python -m http.server) which binds to all interfaces by default — this gives any device on the network potential access to the captured image until the server/process is stopped.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install imac-cam
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /imac-cam 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug imac-cam
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

imac-cam 是什么?

捕获 iMac 摄像头画面(Photo Booth 窗口)。当用户想查看 iMac 的摄像头、打开摄像头、查看摄像头、打开监控、查看监控时说。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 129 次。

如何安装 imac-cam?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install imac-cam」即可一键安装,无需额外配置。

imac-cam 是免费的吗?

是的,imac-cam 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

imac-cam 支持哪些平台?

imac-cam 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 imac-cam?

由 uni-huang(@uni-huang)开发并维护,当前版本 v1.0.0。

💬 留言讨论