Media & Image v1.0.0

camsnap-terrycarter1985

Take camera snapshots and save them to disk. Use when the user asks to take a photo, capture an image from webcam, or...

terrycarter1985 更新于 2026-05-04 1 浏览
下载 SKILL

技能说明

Take camera snapshots and save them to disk. Use when the user asks to take a photo, capture an image from webcam, or take a snapshot.

使用场景

Take a snapshot from the default webcam using the camsnap utility.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/camsnap-terrycarter1985
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 18 kB
SKILL.md text/markdown
---
name: camsnap
description: Take camera snapshots and save them to disk. Use when the user asks to take a photo, capture an image from webcam, or take a snapshot.
allowed-tools: Bash
argument-hint: "[output_path] [--preview]"
---
Take a snapshot from the default webcam using the camsnap utility.

## Usage
/camsnap [output_path] [--preview] [--output-dir DIR]

If no output path is provided, the snapshot will be saved to the `./snapshots/` directory with a timestamp filename.

## Steps
1. Run the snapshot script:
```bash
python3 ~/.openclaw/workspace/src/camsnap.py {{ $ARGUMENTS }}
```
2. Confirm the snapshot was saved successfully and return the file path.

## Notes
- The script discards the first few warm-up frames to avoid underexposed captures.
- Output paths are validated against path-traversal; only allowed directories are writable.
- Use `--preview` only in environments with a display (headless servers will fail).

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。