← Back to Skills Marketplace
uni-huang

imac-cam

by uni-huang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
129
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install imac-cam
Description
捕获 iMac 摄像头画面(Photo Booth 窗口)。当用户想查看 iMac 的摄像头、打开摄像头、查看摄像头、打开监控、查看监控时说。
README (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 应用
Usage Guidance
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.
Capability Analysis
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`.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install imac-cam
  3. After installation, invoke the skill by name or use /imac-cam
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug imac-cam
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is imac-cam?

捕获 iMac 摄像头画面(Photo Booth 窗口)。当用户想查看 iMac 的摄像头、打开摄像头、查看摄像头、打开监控、查看监控时说。 It is an AI Agent Skill for Claude Code / OpenClaw, with 129 downloads so far.

How do I install imac-cam?

Run "/install imac-cam" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is imac-cam free?

Yes, imac-cam is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does imac-cam support?

imac-cam is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created imac-cam?

It is built and maintained by uni-huang (@uni-huang); the current version is v1.0.0.

💬 Comments