← 返回 Skills 市场
53
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install axiom-luhn-check
功能描述
Luhn algorithm validator — credit cards (Visa, MC, Amex, Discover), SIRET/SIREN, IMEI, ISBN-10/13. Use when you need to validate any number that uses Luhn. P...
使用说明 (SKILL.md)
axiom-luhn-check
Version: 0.1.2 Axioma Tools
Validates numbers using the Luhn algorithm with auto-detection of common types.
What this skill does
- Luhn check on any number string
- Auto-detects type (Visa/MC/Amex/Discover/SIRET/IMEI/ISBN-10/13)
- JSON output for scripting
- Handles spaces and dashes in input
When to use this skill
- ✅ Validate credit card before submission
- ✅ Audit IMEI of mobile devices
- ✅ Validate ISBN before cataloging books
- ✅ Validate French SIRET/SIREN
- ❌ Need PCI-compliant full validation (this is checksum only)
Usage
python3 axiom_luhn_check.py "4532 0151 1283 0366"
python3 axiom_luhn_check.py "356938035643809" --json
from axiom_luhn_check import validate, detect_type
validate('4532015112830366') # True
detect_type('356938035643809') # 'amex'
Validation
| Check | Status |
|---|---|
| Unit tests | 25+ cases |
| Performance | \x3C100ms |
| Security | Pure stdlib, no injection |
| Determinism | Byte-to-byte stable |
| License | Apache-2.0 |
Last updated: 2026-06-14
安全使用建议
Install only if you need a simple local Luhn checksum helper. Do not use it as authoritative ISBN validation, full payment-card validation, issuer validation, or business-identifier compliance logic without fixing and testing the per-identifier algorithms first.
能力评估
Purpose & Capability
The files coherently implement a local Luhn checksum CLI/API using Python standard library only, but the documentation overclaims support for ISBN-10/13 even though those do not use plain Luhn validation.
Instruction Scope
Runtime instructions are limited to user-invoked CLI/Python usage and disclose checksum-only limitations for cards, though the claimed identifier coverage is broader than the implementation supports.
Install Mechanism
The artifact contains plain markdown, a Python script, and tests; there are no package install hooks, dependency downloads, or automatic execution paths.
Credentials
The tool only processes user-provided strings locally and imports standard modules such as re, sys, argparse, and json; no filesystem scanning, network access, or credential access is present.
Persistence & Privilege
No persistence, privilege escalation, background workers, profile/session access, or mutation of user data is present.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install axiom-luhn-check - 安装完成后,直接呼叫该 Skill 的名称或使用
/axiom-luhn-check触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.2
v0.1.2: Make trilingual EN/FR/ZH the latest version (was 0.1.1/0.1.6, semver too low)
v0.1.1
v0.1.1: Trilingual SKILL.md (EN/FR/ZH) added for ClawHub
v0.1.0
v0.1.0: Luhn validator. Auto-detects Visa/MC/Amex/Discover/SIRET/IMEI/ISBN-10/13.
元数据
常见问题
axiom-luhn-check 是什么?
Luhn algorithm validator — credit cards (Visa, MC, Amex, Discover), SIRET/SIREN, IMEI, ISBN-10/13. Use when you need to validate any number that uses Luhn. P... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 53 次。
如何安装 axiom-luhn-check?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install axiom-luhn-check」即可一键安装,无需额外配置。
axiom-luhn-check 是免费的吗?
是的,axiom-luhn-check 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
axiom-luhn-check 支持哪些平台?
axiom-luhn-check 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 axiom-luhn-check?
由 Kofna3369(@kofna3369)开发并维护,当前版本 v0.1.2。
推荐 Skills