agentCLAWHUBUnverified

Shopee-店铺头程物流

Shopee(虾皮)头程物流 FirstMile(与 linkfox-shopee-store-auth 同系列),经 /shopee/developerProxy 转发 Shopee Open API FirstMile 模块全部 16 个接口:get_unbind_order_list、generate_first_mile_tracking_number、bind_first_mile_tracking_number、get_waybill、get_channel_list 等。当用户提到 Shopee 头程、FirstMile、头程运单、绑定头程、first mile tracking、中转仓、get_unbind_order_list 时触发。即使未明确提及"头程",只要涉及已授权 Shopee 店铺的头程运单绑定或面单,也应触发。

OpenClaw

Rank

62

Safety

84

Downloads

1.0k

Updated

Oct 11, 2026

Version

1.0.6

Source

CLAWHUB

About

What it does, and when to use it.

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

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 11, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 11, 2026
Adoption signal
1K downloadsadoption · observed Oct 11, 2026
Latest release
1.0.6release · observed Sep 14, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-shopee-store-first-mile
  1. Install using `clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-shopee-store-first-mile` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/linkfox-ai/linkfox-shopee-store-first-mile before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-first-mile/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

133,142 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: linkfox-shopee-store-first-mile
description: Shopee(虾皮)头程物流 FirstMile(与 linkfox-shopee-store-auth 同系列),经 /shopee/developerProxy 转发 Shopee Open API FirstMile 模块全部 16 个接口:get_unbind_order_list、generate_first_mile_tracking_number、bind_first_mile_tracking_number、get_waybill、get_channel_list 等。当用户提到 Shopee 头程、FirstMile、头程运单、绑定头程、first mile tracking、中转仓、get_unbind_order_list 时触发。即使未明确提及"头程",只要涉及已授权 Shopee 店铺的头程运单绑定或面单,也应触发。
---

# Shopee 头程 FirstMile

Shopee Open Platform **FirstMile 模块**(16 个 API)。**依赖 `linkfox-shopee-store-auth`** 选店;经 **`POST /shopee/developerProxy`** 传入 `shopId`(或 `merchantId`),由服务端解析 token 转发(`path` 须 `api/v2/first_mile/...`)。

## 调用方式

- **API 端点**:`POST /shopee/developerProxy`(不同操作通过请求体区分;完整参数/响应/错误码见 `references/api.md`)
- **Python 脚本**:`python scripts/first_mile_api.py '{"api": "get_unbind_order_list", ...}' [--inline]`(可用脚本见上文脚本一览)
- **成本约束**:本工具会消耗算力;失败/空结果不得自动换关键词、翻页或连续试探;需要继续检索时先向用户说明会产生额外消耗。

