openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > IP归属查询

聚合数据IP归属地查询V3.0,支持IPv4查询国家/省份/城市/运营商

开发与 DevOps

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.1

统计:⭐ 0 · 30 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :良性 · OpenClaw :良性

Package:365bug/ip-new

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

The skill's code, instructions, and requested credential (JUHE_API_KEY) are consistent with an IP geolocation lookup using the 聚合数据 API; nothing indicates covert or unrelated behavior.

目的

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.

说明范围

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.

安装机制

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.

证书

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.

持久

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.

综合结论

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) i…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「IP归属查询」。简介:聚合数据IP归属地查询V3.0,支持IPv4查询国家/省份/城市/运营商。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/365bug/ip-new/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: ip
description: 聚合数据IP归属地查询V3.0,支持IPv4查询国家/省份/城市/运营商
metadata:
  openclaw:
    emoji: 🌍
    requires:
      bins: [python3]
      env: [JUHE_API_KEY]
    primaryEnv: JUHE_API_KEY
---

# IP 归属地查询(OpenClaw 技能)

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

## 功能说明
- 查询 IPv4 地址的国家、省份、城市、运营商信息
- 数据格式标准化,可直接被 OpenClaw 解析使用

## 环境变量配置
在运行前必须配置 API 密钥:

# Windows(PowerShell)
$env:JUHE_API_KEY="你的聚合数据API Key"

# Linux / macOS
export JUHE_API_KEY="你的聚合数据API Key"

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

## 调用命令
python3 skills/ip/ip.py 114.114.114.114

## 返回示例
{
  "error_code": 0,
  "reason": "success",
  "result": {
    "ip": "114.114.114.114",
    "country": "中国",
    "province": "北京",
    "city": "北京",
    "sp": "联通"
  }
}

## 错误说明
- JUHE_API_KEY not set:未配置环境变量
- invalid json:参数格式错误
- request failed:网络请求异常