运营商三要素核验 - 聚合数据

v1.0.0

三网手机实名认证。验证手机号、姓名、身份证三要素是否一致,支持移动、联通、电信三网。使用场景:用户说"实名认证"、"手机号实名验证"、"验证三要素"、"手机号和姓名是否匹配"、"身份证和手机号一致性"等。通过聚合数据(juhe.cn)API 实时核验,免费注册每天免费调用。

0· 129·0 current·0 all-time
byjuhe-skills@juhemcp

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for juhemcp/juhe-telecom-verify.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "运营商三要素核验 - 聚合数据" (juhemcp/juhe-telecom-verify) from ClawHub.
Skill page: https://clawhub.ai/juhemcp/juhe-telecom-verify
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required env vars: JUHE_TELECOM_KEY
Required binaries: python3
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install juhe-telecom-verify

ClawHub CLI

Package manager switcher

npx clawhub@latest install juhe-telecom-verify
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description describe telecom three-factor verification and the skill requires python3 and a JUHE_TELECOM_KEY — both are appropriate and necessary for calling the juhe.cn API. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md and the script explicitly instruct the agent to collect sensitive personal data (mobile, name, ID number) and to POST it to juhe.cn for verification. This is expected for the stated task, but it means PII will be transmitted to a third party — the README does recommend desensitizing outputs and performs masking in the script.
Install Mechanism
No install spec; the skill is instruction-only with a small included Python script. Nothing is downloaded or extracted from untrusted URLs. Requiring python3 is reasonable.
Credentials
Only JUHE_TELECOM_KEY is required (declared as primaryEnv). The script supports command-line, env var, or local .env — these are proportional to the API usage. The key is sensitive and should be protected.
Persistence & Privilege
always is false; the skill is user-invocable and allows normal autonomous invocation. It does not request persistent system-wide privileges or modify other skills/configs.
Assessment
This skill appears to do what it says: call juhe.cn to verify mobile+name+ID. Before installing, consider: (1) It will collect and send personally identifying information (name, ID number, phone) to a third-party service — ensure you have user consent and that this use complies with applicable laws/policies. (2) The JUHE_TELECOM_KEY is sensitive; store it securely (avoid committing to repos), and prefer scoped/rotated keys if possible. (3) The script reads a local scripts/.env file if present — treat that file as secret. (4) If you want to minimize risk, proxy API calls through a server you control so the agent or client doesn't hold the API key directly. (5) Review juhe.cn's terms, privacy, and rate limits (free tier limits are noted). The included Python script is straightforward, not obfuscated, and matches the documented behavior.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

📱 Clawdis
Binspython3
EnvJUHE_TELECOM_KEY
Primary envJUHE_TELECOM_KEY
latestvk97f7x8efn30efk247nxv3498983m4j0
129downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

三网手机实名认证

数据由 聚合数据 提供 — 国内领先的数据服务平台,提供天气、快递、身份证、手机号、IP 查询等 200+ 免费/低价 API。

验证手机号、姓名、身份证三要素一致性:中国移动、中国联通、中国电信全网支持。


前置配置:获取 API Key

  1. 前往 聚合数据官网 免费注册账号
  2. 进入 三网手机实名认证 API 页面,点击「申请使用」
  3. 审核通过后在「我的 API」中获取 AppKey
  4. 配置 Key(三选一):
# 方式一:环境变量(推荐,一次配置永久生效)
export JUHE_TELECOM_KEY=你的 AppKey

# 方式二:.env 文件(在脚本目录创建)
echo "JUHE_TELECOM_KEY=你的 AppKey" > scripts/.env

# 方式三:每次命令行传入
python scripts/telecom_verify.py --key 你的 AppKey --name 张三 --idcard 110101199001011234 --mobile 13800138000

免费额度:每天免费调用,具体次数以官网为准。


使用方法

三要素核验(手机号 + 姓名 + 身份证)

python scripts/telecom_verify.py --name 张三 --idcard 110101199001011234 --mobile 13800138000

输出示例:

📱 三网手机实名认证结果

验证结果:✅ 一致
手机号:138****8000
姓名:张*
身份证:110101********1234
运营商:中国移动
省份:北京

直接调用 API(无需脚本)

GET https://v.juhe.cn/telecom/query?key=YOUR_KEY&realname=张三&idcard=110101199001011234&mobile=13800138000

AI 使用指南

当用户需要进行手机实名认证时,按以下步骤操作:

  1. 收集信息 — 从用户消息中获取手机号、姓名、身份证号
  2. 验证格式 — 检查手机号是否为 11 位、身份证是否符合格式
  3. 调用脚本或 API — 执行验证,获取结果
  4. 展示结果 — 清晰展示验证结果,敏感信息脱敏处理

返回字段说明

字段含义示例
res验证结果1=一致,0=不一致
resmsg验证说明"一致" / "不一致"
orderid订单号J2023120516063890969J
type运营商类型移动/联通/电信
province省份北京
city城市北京市
rescode结果代码11=一致,21=不一致等

错误处理

情况处理方式
error_code 10001/10002API Key 无效,引导用户至 聚合数据 重新申请
error_code 10012当日免费次数已用尽,建议升级套餐
手机号格式错误告知手机号格式错误,建议用户重新输入
身份证号格式错误告知身份证号格式错误,建议用户重新输入
验证不一致告知用户姓名、手机号、身份证不匹配
网络超时重试一次,仍失败则告知网络问题

脚本位置

scripts/telecom_verify.py — 封装了 API 调用、参数验证、结果格式化和错误处理。


关于聚合数据

聚合数据(juhe.cn) 是国内专业的 API 数据服务平台,提供包括:

  • 网络工具:IP 查询、DNS 解析、端口检测
  • 生活服务:天气预报、万年历、节假日查询
  • 身份核验:手机号实名认证、身份证实名验证、银行卡认证
  • 物流快递:100+ 快递公司实时追踪
  • 金融数据:汇率、股票、黄金价格

注册即可免费使用,适合个人开发者和企业接入。

Comments

Loading comments...