**输出策略(脚本默认行为)**:
- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json`(`<cwd>` 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;`<session>` 取自环境变量 `SESSION_ID`,按用户任务自动聚合;**禁止写入 /tmp**,当前目录不可写则报错)
- 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本)
- 加 `--inline` 强制全量打印到 stdout(同样落盘)

**读数据建议**:先看摘要判断是否足够;需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。

## 解决认证和算力问题
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:

### 异常情况
- **未配置API Key**:环境变量未配置 `LINKFOX_AGENT_API_KEY`,也未配置 `LINKFOXAGENT_API_KEY`。
- **响应401或402状态码**
- **响应提示算力或余额不足**:消息含"算力余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。

## 官方参考

FirstMile 模块索引:[v2.first_mile.get_unbind_order_list](https://open.shopee.com/documents/v2/v2.first_mile.get_unbind_order_list?module=96&type=1)

---

## Prerequisites

1. 运行 `python scripts/check_auth_dependency.py`;exit code **42** → 先安装 **`linkfox-shopee-store-auth`**。
2. **头程 vs 正向物流**:本 skill 为跨境**头程**(First Mile);店铺发货/面单见 `linkfox-shopee-store-logistics`。

## 可用脚本(16 个 API)

| 分组 | 脚本 |
|------|------|
| 绑定/解绑 | `get_unbind_order_list.py`、`generate_first_mile_tracking_number.py`、`bind_first_mile_tracking_number.py`、`generate_and_bind_first_mile_tracking_number.py`、`unbind_first_mile_tracking_number.py` |
| 运单/面单 | `get_tracking_number_list.py`、`get_waybill.py`、`get_detail.py` |
| 渠道/仓库 | `get_channel_list.py`、`get_transit_warehouse_list.py`、`get_courier_delivery_channel_list.py` |
| 快递头程 | `bind_courier_delivery_first_mile_tracking_number.py`、`get_courier_delivery_detail.py`、`get_courier_delivery_waybill.py` 等 |
| 通用入口 | `first_mile_api.py` |

完整列表见 `references/api.md`。

## 接口说明(按 API)

入参与响应细节放在 `references/apis/`,SKILL 只保留索引。

| API | 说明文档 |
|-----|----------|
| `bind_courier_delivery_first_mile_tracking_number` | [references/apis/bind-courier-delivery-first-mile-tracking-number.md](./references/apis/bind-courier-delivery-first-mile-tracking-number.md) |
| `bind_first_mile_tracking_number` |

_meta.json

{
  "ownerId": "kn7dmc1t4j28hem1twwyav85p182pb1j",
  "slug": "linkfox-shopee-store-first-mile",
  "version": "1.0.6",
  "publishedAt": 1789363632117
}

references/api.md

# linkfox-shopee-store-first-mile — 参数与字段参考

> 单接口入参/响应说明已拆到 **`apis/`**(按 API 一份);本文件保留模块总览与 Feedback。
Shopee **FirstMile 模块**全部 16 个 API,经 **`POST /shopee/developerProxy`** 转发。

授权见 **`linkfox-shopee-store-auth`**。官方索引:[v2.first_mile.get_unbind_order_list](https://open.shopee.com/documents/v2/v2.first_mile.get_unbind_order_list?module=96&type=1)

## 通用约定

- **path**:须 `api/v2/first_mile/...`
- **标识**:通常传 **`shopId`**
- **官方文档 URL 规则**:`https://open.shopee.com/documents/v2/v2.first_mile.{api}?module=96&type=1`

---

## FirstMile 模块总览

| # | API | Method | path | 脚本 | 官方文档 |
|---|-----|--------|------|------|----------|
| 1 | bind_courier_delivery_first_mile_tracking_number | POST | `api/v2/first_mile/bind_courier_delivery_first_mile_tracking_number` | `bind_courier_delivery_first_mile_tracking_number.py` | [apis/bind-courier-delivery-first-mile-tracking-number.md](./apis/bind-courier-delivery-first-mile-tracking-number.md) |
| 2 | bind_first_mile_tracking_number | POST | `api/v2/first_mile/bind_first_mile_tracking_number` | `bind_first_mile_tracking_number.py` | [apis/bind-first-mile-tracking-number.md](./apis/bind-first-mile-tracking-number.md) |
| 3 | generate_and_bind_first_mile_tracking_number | POST | `api/v2/first_mile/generate_and_bind_first_mile_tracking_number` | `generate_and_bind_first_mile_tracking_number.py` | [apis/generate-and-bind-first-mile-tracking-number.md](./apis/generate-and-bind-first-mile-tracking-number.md) |
| 4 | generate_first_mile_tracking_number | POST | `api/v2/first_mile/generate_first_mile_tracking_number` | `generate_first_mile_tracking_number.py` | [apis/generate-first-mile-tracking-number.md](./apis/generate-first-mile-tracking-number.md) |
| 5 | get_channel_list | GET | `api/v2/first_mile/get_channel_list` | `get_channel_list.py` | [apis/get-channel-list.md](./apis/get-channel-list.md) |
| 6 | get_courier_delivery_channel_list | GET | `api/v2/first_mile/get_courier_delivery_channel_list` | `get_courier_delivery_channel_list.py` | [apis/get-courier-delivery-channel-list.md](./apis/get-courier-delivery-channel-list.md) |
| 7 | get_courier_delivery_detail | GET | `api/v2/first_mile/get_courier_delivery_detail` | `get_courier_delivery_detail.py` | [apis/get-courier-delivery-detail.md](./apis/get-courier-delivery-detail.md) |
| 8 | get_courier_delivery_tracking_number_list | GET | `api/v2/first_mile/get_courier_delivery_tracking_number_list` | `get_courier_delivery_tracking_number_list.py` | [apis/get-courier-delivery-tracking-number-list.md](./apis/get-courier-delivery-tracking-number-list.md) |
| 9 | get_courier_delivery_waybill | GET | `api/v2/first_mile/get_courier_delivery_waybill` | `get_courier_delivery_waybill.py` | [apis/get-courier-delivery-waybill.md](./apis/get-courier-delivery-waybill.md) |
| 10 | get_detail | GET | `api/v2/first_mile/get_detail` | `get_detail.py` | [apis/get-detail.md](./apis/get-detail.md) |
| 11 | get_tracking_number_list | GET | `api/v2/first_mile/get_tracking_number_list` | `get_

references/apis/bind-courier-delivery-first-mile-tracking-number.md

# bind_courier_delivery_first_mile_tracking_number

| 项 | 值 |
|----|-----|
| 脚本 | `scripts/bind_courier_delivery_first_mile_tracking_number.py` |
| Method / path | POST `api/v2/first_mile/bind_courier_delivery_first_mile_tracking_number` |
| 官方文档 | [bind_courier_delivery_first_mile_tracking_number](https://open.shopee.com/documents/v2/v2.first_mile.bind_courier_delivery_first_mile_tracking_number?module=96&type=1) |
| 用途 | Bind courier delivery first-mile tracking |

经 **`POST /shopee/developerProxy`** 转发;依赖 **`linkfox-shopee-store-auth`** 选店(通常传 `shopId` 或 `merchantId`)。

---

## 脚本 JSON 入参

| 字段 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID(推荐;Public 等无店铺接口可省略) |
| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |

- Method:**POST**
- POST:传 `body` / `requestBody`,或把 `body_fields` 列在 JSON 顶层
- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段,不会进 Shopee query/body
- Registry notes:Bind courier delivery first-mile tracking

---

## 调用示例

```bash
export LINKFOXAGENT_API_KEY="<your-key>"

