Xpersona
批

批量快递查询-快递鸟

CLAWHUB · Unverified

支持通过快递鸟API实时查询运单轨迹信息;当用户需要查询快递物流状态、追踪运单进度或获取包裹配送详情时使用 Skill: 批量快递查询-快递鸟 Owner: 15814059255 Summary: 支持通过快递鸟API实时查询运单轨迹信息;当用户需要查询快递物流状态、追踪运单进度或获取包裹配送详情时使用 Tags: latest:1.0.2 Version history: v1.0.2 | 2026-05-18T14:55:01.528Z | user - Updated documentation with a unified, concise Skill metadata header and clearer step-by-step instructions. - Standardized environment variable naming and credential configuration examples. - Improved error handling guides and troubleshooting

62
Rank
84
Safety
966
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 966 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179qekd8r2t51v23zxh7wb1fs84ggs4:kdniao-skill
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. 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-15814059255-kdniao-skill/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

11,418 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

# 批量快递查询API-快递鸟 (kdniaoapi-skill)

## 技能元数据

| 属性 | 值 |
|------|-----|
| **名称** | 批量快递查询API-快递鸟 |
| **Slug** | kdniaoapi-skill |
| **版本** | v1.0.0 |
| **来源** | ClawHub.ai (kdniao官方) |
| **功能描述** | 支持通过快递鸟API实时查询运单轨迹信息;当用户需要查询快递物流状态、追踪运单进度或获取包裹配送详情时使用 |

---

## 任务目标

- **技能用途**:查询快递运单的实时物流轨迹信息
- **能力包含**:调用快递鸟API获取物流状态、解析轨迹数据、展示配送进度
- **触发条件**:用户提出查询快递物流、追踪运单、查看配送状态等需求

---

## 前置准备

### 依赖安装

```bash
pip install requests>=2.28.0
```

### 凭证配置

**必需环境变量**:`KUAIDI_BIRD_API_CREDENTIALS`

**格式**:`CUSTOMER_CODE|APP_KEY`(使用竖线分隔)

**获取方式**:
1. 访问快递鸟官网注册账号
2. 登录后进入"API管理"或"开发者中心"
3. 获取商户ID(CUSTOMER_CODE)和API密钥(APP_KEY)

**配置示例**:

```bash
# macOS/Linux
export KUAIDI_BIRD_API_CREDENTIALS="1292092|993d0b97-07fa-478c-bfea-ca3597f2ce0f"

# Windows PowerShell
$env:KUAIDI_BIRD_API_CREDENTIALS="1292092|993d0b97-07fa-478c-bfea-ca3597f2ce0f"
```

---

## 操作步骤

### 标准流程

1. **确认运单信息**
   - 获取用户提供的运单号
   - 验证运单号格式(通常为10-20位数字或字母数字组合)

2. **执行查询**
   ```bash
   python3 ~/.workbuddy/skills/kdniaoapi-skill/scripts/query_tracking.py --logistic-code <运单号>
   ```

3. **解析与展示结果**
   - 物流状态(已揽收、运输中、派送中、已签收等)
   - 轨迹时间线(按时间顺序的物流节点)
   - 当前最新状态

### 错误处理

| 场景 | 处理方式 |
|------|----------|
| 运单号无效 | 提示用户检查运单号是否正确 |
| 缺少API凭证 | 检查环境变量是否已设置 |
| 凭证格式错误 | 确认格式为 `CUSTOMER_CODE\|APP_KEY` |
| API异常 | 检查凭证配置,建议稍后重试 |
| 没有可用套餐 | 需在快递鸟官网开通套餐 |

---

## 使用示例

```bash
# 查询顺丰运单
python3 ~/.workbuddy/skills/kdniaoapi-skill/scripts/query_tracking.py --logistic-code SF1234567890

# 查询圆通运单
python3 ~/.workbuddy/skills/kdniaoapi-skill/scripts/query_tracking.py --logistic-code YT1234567890123
```

---

## 注意事项

- 不同快递公司的查询结果格式可能略有差异
- 建议在查询前提醒用户确认运单号准确性
- API使用默认正式环境地址:`https://api.kdniao.com/api/dist`

_meta.json

{
  "ownerId": "kn73hqzxk4pbnneydsn7j95mns84h81m",
  "slug": "kdniao-skill",
  "version": "1.0.2",
  "publishedAt": 1779116101528
}

skill-card.md

## Description:

Queries real-time Kdniao courier tracking data so agents can report shipment status, shipment progress, and delivery details.

This skill is ready for commercial/non-commercial use.

## Publisher:

[15814059255](https://clawhub.ai/user/15814059255)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and logistics-support agents use this skill to query Kdniao with user-provided waybill numbers and present tracking status and timeline details.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Tracking numbers and authenticated request material can be sent to an external logistics API.

Mitigation: Use only authorized tracking numbers and tell users that shipment data will be sent to Kdniao or the configured API destination.

Risk: The optional API URL can redirect requests to an arbitrary destination.

Mitigation: Avoid overriding the default API URL unless the destination is trusted and controlled.

Risk: Credential-looking examples may be copied into environments or logs.

Mitigation: Replace examples with the user's own Kdniao credentials and keep the credential environment variable out of shared logs and transcripts.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/15814059255/skills/kdniao-skill)

## Skill Output:

**Output Type(s):** [Shell commands, Configuration, Guidance, JSON]

**Output Format:** [Markdown instructions with bash commands and JSON API responses]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Returns the Kdniao API response pretty-printed as JSON.]

## Skill Version(s):

1.0.2 (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.

Sponsored

Ads related to 批量快递查询-快递鸟 and adjacent AI workflows.