photoboothcamera

Photo Booth 摄影:在 macOS 上使用 Apple 的 Photo Booth 拍摄照片或录制视频。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "photoboothcamera":https://skillpi.com/zh/skills/deepskill-24f01e4e1ff8c3d574a815954ade3f49b090dc96f1cdd7d59a21768945061972。安装前核对上游来源和版本:https://skillhub.cn/skills/user_6d322a49/booth-camera。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

Photo Booth 摄影:在 macOS 上使用 Apple 的 Photo Booth 拍摄照片或录制视频。

0 下载

介绍来源: third_party · user_6d322a49 · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: Photo Booth Camera
description: Capture photos or record videos using Apple's Photo Booth on macOS.

Photo Booth Camera

Use this skill whenever the user wants to use the Mac camera through Photo Booth.

Typical requests include:

  • Take a photo
  • Capture a selfie
  • Snap a picture
  • Record a video
  • Record a short introduction
  • Record webcam footage

Do not use this skill for image editing or analysis.

Photo Capture

When the user requests a photo:

  1. Launch Photo Booth if it is not already running.
  2. Wait until the application is ready.
  3. Trigger the shutter.
  4. Wait until the photo has been saved.
  5. Inform the user that the capture has completed.

Execute:

osascript <<'APPLESCRIPT'

tell application "Photo Booth" to activate
delay 1
tell application "System Events"
    -- click radio button 2 of radio group 1 of group 1 of window 1
    set frontmost of process "Photo Booth" to true
    keystroke return using {option down} -- option + enter
end tell
tell application "Photo Booth" to quit

APPLESCRIPT

Video Recording

When the user requests a video:

  1. Launch Photo Booth.
  2. Switch to video mode.
  3. Start recording.
  4. Wait for the requested duration.
  5. Stop recording.
  6. Wait until the movie has been saved.
  7. Inform the user that recording has completed.

Execute:

DURATION=10

osascript - "$DURATION" <<'APPLESCRIPT'

tell application "Photo Booth" to activate
delay 1
tell application "System Events" to tell process "Photo Booth"
    click radio button 3 of radio group 1 of group 1 of window "Photo Booth"
end tell
tell application "System Events"
    set frontmost of process "Photo Booth" to true
    keystroke return using {option down} -- option + enter  
end tell
delay 10
tell application "System Events"
    key code 53
end tell
tell application "Photo Booth" to quit

APPLESCRIPT

The duration should always come from the user's request.

If the user does not specify a duration, ask them how long the recording should be.


Error Handling

If Photo Booth cannot be launched:

  • Tell the user that Photo Booth is unavailable.

If camera permission is denied:

  • Ask the user to grant camera permission in System Settings.

If automation permission is denied:

  • Ask the user to allow Apple Events automation for the assistant.

Never continue if permissions are denied.


Success Response

After the script finishes successfully, simply tell the user that the requested media has been captured.

Do not guess the filename or storage location.

Photo Booth manages media storage automatically.

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值75/100

亮点

  • 提供 macOS 用户通过 Photo Booth 拍摄照片和录制视频的实用能力
  • 适用于日常拍照、自拍、录制短视频等高频场景
触发精准85/100

亮点

  • 触发词覆盖合理,包括 photo、selfie、picture、video、record 等多种变体
  • 边界清晰,明确排除图像编辑或分析场景
结构规范90/100

亮点

  • Phase/步骤清晰,分为照片拍摄和视频录制两个独立流程
  • 包含端到端示例和完整的错误处理说明
  • frontmatter 完整,文档结构规范
执行可靠85/100

亮点

  • 工具来源明确(osascript),参数正确
  • 覆盖主要异常情况(应用无法启动、权限问题)
  • 不可逆操作有确认机制,可靠性良好
证据可验 (前四项均值)84/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。