China Id Validator

v1.0.0

Validate and extract info from Chinese ID card numbers (身份证). 身份证号码验证、归属地查询、出生日期提取、性别判断、年龄计算、15位转18位。China mainland ID card validator and parser.

0· 38·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for darbling/china-id-validator.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "China Id Validator" (darbling/china-id-validator) from ClawHub.
Skill page: https://clawhub.ai/darbling/china-id-validator
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
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 china-id-validator

ClawHub CLI

Package manager switcher

npx clawhub@latest install china-id-validator
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name and description describe ID validation/parsing and the included script implements exactly those functions (15/18-digit validation, province lookup, birthday/gender/age extraction, 15→18 conversion and test ID generation). There are no unrelated requirements (no credentials, no external services).
Instruction Scope
SKILL.md instructs the agent to run the local Python script with example commands; that matches the script. Note: the skill processes personally identifiable information (Chinese ID numbers), so care should be taken about where those outputs are sent or logged.
Install Mechanism
No install spec is present and the skill is instruction-only with a local Python script. Nothing is downloaded or written to disk by an installer.
Credentials
No environment variables, credentials, or config paths are requested. The script also does not read env vars or external config files.
Persistence & Privilege
always is false and model invocation is permitted (the platform default). The skill does not request persistent presence or modify other skills or system configuration.
Assessment
This skill appears internally consistent and implements what it claims. Before installing, consider: (1) it processes sensitive personal data (ID numbers) — avoid supplying real IDs unless you trust the runtime and logs, (2) there is no network access in the code, but an agent could still transmit outputs elsewhere — review how your agent handles and shares skill outputs, (3) the package has no homepage and an unknown owner; if you require provenance, inspect the script yourself or run it in a sandboxed environment. If you want extra assurance, run static analysis or execute the script locally with non-sensitive test data first.

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

cardvk97413pw6dqd0pe6gpmfqm245985mcnnchinavk97413pw6dqd0pe6gpmfqm245985mcnnchinesevk97413pw6dqd0pe6gpmfqm245985mcnnidvk97413pw6dqd0pe6gpmfqm245985mcnnidentityvk97413pw6dqd0pe6gpmfqm245985mcnnlatestvk97413pw6dqd0pe6gpmfqm245985mcnnvalidatorvk97413pw6dqd0pe6gpmfqm245985mcnn
38downloads
0stars
1versions
Updated 20h ago
v1.0.0
MIT-0

China ID Validator 🪪

中国居民身份证号码验证与信息提取工具。

Features | 功能

  • 号码验证:15位/18位身份证合法性校验
  • 信息提取:省份、出生日期、性别、年龄
  • 格式转换:15位↔18位互转
  • 校验码验证:18位末位校验位验证

Usage | 使用

# 验证身份证号
python3 scripts/id_validator.py 110101199003079

# 提取信息
python3 scripts/id_validator.py validate 110101199003079

# 生成测试号码(仅供测试)
python3 scripts/id_validator.py generate 11 1990 3 7 男

免责声明:本工具仅供学习参考,不构成任何投资或商业建议。

Comments

Loading comments...