← Back to Skills Marketplace
365bug

IP归属查询

by 365bug · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
173
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ip-new
Description
聚合数据IP归属地查询V3.0,支持IPv4查询国家/省份/城市/运营商
README (SKILL.md)

\r \r

IP 归属地查询(OpenClaw 技能)\r

\r 基于聚合数据官方 IP 查询 V3.0 接口,支持 IPv4 地址快速查询归属地信息。\r \r

功能说明\r

  • 查询 IPv4 地址的国家、省份、城市、运营商信息\r
  • 数据格式标准化,可直接被 OpenClaw 解析使用\r \r

环境变量配置\r

在运行前必须配置 API 密钥:\r \r

Windows(PowerShell)\r

$env:JUHE_API_KEY="你的聚合数据API Key"\r \r

Linux / macOS\r

export JUHE_API_KEY="你的聚合数据API Key"\r \r

使用说明\r

  1. 确保已安装依赖:pip install requests\r
  2. 配置好环境变量 JUHE_API_KEY\r
  3. 在终端中直接运行查询命令\r \r

调用命令\r

python3 skills/ip/ip.py 114.114.114.114\r \r

返回示例\r

{\r "error_code": 0,\r "reason": "success",\r "result": {\r "ip": "114.114.114.114",\r "country": "中国",\r "province": "北京",\r "city": "北京",\r "sp": "联通"\r }\r }\r \r

错误说明\r

  • JUHE_API_KEY not set:未配置环境变量\r
  • invalid json:参数格式错误\r
  • request failed:网络请求异常
Usage Guidance
This skill appears coherent and limited to Juhe IP lookups. Before installing: (1) only provide a Juhe API key with appropriate scope — do not reuse high-privilege keys; (2) be aware the current code calls the API over HTTP and passes the key in the URL (risk of interception and logging); prefer switching the API_URL to https://apis.juhe.cn/ip/ipNewV3 if supported; (3) ensure the requests library is installed in a controlled environment; (4) if you allow autonomous agent invocation, know the agent can make outbound calls to the Juhe API using your key — restrict that capability if you want tighter control.
Capability Analysis
Type: OpenClaw Skill Name: ip-new Version: 1.0.1 The skill is a straightforward implementation of an IP geolocation lookup tool using the Juhe (聚合数据) API. The Python script (ip.py) correctly handles environment variables for the API key and performs standard HTTP GET requests to a legitimate endpoint (apis.juhe.cn) without any signs of data exfiltration, obfuscation, or malicious intent.
Capability Assessment
Purpose & Capability
Name/description (IP归属查询) align with required items: python3 runtime and a Juhe API key. The single code file implements exactly an HTTP call to the Juhe IP lookup endpoint and returns the result.
Instruction Scope
SKILL.md instructs installing requests, setting JUHE_API_KEY, and running the script — which matches the code. The script makes an outbound request only to apis.juhe.cn. One security note: the code uses an http:// URL (not HTTPS) and sends the API key as a query parameter, which can expose the key in transit or in server logs; consider switching to HTTPS or using a POST with the key in the body if supported.
Install Mechanism
No install spec (instruction-only) and only an external Python dependency (requests) is suggested in SKILL.md. There are no downloaded/executed archives or third-party installers.
Credentials
The only required environment variable is JUHE_API_KEY (declared as primary), which the skill needs to call the Juhe API. No unrelated credentials, config paths, or secrets are requested.
Persistence & Privilege
always is false and the skill does not request persistent system-wide changes or modify other skills' configs. It only performs normal outbound API calls when invoked.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ip-new
  3. After installation, invoke the skill by name or use /ip-new
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
ip归属地查询
Metadata
Slug ip-new
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is IP归属查询?

聚合数据IP归属地查询V3.0,支持IPv4查询国家/省份/城市/运营商. It is an AI Agent Skill for Claude Code / OpenClaw, with 173 downloads so far.

How do I install IP归属查询?

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

Is IP归属查询 free?

Yes, IP归属查询 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does IP归属查询 support?

IP归属查询 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created IP归属查询?

It is built and maintained by 365bug (@365bug); the current version is v1.0.1.

💬 Comments