Xpersona
W

Webcam

CLAWHUB · Unverified

探鸽摄像头 Skill 服务。用于查询当前 Skill 已绑定设备、查看当前画面、查询事件、查看事件图片、确认设备状态和电量。当用户要查看可操作设备、看某个摄像头当前截图、查询某天或某时段发生了什么、查看最近事件或事件图片、确认在线状态、查询电量时使用。 Skill: Webcam Owner: flyfinec Summary: 探鸽摄像头 Skill 服务。用于查询当前 Skill 已绑定设备、查看当前画面、查询事件、查看事件图片、确认设备状态和电量。当用户要查看可操作设备、看某个摄像头当前截图、查询某天或某时段发生了什么、查看最近事件或事件图片、确认在线状态、查询电量时使用。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-22T16:14:51.431Z | user - 增加响应头 X-Skill-Version-Code: 3,替换旧的 X-Skill-Version 头。 - 统一响应结构新增 clientNotice 字段,需解析其中的升级提示并适度提醒用户。 - 图片/事件相关接口统一字段名为 imageUrl,电量接口字段名为 batteryPercent 并新增 isCharging。 - 补充了响应

62
Rank
84
Safety
964
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 964 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17bb12zb720ahs4ep1vvcjm8n83hgwe:webcam
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-flyfinec-webcam/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

27,458 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: webcam
description: 探鸽摄像头 Skill 服务。用于查询当前 Skill 已绑定设备、查看当前画面、查询事件、查看事件图片、确认设备状态和电量。当用户要查看可操作设备、看某个摄像头当前截图、查询某天或某时段发生了什么、查看最近事件或事件图片、确认在线状态、查询电量时使用。
metadata: {"openclaw":{"requires":{"env":["TIVS_CLI_ID","TIVS_API_KEY"]},"primaryEnv":"TIVS_API_KEY"}}
---

# Webcam Skill

## 概述

这个 Skill 用于查询当前 Skill 已绑定摄像头的设备信息、当前画面、事件记录、事件图片、在线状态和电量,并在需要时完成拍照等操作。默认返回整理后的结论、摘要和图片,不直接回传长段原始接口响应。

- 可以做的事:查看设备列表、拍一张当前画面、查询事件、查看事件图片、确认在线状态、查询电量
- 典型触发:用户说“看看有哪些设备”“帮我看下门口摄像头现在画面”“今天发生了什么”“最近一次事件是什么”“这条事件的图片给我看看”“设备在线吗”“查下电量”
- 默认输出:整理后的结论、摘要和图片,不把长段原始 JSON 直接甩给用户

## 使用规则

### 基础规则

- 所有请求都使用 `https://skill.webcamapp.cc` 作为唯一 API Base URL。
- 环境变量:
  - `TIVS_CLI_ID`:摄像头 Skill 服务分配的 `cli_id`
  - `TIVS_API_KEY`:摄像头 Skill 服务分配的 `cli_api_key`
- 所有请求都带上以下请求头:

```http
X-Client-ID: $TIVS_CLI_ID
X-Api-Key: $TIVS_API_KEY
X-Skill-Version-Code: 3
Content-Type: application/json
```

- 缺少 `TIVS_CLI_ID` 或 `TIVS_API_KEY` 时,提醒用户到摄像头 APP 内获取当前 Skill 的凭据,不要伪造请求
- 不要在聊天内容中回显 `TIVS_API_KEY` 的真实值
- 除非接口明确是 `GET` 且无请求体,否则默认按 JSON 请求发送
- 统一按 Header 方式调用

### 授权配置

如果会话中收到 `TIVS_CLI_ID` 和 `TIVS_API_KEY`,请将其写入 `openclaw.json`:

```json
{
  "skills": {
    "entries": {
      "webcam": {
        "env": {
          "TIVS_CLI_ID": "{TIVS_CLI_ID}",
          "TIVS_API_KEY": "{TIVS_API_KEY}"
        }
      }
    }
  }
}
```

### 结果读取

成功或失败都使用统一响应信封:

```json
{
  "requestId": "req_xxx",
  "code": "ok",
  "msg": "ok",
  "data": {},
  "clientNotice": "发现新版本 Skill,建议升级"
}
```

