Xpersona
C

Closeli Open Device Live Query

CLAWHUB · Unverified

Closeli Device Live Query API. Used to obtain the Web live playback link for a specified device and supports real-time viewing of the device feed. Use when:...

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/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 s172478539f67qvabn0t45gp6d83h9bm:api-device-live
  1. Install using `clawhub skill install s172478539f67qvabn0t45gp6d83h9bm:api-device-live` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/closeli-open/api-device-live before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-closeli-open-api-device-live/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

29,560 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: api-device-live
description: "Closeli Device Live Query API. Used to obtain the Web live playback link for a specified device and supports real-time viewing of the device feed. Use when: You need to remotely view the device's live feed, or integrate live streaming capability into a webpage or third-party system. ⚠ Security requirement: You must set AI_GATEWAY_API_KEY in `~/.openclaw/.env` (written automatically by the \"Set API Key\" action in OpenClaw clients) and use least-privilege credentials."
metadata:
  openclaw:
    requires:
      bins: ["python3"]
      configPaths: ["~/.openclaw/.env"]
    primaryEnv: "AI_GATEWAY_API_KEY"
---

# Device Live Link API

`POST /api/device/live` is used to obtain the H5 player live link for a specified device. The API verifies device ownership and then returns a player URL that can be opened directly in a browser.

## ⚠️ Display Rules (MUST be strictly followed)

The script outputs structured data in JSON format, which is the expected behavior. The display rules below are formatting instructions for the agent: the agent MUST parse the JSON output from the script, convert it into a user-friendly format according to the following rules before displaying it, and MUST NOT display the raw JSON directly.

The script output includes the `_device_name` field (device name), which is used for display.

1. When `code == 0` and `data` contains `live_url`, MUST use Markdown link format:

📺 Live stream of "Living Room Camera":

[▶️ Click to open live player](https://example.com/h5player/pro/autoPlay_credentials.html?...)

Key rules:
- Get the device name from `_device_name` and display it as "device name" instead of the MAC address
- If `_device_name` is empty, use the MAC address with the `xxxxS_` prefix removed as a fallback
- `live_url` MUST be output using Markdown link syntax `[text](url)`, and MUST NOT be output as bare URL text
- Use `▶️ Click to open live player` as the link text

2. When `code != 0`, reply: "API call failed, error code {code}, reason: {message}"

## Prerequisites

The script depends on httpx. If it is not installed, the script will prompt `python3 -m pip install httpx`.

## Configuration Declaration

This skill depends on the following configuration items. The agent and user MUST confirm that they are correctly configured before running.

### Required Configuration

| Configuration Item | Delivery Method | Description |
|--------|----------|------|
| AI_GATEWAY_API_KEY | `~/.openclaw/.env` (persistent, written by OpenClaw clients), command line `--api-key` (temporary override) | API key used for API authentication. CLI flag takes precedence over the file when both present |

### Optional Configuration

| Configuration Item | Delivery Method | Default Value | Description |
|--------|----------|--------|------|
| AI_GATEWAY_HOST | `~/.openclaw/.env` | `https://ai-open.icloseli.com` | Gateway address |
| AI_GATEWAY_VERIFY_SSL | `~/.openclaw/.env` | true | Set to false to disable TLS cert

_meta.json

{
  "ownerId": "kn7abav59w8eq8gq9r26rvdxhs8397ds",
  "slug": "api-device-live",
  "version": "1.0.4",
  "publishedAt": 1778048653346
}

skill-card.md

## Description:

Closeli Device Live Query API obtains a web live playback link for a specified device so a user can view the device feed or integrate live streaming into a web or third-party system.

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

## Publisher:

[closeli-open](https://clawhub.ai/user/closeli-open)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to request an H5 live player link for a Closeli device they are authorized to access. It is intended for remote live viewing and web or third-party live streaming integrations.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill reads a sensitive API key from a shared persistent configuration file.

Mitigation: Use a least-privilege API key and restrict ~/.openclaw/.env so it is readable only by the intended OpenClaw service user.

Risk: A configurable gateway or disabled TLS verification could expose the API key and device data.

Mitigation: Keep AI_GATEWAY_VERIFY_SSL enabled and confirm AI_GATEWAY_HOST points to the intended trusted Closeli gateway before use.

Risk: Unrelated skills running as the same user may be able to modify the shared configuration file.

Mitigation: Avoid deployment environments where unrelated skills can write to ~/.openclaw/.env or otherwise change the gateway configuration.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/closeli-open/skills/api-device-live)
- [ClawHub publisher profile](https://clawhub.ai/user/closeli-open)

## Skill Output:

**Output Type(s):** [Shell commands, Configuration, JSON, Markdown, Guidance]

**Output Format:** [JSON from the helper script, normally transformed by the agent into a concise Markdown link or error message.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [The live URL contains a short-lived token and should be shown as a Markdown link with the resolved device name when available.]

## Skill Version(s):

1.0.4 (source: server release metadata)

## 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 Closeli Open Device Live Query and adjacent AI workflows.