← Back to Skills Marketplace
wang-junjian

Express Tracker

by 军舰 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
249
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install express-tracker
Description
快递物流查询技能,支持圆通、中通、申通、韵达、顺丰、京东等主流快递公司。自动识别快递公司,生成快递100查询链接。使用场景:(1) "查询快递 YT2538259220416",(2) "我的快递到哪了",(3) "批量查询几个快递单号"。
README (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需要申请密钥,这个技能使用免费的公开查询方式,开箱即用。

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install express-tracker
  3. After installation, invoke the skill by name or use /express-tracker
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
express-tracker 1.0.0 初始版本发布 - 支持快速查询国内主流快递公司物流信息,自动识别单号并生成快递100查询链接 - 覆盖圆通、中通、申通、韵达、顺丰、京东、EMS、极兔、德邦等 3000+ 快递公司 - 提供单票与批量查询脚本,支持文本、JSON、Markdown 输出 - 可一键在浏览器中打开查询链接(macOS) - 无需API密钥,开箱即用
Metadata
Slug express-tracker
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Express Tracker?

快递物流查询技能,支持圆通、中通、申通、韵达、顺丰、京东等主流快递公司。自动识别快递公司,生成快递100查询链接。使用场景:(1) "查询快递 YT2538259220416",(2) "我的快递到哪了",(3) "批量查询几个快递单号"。 It is an AI Agent Skill for Claude Code / OpenClaw, with 249 downloads so far.

How do I install Express Tracker?

Run "/install express-tracker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Express Tracker free?

Yes, Express Tracker is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Express Tracker support?

Express Tracker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Express Tracker?

It is built and maintained by 军舰 (@wang-junjian); the current version is v1.0.0.

💬 Comments