- 读取结果时优先关注 `data`
- 只解释已经确认的字段,不要给未知字段强行编含义
- 默认把接口结果整理成用户能直接理解的答案,不输出长段原始 JSON
- 需要额外解析 `clientNotice`,里面会包含一些重要消息;如果里面包含升级消息,提醒用户升级当前 Skill
- 同一条 `clientNotice` 一天内最多提示 1-2 次,避免频繁打扰用户

### 图片处理

- 图片 URL 可能带签名参数;需要访问时必须使用完整 URL,不要截断。
- 默认不要把原始图片 URL 直接发给用户;优先获取图片内容后再展示。

### 调用约束

- Query 参数统一使用 `snake_case`,例如 `device_id`、`start_time`、`event_id`
- 截图接口请求体使用 `camelCase`,字段名固定为 `deviceId`
- 响应字段通常是 `camelCase`,以实际返回为准
- 不要臆造不存在的接口路径,也不要把 `devices` 和 `device` 写混
- 如果用户按设备名、备注名或位置描述来操作,先查询设备列表确认目标设备
- `event_id` 必须使用系统已经返回过的值,不要自己拼
- 看到“实时画面”“拍一张”“截个图”时,将其理解为获取一张当前截图,不是实时视频流

## 调用指南

### 快速路由

| 用户意图 | 优先调用 | 前置动作 | 回答重点 |
|------|------|------|------|
| 查看设备列表或指定设备 | `GET /api/v1/skill/devices` | 无 | 设备清单或指定设备信息 |
| 按设备名找目标设备 | `GET /api/v1/skill/devices` | 用结果确认 `deviceId` | 设备匹配结果 |
| 看某个设备当前画面 | `POST /api/v1/skill/device/snapshot` | 先确认 `deviceId` | 截图和简短说明 |
| 查某天或某时段事件 | `GET /api/v1/skill/device/events` | 先确认 `device_id`,再补时间范围 | 事件列表或摘要 |
| 看最近一个事件 | `GET /api/v1/skill/device/events/latest` | 先确认 `device_id` | 单条事件摘要和图片 |
| 看某条事件图片 | `GET /api/v1/skill/device/events/image` | 需要已有 `event_id` | 图片和简短事件信息 |
| 查设备在线状态 | `GET /api/v1/skill/device/online` | 先确认 `device_id` | 是否在线 |
| 查设备电量 | `GET /api/v1/skill/device/battery` | 先确认 `device_id` | 电量结果 |

### 通用流程

1. 设备不明确时,先查设备列表,不要直接猜 `deviceId`。
2. 命中多个设备时,先向用户澄清,不要替用户随意选择。
3. 用户说“今天”“昨天”“最近一段时间”时,先换成明确的日期或时间范围,再发请求。
4. 事件类查询默认返回整理后的摘要;用户明确要列表时,再按时间顺序列出重点事件。
5. 图片可用时优先展示图片,同时补一句简短说明;图片不可用时,明确说明并保留事件摘要。
6. 结果为空时直接说明“当前没有查到”,不要臆造原因或补不存在的数据。

### 常见场景

以下示例用于帮助快速选

_meta.json

{
  "ownerId": "kn77pj2rg2q70c30h9jeexhbb983117p",
  "slug": "webcam",
  "version": "1.0.0",
  "publishedAt": 1776874491431
}

skill-card.md

## Description:

Provides camera device lookup, current snapshots, event history, event images, online status, and battery checks for authorized webcam devices.

This skill is ready for commercial/non-commercial use.

## Publisher:

[flyfinec](https://clawhub.ai/user/flyfinec)

### License/Terms of Use:

MIT-0

## Use Case:

External users and agents use this skill to inspect authorized webcam devices, retrieve current snapshots, review event history and images, and check online status or battery after identifying the correct device.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can access private camera device data, snapshots, event history, and event images.

Mitigation: Install and run it only when that camera access is intended, and verify the publisher and device scope before use.

Risk: The skill instructs the agent to store camera API credentials in local configuration when credentials are provided in chat.

Mitigation: Prefer a protected secret store or out-of-band credential setup, and define clear credential deletion and rotation procedures.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/flyfinec/skills/webcam)
- [Webcam Skill API Base](https://skill.webcamapp.cc)

## Skill Output:

**Output Type(s):** [Text, Markdown, Guidance, Images]

**Output Format:** [Markdown summaries with concise device, event, status, battery, snapshot, or event image results.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May return image content for snapshots or event images; avoids exposing raw API keys or signed image URLs by default.]

## Skill Version(s):

1.0.0 (source: release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Webcam and adjacent AI workflows.