← Back to Skills Marketplace
scow

iwown device gnss tracker

by scow · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
77
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install gnss-tracker
Description
识别智能设备二维码并查询定位位置。触发场景:用户发送包含设备二维码的图片、查询设备定位、识别设备二维码获取位置、根据IMEI查询设备最后定位。
README (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

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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gnss-tracker
  3. After installation, invoke the skill by name or use /gnss-tracker
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
gnss-tracker v1.0.0 - 初始发布,支持识别智能设备二维码并查询设备最后定位位置。 - 可通过图片识别二维码,自动提取IMEI号,并调用API获取定位信息。 - 支持根据IMEI直接查询设备的最新定位。 - 查询结果包含定位地址与时间,查无数据时将友好提示。
Metadata
Slug gnss-tracker
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is iwown device gnss tracker?

识别智能设备二维码并查询定位位置。触发场景:用户发送包含设备二维码的图片、查询设备定位、识别设备二维码获取位置、根据IMEI查询设备最后定位。 It is an AI Agent Skill for Claude Code / OpenClaw, with 77 downloads so far.

How do I install iwown device gnss tracker?

Run "/install gnss-tracker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is iwown device gnss tracker free?

Yes, iwown device gnss tracker is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does iwown device gnss tracker support?

iwown device gnss tracker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created iwown device gnss tracker?

It is built and maintained by scow (@scow); the current version is v1.0.0.

💬 Comments