← 返回 Skills 市场
scow

iwown device gnss tracker

作者 scow · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
77
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gnss-tracker
功能描述
识别智能设备二维码并查询定位位置。触发场景:用户发送包含设备二维码的图片、查询设备定位、识别设备二维码获取位置、根据IMEI查询设备最后定位。
使用说明 (SKILL.md)

GNSS 设备定位查询 Skill

功能

识别智能设备二维码,提取IMEI号,查询设备最后一次定位位置。

触发条件

当用户发送包含设备二维码的图片,或者明确要求查询设备定位时触发。

使用流程

  1. 识别二维码:如果用户提供了图片,使用 zbarimg 识别二维码内容
  2. 提取IMEI:从二维码的 dev_info.imei 字段提取设备IMEI号
  3. 查询定位:调用 API 获取定位信息
  4. 返回结果:格式化返回定位地址和时间,没有数据则提示查不到记录

核心脚本

使用 scripts/query_gnss.py 完成查询:

import sys
import json
import requests

def query_location(imei):
    url = f"https://search.iwown.com/hpmservice/ai/vendor/gnss/latest?deviceid={imei}"
    try:
        response = requests.get(url, timeout=10)
        response.raise_for_status()
        data = response.json()
        
        if data.get("ReturnCode") != 0:
            return None, None, None
            
        record_time = data["Data"]["record_time"]
        address = data["Data"]["address"]
        return record_time, address, data["Data"]
    except Exception as e:
        print(f"查询失败: {e}", file=sys.stderr)
        return None, None, None

if __name__ == "__main__":
    if len(sys.argv) != 2:
        print("用法: python query_gnss.py \x3Cimei>")
        sys.exit(1)
    
    imei = sys.argv[1]
    record_time, address, raw_data = query_location(imei)
    
    if address:
        print(json.dumps({
            "status": "success",
            "record_time": record_time,
            "address": address,
            "raw": raw_data
        }, ensure_ascii=False))
    else:
        print(json.dumps({
            "status": "error",
            "message": "查不到定位记录"
        }, ensure_ascii=False))

结果返回格式

定位成功: 设备最后定位位置:广东省深圳市南山区南山街道自贸大街香江金融中心 定位时间:2026-03-11 14:52:12

定位失败: 查不到该设备的定位记录

安全使用建议
Before installing or using: (1) Confirm you want to send device IMEIs to https://search.iwown.com and verify that domain/address is legitimate for your devices; this leaks device identifiers to an external service. (2) Ensure the runtime has a QR decoder (SKILL.md mentions zbarimg) — the skill does not declare this dependency. (3) Obtain consent from device owners before querying locations and consider legal/privacy implications. (4) If you prefer not to contact an external API, decode QR and handle location lookup via an approved service or offline tools. (5) Run the script in an isolated environment if you need to inspect responses or test behavior.
功能分析
Type: OpenClaw Skill Name: gnss-tracker Version: 1.0.0 The skill is designed to extract device IMEIs from QR codes and query their location via a legitimate vendor API (search.iwown.com). The Python script `scripts/query_gnss.py` and the instructions in `SKILL.md` are transparent, lack obfuscation, and perform only the stated functions without any indicators of data exfiltration, persistence, or malicious execution.
能力评估
Purpose & Capability
The name/description match the included script: query_gnss.py queries an iwown.com GNSS endpoint by IMEI. However SKILL.md recommends using zbarimg to decode QR codes but the skill does not declare that binary as a requirement; that is a mismatch (missing declared dependency).
Instruction Scope
Instructions are narrowly scoped: decode QR to extract dev_info.imei, call the GNSS API, return formatted result. They do not ask the agent to read unrelated files or credentials. Important: the runtime will send IMEI (a persistent device identifier) to an external API (search.iwown.com), which is expected for the purpose but privacy-sensitive and worth explicit user consent.
Install Mechanism
No install spec and only a small Python script are included. No downloads, package installs, or extraction from arbitrary URLs are present.
Credentials
The skill requests no environment variables or credentials, which is proportionate. However, it does transmit IMEI values externally (to search.iwown.com). Even though no secret credentials are required, sending device identifiers is privacy-sensitive and should be considered before use.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or persistent privileges, nor does it modify other skills or system-wide configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gnss-tracker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gnss-tracker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
gnss-tracker v1.0.0 - 初始发布,支持识别智能设备二维码并查询设备最后定位位置。 - 可通过图片识别二维码,自动提取IMEI号,并调用API获取定位信息。 - 支持根据IMEI直接查询设备的最新定位。 - 查询结果包含定位地址与时间,查无数据时将友好提示。
元数据
Slug gnss-tracker
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

iwown device gnss tracker 是什么?

识别智能设备二维码并查询定位位置。触发场景:用户发送包含设备二维码的图片、查询设备定位、识别设备二维码获取位置、根据IMEI查询设备最后定位。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 77 次。

如何安装 iwown device gnss tracker?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gnss-tracker」即可一键安装,无需额外配置。

iwown device gnss tracker 是免费的吗?

是的,iwown device gnss tracker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

iwown device gnss tracker 支持哪些平台?

iwown device gnss tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 iwown device gnss tracker?

由 scow(@scow)开发并维护,当前版本 v1.0.0。

💬 留言讨论