← 返回 Skills 市场
wang-junjian

Express Tracker

作者 军舰 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
249
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install express-tracker
功能描述
快递物流查询技能,支持圆通、中通、申通、韵达、顺丰、京东等主流快递公司。自动识别快递公司,生成快递100查询链接。使用场景:(1) "查询快递 YT2538259220416",(2) "我的快递到哪了",(3) "批量查询几个快递单号"。
使用说明 (SKILL.md)

快递物流查询技能

快速生成国内主流快递公司的查询链接,支持自动识别快递公司。

支持的快递公司

  • 圆通速递 (YT)
  • 中通快递 (ZT)
  • 申通快递 (ST)
  • 韵达快递 (YD)
  • 顺丰速运 (SF)
  • 京东物流 (JD)
  • 邮政EMS (EMS)
  • 极兔速递 (JTSD)
  • 德邦快递 (DBL)
  • 等 3000+ 家快递公司

快速开始

单票查询

# 自动识别快递公司并生成查询链接
python3 scripts/track_express.py --nu YT2538259220416

# 自动在浏览器中打开查询链接(macOS)
python3 scripts/track_express.py --nu YT2538259220416 --open

批量查询

# 从文件批量生成查询链接
python3 scripts/batch_track.py --file express_list.txt

# 命令行指定多个单号
python3 scripts/batch_track.py --nus YT2538259220416,SF1234567890

详细用法

单票查询脚本

python3 scripts/track_express.py [选项]

选项:
  --nu NU            快递单号(必需)
  --com COM          快递公司代码(可选,自动识别)
  --format FORMAT    输出格式:text/json/markdown(默认:text)
  --output FILE      输出到文件(可选)
  --open             自动在浏览器中打开查询链接(macOS)

示例:

# 基本查询
python3 scripts/track_express.py --nu YT2538259220416

# 自动在浏览器打开
python3 scripts/track_express.py --nu YT2538259220416 --open

# 输出 JSON 格式
python3 scripts/track_express.py --nu YT2538259220416 --format json

# 保存到文件
python3 scripts/track_express.py --nu YT2538259220416 --output result.md

批量查询脚本

python3 scripts/batch_track.py [选项]

选项:
  --file FILE        快递列表文件(每行一个单号)
  --nus NUS          快递单号列表,逗号分隔
  --format FORMAT    输出格式:text/json/markdown(默认:text)
  --output FILE      输出到文件(可选)

示例:

# 从文件批量查询
python3 scripts/batch_track.py --file my_express.txt

# 命令行批量查询
python3 scripts/batch_track.py --nus YT2538259220416,SF1234567890

# 输出 Markdown 报告
python3 scripts/batch_track.py --file my_express.txt --format markdown

快递列表文件格式

创建一个文本文件,每行一个快递单号:

# my_express.txt
YT2538259220416
SF1234567890
JD0123456789012

快递公司代码参考

快递公司 代码 单号前缀
圆通速递 yuantong YT
中通快递 zhongtong ZT
申通快递 shentong ST
韵达快递 yunda YD
顺丰速运 shunfeng SF
京东物流 jd JD
邮政EMS ems 10/11/50
极兔速递 jtexpress JT
德邦快递 deppon DPL

数据来源

  • 快递100 - 提供查询链接(无需密钥)
  • 支持 3000+ 家快递公司

输出示例

文本格式

📦 快递单号:YT2538259220416
🏢 快递公司:圆通速递
🔗 查询链接:https://www.kuaidi100.com/chaxun?nu=YT2538259220416

💡 提示:点击上方链接查看详细物流信息

JSON 格式

{
  "nu": "YT2538259220416",
  "com": "yuantong",
  "com_name": "圆通速递",
  "query_url": "https://www.kuaidi100.com/chaxun?nu=YT2538259220416"
}

技能文件结构

express-tracker/
├── SKILL.md                    # 本文件
├── scripts/
│   ├── track_express.py        # 单票查询脚本
│   ├── batch_track.py          # 批量查询脚本
│   └── express_codes.py        # 快递公司代码库
└── examples/
    └── example_list.txt        # 快递列表示例

常见问题

