Xpersona
C

Closeli Open Device List Query

CLAWHUB · Unverified

Closeli Device List Query API. Used to retrieve the device list under the current account and return basic information such as device name, MAC, and IMEI. Us...

62
Rank
84
Safety
970
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 970 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 s172478539f67qvabn0t45gp6d83h9bm:api-device-list1
  1. Install using `clawhub skill install s172478539f67qvabn0t45gp6d83h9bm:api-device-list1` 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-list1 before using production credentials.

Contract: missing

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

24,083 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: api-device-list
description: "Closeli Device List Query API. Used to retrieve the device list under the current account and return basic information such as device name, MAC, and IMEI. Use when: You need to see which devices are under the account, or obtain device identifiers before calling other device APIs. ⚠ 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 List Query API

`POST /api/device/list` is used to query all devices bound to the currently authenticated user. This API does not require a request body. The device list is automatically associated through the api_key.

## ⚠️ Display Rules (MUST Be Strictly Followed)

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

1. When `code == 0` and `data` is not empty, display it as a table:

| MAC Address | Device Name |
|----------|----------|
| aabbccddeeff | Living Room Camera |

Key rule: `device_id` MUST remove the `xxxxS_` prefix before being displayed as the MAC address. The table header MUST be written as "MAC Address" and MUST NOT be written as "Device ID".

2. When `data` is an empty array, reply: "There are no devices bound under the current account."
3. 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 certificate verification (development environments only) |

### Configuration Source

The script reads `~/.openclaw/.env` as the single persistent configuration source. This file is shared by all skills and uses the format `KEY=VALUE` (one

_meta.json

{
  "ownerId": "kn7abav59w8eq8gq9r26rvdxhs8397ds",
  "slug": "api-device-list1",
  "version": "1.0.3",
  "publishedAt": 1778048704786
}

skill-card.md

## Description:

Closeli Device List Query API retrieves the device list under the current account and returns basic information such as device name, MAC address, and IMEI.

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 list devices bound to a Closeli account and obtain device identifiers before calling other device APIs.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can send the account API key and device data to a configurable gateway host.

Mitigation: Use a least-privilege API key and confirm AI_GATEWAY_HOST is the expected trusted Closeli gateway before running the skill.

Risk: TLS certificate verification can be disabled with AI_GATEWAY_VERIFY_SSL=false.

Mitigation: Keep TLS verification enabled when using real credentials; reserve disabled verification for isolated development environments only.

Risk: The shared ~/.openclaw/.env credential file may be readable by other skills running as the same user.

Mitigation: Restrict file permissions, for example with chmod 600, and limit access to the OpenClaw service user.

Risk: Passing the API key through --api-key may expose it through local command-line logging or process inspection.

Mitigation: Prefer the persistent OpenClaw configuration file for credentials and avoid command-line API key overrides with real credentials.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/closeli-open/skills/api-device-list1)
- [Closeli default gateway](https://ai-open.icloseli.com)

## Skill Output:

**Output Type(s):** [API Calls, JSON, Markdown, Text]

**Output Format:** [JSON from the script, then a Markdown table or concise status message for the user]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [For successful non-empty responses, the agent displays MAC Address and Device Name and removes the xxxxS_ prefix from device_id.]

## Skill Version(s):

1.0.3 (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 List Query and adjacent AI workflows.