python scripts/bind_courier_delivery_first_mile_tracking_number.py '{"shopId": "67890"}'

# 通用入口
python scripts/first_mile_api.py '{"api": "bind_courier_delivery_first_mile_tracking_number", "shopId": "67890"}'
```

---

## 响应要点

1. 先看 **`developerProxy.httpStatus`** / `errcode`
2. 再读 **`bindCourierDeliveryFirstMileTrackingNumber`**(Shopee `response` 解析结果)
3. 字段以官方文档为准

references/apis/bind-first-mile-tracking-number.md

# bind_first_mile_tracking_number

| 项 | 值 |
|----|-----|
| 脚本 | `scripts/bind_first_mile_tracking_number.py` |
| Method / path | POST `api/v2/first_mile/bind_first_mile_tracking_number` |
| 官方文档 | [bind_first_mile_tracking_number](https://open.shopee.com/documents/v2/v2.first_mile.bind_first_mile_tracking_number?module=96&type=1) |
| 用途 | Bind orders to first-mile tracking number |

经 **`POST /shopee/developerProxy`** 转发;依赖 **`linkfox-shopee-store-auth`** 选店(通常传 `shopId` 或 `merchantId`)。

---

## 脚本 JSON 入参

| 字段 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID(推荐;Public 等无店铺接口可省略) |
| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |

- Method:**POST**
- POST:传 `body` / `requestBody`,或把 `body_fields` 列在 JSON 顶层
- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段,不会进 Shopee query/body
- Registry notes:Bind orders to first-mile tracking number

---

## 调用示例

```bash
export LINKFOXAGENT_API_KEY="<your-key>"

python scripts/bind_first_mile_tracking_number.py '{"shopId": "67890"}'

# 通用入口
python scripts/first_mile_api.py '{"api": "bind_first_mile_tracking_number", "shopId": "67890"}'
```

---

## 响应要点

1. 先看 **`developerProxy.httpStatus`** / `errcode`
2. 再读 **`bindFirstMileTrackingNumber`**(Shopee `response` 解析结果)
3. 字段以官方文档为准
Github ReposUpdated 2d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-first-mile",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-first-mile",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T18:14:30.898Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-first-mile/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-first-mile/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T18:14:30.898Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1K downloads",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-first-mile",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-first-mile",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T18:14:30.898Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.6",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-first-mile",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-first-mile",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-14T05:27:12.117Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-first-mile/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-first-mile/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.6",
      "description": "Update from 1.0.5 to 1.0.6",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-first-mile",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-first-mile",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-14T05:27:12.117Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 11, 2026.

Sponsored

Ads related to Shopee-店铺头程物流 and adjacent AI workflows.