Q: 如何自动识别快递公司? A: 脚本会根据单号前缀自动识别,常见单号前缀如 YT(圆通)、SF(顺丰)等。

Q: 为什么不直接显示物流信息? A: 页面解析比较复杂且容易失效,提供查询链接是最稳定可靠的方式。

Q: 支持国际快递吗? A: 主要支持国内快递,部分国际快递(如 DHL、FedEx)可以在快递100网站查询。

Q: 为什么不用快递100的API? A: 快递100的正式API需要申请密钥,这个技能使用免费的公开查询方式,开箱即用。

安全使用建议
This skill appears to do what it says: produce kuaidi100 query links and optionally open them in your browser. It does not ask for secrets or perform network writes. Two things to consider before running: (1) Both scripts hard-code a development sys.path insertion (/Users/junjian/.openclaw/... ). This is likely a leftover dev artifact; it is not inherently malicious but is non-portable and could cause unexpected imports — remove or replace it with relative imports (e.g., modify sys.path to the script's directory or use package-relative imports). (2) The SKILL.md claim of "3000+" couriers is overstated compared with the bundled mapping; expect support for common carriers only. Recommended actions: inspect the three Python files (they are short), run them in a sandbox/virtualenv, and if you plan to use regularly, edit/remove the absolute sys.path lines to make the scripts portable. If you need complete assurance, ask the publisher for a canonical source/homepage or a corrected package with relative imports.
功能分析
Type: OpenClaw Skill Name: express-tracker Version: 1.0.0 The express-tracker skill bundle provides legitimate functionality for identifying express delivery companies and generating tracking links via Kuaidi100. The scripts (track_express.py, batch_track.py) use regex patterns to match tracking numbers and offer features like batch processing and automatic browser opening. While it contains hardcoded absolute paths in the Python sys.path configuration (referencing a specific user directory '/Users/junjian/') which may hinder portability, there is no evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The name/description (generate courier query links, auto-detect carrier, single/batch modes) matches the included scripts and SKILL.md. No unexpected credentials, binaries, or external installs are required. Minor mismatch: SKILL.md claims support for "3000+" couriers but the bundled express_codes.py contains a modest hard-coded mapping — the large-number claim appears overstated.
Instruction Scope
Runtime instructions only run the included Python scripts which read user-supplied input files, build kuaidi100 query URLs, and optionally open the browser. The scripts do not access environment variables or other system config. A notable oddity: both scripts insert an absolute path into sys.path ('/Users/junjian/.openclaw/workspace/skills/express-tracker/scripts') before importing sibling modules — this is a development artifact that reduces portability and could cause surprising import behavior on some systems.
Install Mechanism
No install spec; instruction-only plus local Python scripts. Nothing is downloaded or written to the system during installation by the skill itself.
Credentials
The skill requests no environment variables, no credentials, and no config paths. This is proportionate to its purpose.
Persistence & Privilege
always is false and the skill does not request persistent or elevated privileges, nor does it modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install express-tracker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /express-tracker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
express-tracker 1.0.0 初始版本发布 - 支持快速查询国内主流快递公司物流信息,自动识别单号并生成快递100查询链接 - 覆盖圆通、中通、申通、韵达、顺丰、京东、EMS、极兔、德邦等 3000+ 快递公司 - 提供单票与批量查询脚本,支持文本、JSON、Markdown 输出 - 可一键在浏览器中打开查询链接(macOS) - 无需API密钥,开箱即用
元数据
Slug express-tracker
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Express Tracker 是什么?

快递物流查询技能,支持圆通、中通、申通、韵达、顺丰、京东等主流快递公司。自动识别快递公司,生成快递100查询链接。使用场景:(1) "查询快递 YT2538259220416",(2) "我的快递到哪了",(3) "批量查询几个快递单号"。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 249 次。

如何安装 Express Tracker?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install express-tracker」即可一键安装,无需额外配置。

Express Tracker 是免费的吗?

是的,Express Tracker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Express Tracker 支持哪些平台?

Express Tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Express Tracker?

由 军舰(@wang-junjian)开发并维护,当前版本 v1.0.0。

💬 留言讨论