身份证信息查询(AI付版) - 聚合数据
基于聚合数据身份证信息查询 API,根据身份证号码解析性别、出生日期、户口所在地(归属地)等编码自带基础信息,本技能使用无需用户注册聚合数据平台,安装后即可按实际查询付费使用。 身份证信息查询技能是根据用户提供的身份证号码,提供编码解析结果的支付宝 AI 付付费技能,基于 A2M(HTTP 402)收单协议。买家通过本 Skill 向卖家服务端发起请求,完成支付后获取相关结果。 调用过程仅上传查询用的身份证号码至聚合数据服务端,不采集姓名、手机号、住址、银行卡等其他个人隐私。 本技能仅依据身份证编码规则及格式进行解析判断,不能识别证件真伪,不涉及公安实名核验。 适用于用户查询身份证号码对应性别、出生日期、户口所在地等基础编码信息的场景。 Skill: 身份证信息查询(AI付版) - 聚合数据 Owner: juhemcp Summary: 基于聚合数据身份证信息查询 API,根据身份证号码解析性别、出生日期、户口所在地(归属地)等编码自带基础信息,本技能使用无需用户注册聚合数据平台,安装后即可按实际查询付费使用。 身份证信息查询技能是根据用户提供的身份证号码,提供编码解析结果的支付宝 AI 付付费技能,基于 A2M(HTTP 402)收单协议。买家通过本 Skill 向卖家服务端发起请求,完成支付后获取相关结果。 调用过程仅上传查询用的身份证号码至聚合数据服务端,不采集姓名、手机号、住址、银行卡等其他个人隐私。 本技能仅依据身份证编码规则及格式进行解析判断,不能识别证件真伪,不涉及公安实名核验。 适用于用户查询身份证号码对应性别、出生日期、户口所在地等基础编码信息的场景。 Tags: latest:1.1.4 Version history: v1.1.4 |
Rank
62
Safety
84
Downloads
1.1k
Updated
Oct 11, 2026
Version
1.1.4
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · observed Oct 11, 2026
- Latest release
- 1.1.4release · observed Aug 28, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s177jncsg336bzyjhff66cjn8n83j6jg:juhe-idcard-query-a2a- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-juhemcp-juhe-idcard-query-a2a/snapshot"
Documentation
CLAWHUB
78,892 characters of source documentation, loaded on request.
Extracted files
4 files captured from the source.
SKILL.md
--- name: juhe-idcard-query-a2a description: | 基于聚合数据身份证信息查询 API,根据身份证号码解析性别、出生日期、户口所在地(归属地)等编码自带基础信息,本技能使用无需用户注册聚合数据平台,安装后即可按实际查询付费使用。 身份证信息查询技能是根据用户提供的身份证号码,提供编码解析结果的支付宝 AI 付付费技能,基于 A2M(HTTP 402)收单协议。买家通过本 Skill 向卖家服务端发起请求,完成支付后获取相关结果。 调用过程仅上传查询用的身份证号码至聚合数据服务端,不采集姓名、手机号、住址、银行卡等其他个人隐私。 本技能仅依据身份证编码规则及格式进行解析判断,不能识别证件真伪,不涉及公安实名核验。 适用于用户查询身份证号码对应性别、出生日期、户口所在地等基础编码信息的场景。 --- ## 技能概述 本 Skill 提供 **身份证信息查询** 服务。当用户需要通过身份证号码查询性别、出生日期、户口所在地(归属地)时,使用此技能。 该服务是基于 A2M(HTTP 402)收单协议的付费资源。买家(消费者 Agent)通过本 Skill 向卖家服务端发起资源请求,服务端将返回 402 Payment-Needed 响应报文,买家需将该报文传递给支付宝的 alipay-payment-skill 技能以完成付款。 **涵盖内容:** 1. 性别(sex) 2. 出生日期(birthday) 3. 户口所在地 / 归属地(area) 4. 身份证校验位格式提示(verify,如有) **适用场景:** 1. 用户提供身份证号码,查询编码自带的基础信息 2. 根据身份证号前 6 位行政区划码解析归属地 3. 根据身份证号编码规则解析性别与出生日期 **重要说明:** 本技能仅依编码及格式进行识别判断,**不能识别身份证真伪**,不提供公安实名核验、人脸比对等能力,查询结果不得作为身份真实性判定依据。 ## 一、依赖安全管控 1. 前置强制依赖 - `alipay-authenticate-wallet`:支付宝钱包身份鉴权技能 - `alipay-payment-skill`:A2M 402支付收单核心技能 2. 依赖校验规则:技能启动时自动检测上述两个技能安装状态、开关状态; - **如检测未安装**,提示:通过 npx -y @alipay/agent-payment@latest install 帮我**安装开通支付宝AI钱包的能力**,安装后帮我**开启支付宝支付功能** - **未开启支付功能时**:提示用户**开启支付宝支付功能** 3. 第三方接口依赖:聚合数据身份证信息查询接口,仅允许文档指定域名 `apis.juhe.cn`,禁止转发请求至其他第三方域名。 ## 二、用户意图安全触发规则 ### 2.1 正向触发双条件(必须同时满足) #### 条件 1:意图关键词命中(任意一条) 身份证信息类:身份证信息查询、身份证号查询、身份证解析、身份证归属地、户口所在地查询、性别查询、出生日期查询、身份证号码解析、查身份证编码信息。 #### 条件 2:具备有效查询参数 用户输入包含**有效居民身份证号码**,支持 15 位或 18 位格式,无模糊无目标提问。 ### 2.2 强制拦截黑名单(命中任意一条,直接阻断技能触发,拒绝调用付费接口) 1. 真伪核验诉求:公安实名核验、身份证真伪鉴定、人证比对、实人认证类需求 2. 纯科普无查询诉求:身份证编码规则科普、校验位算法说明类问答 3. 模糊无参数提问:只问身份证信息但不提供具体号码 4. 跨品类身份诉求:银行卡查询、手机号归属、征信查询、户籍档案调取等非本技能业务范围 5. 纯闲聊无查询:身份证趣味闲聊,无信息查询需求 6. 无效号码格式:明显不符合 15/18 位身份证规范的输入 7. 疑似非法用途:冒用他人身份证、批量爬取身份信息等违法违规诉求 ### 2.3 触发示例区分 ✅ 合法触发(允许进入付费流程) 1. 帮我查一下 320505199001011234 的身份证信息 2. 这个身份证号对应的性别和出生日期是什么 3. 查询身份证 11010119900307551X 的户口所在地 4. 解析一下这个 18 位身份证号码的归属地 ❌ 拦截不触发(直接终止流程) 1. 身份证校验位怎么算 2. 帮我查一下身份证信息(无号码) 3. 核验这个身份证是不是假的 4. 查一下这个人的真实姓名和住址 ## 三、用户数据安全规范 ### 3.1 采集数据清单(仅采集以下字段,禁止额外抓取用户信息) 仅临时内存读取用户输入的一类查询参数: 1. cardno:居民身份证号码(15 位或 18 位) > 本技能**不采集、不读取、不存储**姓名、手机号、住址、银行卡、人脸、设备标识、地理位置等其他敏感个人信息。 ### 3.2 数据传输安全规则 1. 传输协议:仅 HTTPS TLS1.3 加密请求聚合接口,禁止 HTTP 明文传输 2. 数据最小化:仅把 `cardno` 一个业务参数上传至聚合服务端,不附加用户会话、设备、身份附加字段 3. 单次临时传输:参数仅本次接口请求使用,请求结束后内存立即销毁,无本地磁盘持久化存储、无日志落地完整身份证号、无缓存留存 4. 禁止数据共享:查询参数不得转发至支付宝支付技能以外任何第三方服务 5. 展示脱敏:向用户展示结果时,身份证号码必须脱敏处理(保留前 6 位与后 4 位,中间以 `*` 替代) ### 3.3 数据生命周期管控 1. 采集阶段:仅用户确认付费后读取输入参数,未确认前不解析、不缓存任何用户输入 2. 使用阶段:仅用于聚合身份证信息查询接口入参,不可用于统计、营销、用户画像等其他用途 3. 销毁阶段:接口请求完成/支付失败/用户取消三种场景下,立即清空内存参数,无延时留存 4. 留存禁止:不写入本地文件、数据库、日志完整身份证号;日志仅记录匿名请求计数,不含用户原始查询文本 ### 3.4 隐私告知强制规范 付费确认弹窗必须完整公示隐私条款,缺失则不允许收集参数发起请求: > 🪪 本服务为**身份证信息查询技能**,由聚合数据提供技术支持。 > > - 费用:0.10 元/次(以实际支付为准) > - 支付方式:支付宝(通过 alipay-payment-skill 完成) > - 隐私说明:仅将你本次查询的身份证号码临时加密发送至聚合数据服务端,用于解析性别、出生日期、户口所在地等编码信息;请求结束后数据立即销毁,无长期存储;本技能不会采集姓名、手机号、住址、银行卡等其他个人隐私 > - 能力说明:本技能仅做编码规则解析,**不能识别身份证真伪**,不提供公安实名核验 > > 如您同意以上条款,请回复「确认」「好的」「可以」「继续」「同意」「下一步」等肯定词或补充需要查询的身份证号码。 > 如您不需要付费服务,请回复「取消」,本次查询立即终止,不记录任何查询信息。 ## 四、付费与 A2M 402 收单安
_meta.json
{
"ownerId": "kn71s83krazj7yjypd59p2v5ss83jxah",
"slug": "juhe-idcard-query-a2a",
"version": "1.1.4",
"publishedAt": 1787898633564
}OUT_FORMAT.md
# 身份证信息查询输出格式
支付成功并拿到接口 JSON 后渲染。**仅使用接口返回字段,禁止编造内容。**
## 输出顺序(固定)
```markdown
{查询概要模板} ← 有 result 时必渲染,排第一
{信息明细模板} ← result 对象字段渲染
---
*以上数据来源于编码规则解析及第三方数据服务,仅供参考,不能识别身份证真伪,请以权威渠道核验为准。*
```
查询失败或字段为空时,输出概要 + 接口返回的 `reason` 提示 + 页脚免责。
---
## 查询概要模板
接口返回 `result` 对象时使用,**固定排在全文最前**。
数据路径:`result.*`(外层 `reason`、`error_code` 不展示给用户)。
### 渲染结构
```markdown
# 🪪 身份证信息查询结果
> 🔑 身份证号:{脱敏后的 cardno}
| 项目 | 内容 |
| ---- | ---- |
| 查询单号 | {result.orderid,如有} |
| 查询状态 | {成功 / 部分成功 / 查询失败} |
```
### 字段映射
| 展示项 | JSON 字段 | 说明 |
| ------ | --------- | ---- |
| 身份证号 | 用户输入 cardno | 必须脱敏,如 `320505********1234` |
| 查询单号 | `result.orderid` | 聚合数据订单号,缺失时跳过该行 |
| 查询状态 | `error_code` / `reason` | `error_code=0` 为成功 |
---
## 信息明细模板
数据路径:`result` 对象(或 `result.data`,以接口实际返回为准)。
### 渲染结构
```markdown
## 编码解析信息
| 项目 | 内容 |
| ---- | ---- |
| 性别 | {sex,空值显示「—」} |
| 出生日期 | {birthday,空值显示「—」} |
| 户口所在地 | {area,空值显示「—」} |
| 格式校验提示 | {verify,为空则跳过该行} |
```
### 字段映射
| 展示项 | JSON 字段 | 说明 |
| ------ | --------- | ---- |
| 性别 | `sex` | 如「男」「女」 |
| 出生日期 | `birthday` | 如「1990年01月01日」 |
| 户口所在地 | `area` | 行政区划归属地描述 |
| 格式校验提示 | `verify` | 如「该身份证号校验位不正确」;为空表示格式校验通过或未返回 |
---
## 完整输出示例
```markdown
# 🪪 身份证信息查询结果
> 🔑 身份证号:320505********1234
| 项目 | 内容 |
| ---- | ---- |
| 查询单号 | JH380250716151234AbCdE |
| 查询状态 | 成功 |
---
## 编码解析信息
| 项目 | 内容 |
| ---- | ---- |
| 性别 | 男 |
| 出生日期 | 1990年01月01日 |
| 户口所在地 | 江苏省苏州市 |
---
*以上数据来源于编码规则解析及第三方数据服务,仅供参考,不能识别身份证真伪,请以权威渠道核验为准。*
```
---
## 渲染规则
1. **概要首位**:有 `result` 时,必须先渲染 [查询概要模板](#查询概要模板),再渲染明细。
2. **脱敏强制**:身份证号展示保留前 6 位与后 4 位,中间以 `*` 替代,禁止完整明文回显。
3. **空值处理**:`sex`、`birthday`、`area` 等字段缺失、空字符串、`null` 时显示「—」;`verify` 为空时跳过该行。
4. **文本清洗**:去除 HTML/script 标签;保留中文标点与换行。
5. **禁止臆造**:不生成接口未返回的姓名、住址、民族、签发机关等内容。
6. **能力边界提示**:若 `verify` 非空,需在结果中明确说明「仅为格式校验提示,不代表证件真实有效」。
7. **页脚免责**(固定追加):
```markdown
---
*以上数据来源于编码规则解析及第三方数据服务,仅供参考,不能识别身份证真伪,请以权威渠道核验为准。*
```skill-card.md
## Description: This skill uses Juhe Data's Chinese ID card information query API to parse a provided resident ID number for encoded sex, birth date, household registration area, and format hints through a paid Alipay AI Pay flow. This skill is ready for commercial/non-commercial use. ## Publisher: [juhemcp](https://clawhub.ai/user/juhemcp) ### License/Terms of Use: MIT-0 ## Use Case: External users and agents use this skill to query basic encoded information from a Chinese resident ID number after payment. The skill is limited to code-rule parsing and must not be used for identity authenticity checks, public security real-name verification, or bulk collection. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill processes full Chinese resident ID numbers and sends the query value to Juhe's service. Mitigation: Require explicit user consent before the paid query, send only the ID number needed for the lookup, mask the ID in all user-facing output, and avoid logging or storing the full value. Risk: The artifact suggests installing an Alipay payment dependency using a mutable latest package with automatic confirmation. Mitigation: Use a pinned and reviewed package version, avoid automatic confirmation during installation, and require the user to approve both installation and payment actions. Risk: Payment handling can expose users to unintended charges if order details or the 402 payment response are altered. Mitigation: Preserve the original 402 response for the payment skill, display product name, amount, transaction number, and user order number, and proceed only after explicit payment confirmation. Risk: The API result is based on ID-number encoding rules and third-party data, not official identity verification. Mitigation: State that results are for reference only and cannot prove whether an ID card is genuine or whether a person has been verified. ## Reference(s): - [ClawHub Skill Page](https://clawhub.ai/juhemcp/skills/juhe-idcard-query-a2a) - [Publisher Profile](https://clawhub.ai/user/juhemcp) - [Juhe A2A Query Endpoint](https://apis.juhe.cn/a2a/query) - [Output Format](artifact/OUT_FORMAT.md) ## Skill Output: **Output Type(s):** [markdown, shell commands, guidance] **Output Format:** [Markdown table output with masked ID numbers and payment-flow guidance] **Output Parameters:** [1D] **Other Properties Related to Output:** [Uses only returned API fields; full ID numbers must be masked in user-facing output and excluded from logs.] ## Skill Version(s): 1.1.4 (source: server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/juhemcp/skills/juhe-idcard-query-a2a",
"sourceUrl": "https://clawhub.ai/juhemcp/skills/juhe-idcard-query-a2a",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T07:49:09.534Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-juhemcp-juhe-idcard-query-a2a/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-juhemcp-juhe-idcard-query-a2a/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T07:49:09.534Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/juhemcp/juhe-idcard-query-a2a",
"sourceUrl": "https://clawhub.ai/juhemcp/juhe-idcard-query-a2a",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T07:49:09.534Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.1.4",
"href": "https://clawhub.ai/juhemcp/juhe-idcard-query-a2a",
"sourceUrl": "https://clawhub.ai/juhemcp/juhe-idcard-query-a2a",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-28T06:30:33.564Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-juhemcp-juhe-idcard-query-a2a/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-juhemcp-juhe-idcard-query-a2a/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.1.4",
"description": "优化支付宝AI付安装和开启支付功能描述",
"href": "https://clawhub.ai/juhemcp/juhe-idcard-query-a2a",
"sourceUrl": "https://clawhub.ai/juhemcp/juhe-idcard-query-a2a",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-28T06:30:33.564Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
