Xpersona
T

Taobao Native CLI

CLAWHUB · Unverified

Shopping assistant via Taobao Desktop client. Use when the user needs to search products, view details, add to cart, place orders, check orders, request ship... Skill: Taobao Native CLI Owner: flappymonkey Summary: Shopping assistant via Taobao Desktop client. Use when the user needs to search products, view details, add to cart, place orders, check orders, request ship... Tags: latest:1.0.41 Version history: v1.0.41 | 2026-04-10T03:46:42.884Z | user Version 1.0.41 - Added metadata field specifying required binaries and config paths for agent integration. - Clarified support

62
Rank
84
Safety
1.7k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 10/10/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 s17axx27gx6syq5cc66h13dpfx83hgkd:taobao-native
  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-flappymonkey-taobao-native/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

75,724 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: taobao-native
version: 1.0.41
description: "Shopping assistant via Taobao Desktop client. Use when the user needs to search products, view details, add to cart, place orders, check orders, request shipping, or perform any Taobao/Tmall shopping operation."
description_zh: "通过淘宝桌面客户端完成购物相关操作。当用户需要搜索商品、查看详情、加入购物车、下单购买、查看订单、催发货、开发票等淘宝/天猫购物操作时使用。"
metadata:
  openclaw:
    requires:
      anyBins:
        - taobao-native
      config:
        - "%APPDATA%/taobao/install-location.txt"
        - "~/Library/Application Support/taobao/cli/taobao-runner"
    os:
      - windows
      - macos
---

# 淘宝桌面客户端购物助手

## 适用场景

当用户的任务涉及以下购物相关操作时,**必须通过 taobao-native CLI 调用桌面客户端工具**:

- 搜索商品、比价
- 查看商品详情(价格、店铺、图片)
- 加入购物车
- 查看/管理订单(催发货、开发票等)
- 查看浏览历史、收藏
- 通过旺旺与商家聊天
- 任何涉及淘宝、天猫的页面操作

---

## ⚠️ 核心规则(必须遵守)

### 1. 价格场景必须获取真实SKU价格

**凡涉及商品价格的场景(比价、找最便宜、价格排序等),都必须进入商品详情页获取真实SKU价格!**

**原因**:搜索结果价格 / 页面默认价格 ≠ 真实SKU价格
- 搜索结果价格往往是**最低规格/配件的起步价**
- 页面显示的"¥xxx起"是**默认起步价**,非目标规格真实价格
- **实测案例**:爱奇艺黄金会员年卡,搜索显示¥88,点击年卡SKU后真实价格¥135

### 2. 价格获取的等待时间

**点击SKU后必须 `sleep 3` 秒!**

价格元素是异步刷新的,点击SKU后需等待价格异步刷新完成,**不可省略等待时间**。

### 3. SKU点击必须用 index 精确点击

**禁止用 `click_element --args '{"text":"xxx"}'` 点击SKU!**

原因:SKU文本可能有重复(如"年卡"和"年卡推荐"),text匹配会点击第一个。

正确做法:`scan_page_elements` 获取完整DOM → 找精确 index → `click_element --args '{"index":N}'`

---

## `taobao-native` 命令不可识别时的处理规则

当 `taobao-native` 命令无法识别或调用失败(如 `command not found`)时,按操作系统分别处理:

### Windows
1. 查看 %APPDATA%\taobao\install-location.txt 中的程序安装目录 {location} ,使用cmd: `{locatoin}\bin\taobao-native.cmd` 或者 bash:`{locatoin}\bin\taobao-native` (这是 taobao-native 这个path实际指向的路径)进行命令调用;
2. 若仍然失败,尝试:每次执行 taobao-native 指令前,都先刷新当前会话的 `Path` 环境变量,具体刷新方法需根据实际情况决定,示例:
   ```powershell
   $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
   ```
3. 如果仍然失败,则提示用户:`需要重启当前Agent,以识别新添加的指令`
4. 提示后立即停止任务,不再继续尝试其他操作

### macOS
1. 调用 `open -a /Applications/淘宝桌面版.app` 尝试打开,若失败,提示可以帮用户下载安装,若成功,执行2~6
2. 重新尝试执行 taobao-native。
3. 若仍然失败,使用 `~/Library/Application\ Support/taobao/cli/taobao-runner` 进行命令调用(这是软链所指向的完整路径)
4. 若仍然失败,将安装器写入的 bin 目录追加到当前会话 PATH:
   ```bash
   export PATH="$HOME/Library/Application Support/taobao/cli/bin:$PATH"
   ```
   然后重试 taobao-native
5. 如果仍然失败,则提示用户:`需要重启当前Agent,以识别新添加的指令`
6. 提示后立即停止任务,不再继续尝试其他操作

## 调用协议(强制执行)

使用本机已安装的 **taobao-native** 命令(淘宝桌面版 CLI),格式:

```bash
taobao-native <工具名> --args '<JSON 参数>'
```

### Shell 环境要求

#### 调用方式(按优先级)

**方式 1:Bash—— 最可靠**

Bash 中单引号原样传递
```bash
taobao-native add_to_cart --args '{"sku":["50g 【抗皱饱满】"],"sourceApp":"Qoderwork"}'
```

**方式 2:`--request <文件>` —— 任何 Shell 通用,推荐非 Bash 环境使用**

参数在文件中以 UTF-8 读取,完全绕过 Shell 和 `.cmd` 的参数处理:
```
# request.json 内容:{"tool":"add_to_cart","arguments":{"sku":["50g 【抗皱饱满】"],"sourceApp":"Qoderwork"}}
taobao-native --request request.json -o result.json
```

**方式 3:CMD / PowerShell 直接传参**

```powershell
# PowerShell
powershell -Command 'taobao-native add_to_cart --arg

_meta.json

{
  "ownerId": "kn719ykpw19sztmgxy77bn9d5h83erhf",
  "slug": "taobao-native",
  "version": "1.0.41",
  "publishedAt": 1775792802884
}

references/install-download.md

# 淘宝桌面版:安装包下载与安装(Reference)

> **何时阅读本文**:仅在 **用户明确表示要安装/重装** 时按此执行。默认购物任务**不要**主动帮用户下载安装。

## 原则

**不要主动给用户下载安装**(除非用户提出或已陷入无法继续的装机场景)。

## 基础地址 {base}

```
https://tblifecdn.taobao.com/taobaopc/ai/latest
```

## 目录组织

```
{base}/taobao-setup-{platform}-{arch}.{ext}
```

| 片段 | 取值 | 说明 |
|------|------|------|
| `platform` | `win7` \| `win10` \| `darwin` | Windows 按最低兼容分支区分;macOS 固定 `darwin` |
| `arch` | `x64` \| `arm64` | Windows 为 `x64`;Apple Silicon 为 `arm64`,Intel Mac 为 `x64` |
| `ext` | `.exe` \| `.dmg`  | Windows 用 `.exe`;macOS 用 `.dmg`|

## 下载安装逻辑

1. 根据当前平台、架构下载安装包;
2. 安装:
   - Windows 可以通过 `powershell -Command "Start-Process -FilePath '{download path}' -ArgumentList '/S'"` 等命令运行安装向导;注意不要使用 `-Wait`,安装完成后程序会自动启动,需要轮询查看是否启动,进程名是「淘宝桌面版」;
   - macOS 挂载 `.dmg` 拖拽或使用提供的安装流程。
3. 启动:若没自动启动,
   - Windows 执行 `taobao-native launch`;
   - macOS 执行 `open -a /Applications/淘宝桌面版.app`;

skill-card.md

## Description:

Shopping assistant via Taobao Desktop client for searching products, viewing details, adding items to cart, placing orders, checking orders, requesting shipping, and performing Taobao or Tmall shopping operations.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

External users and shopping agents use this skill to operate a local Taobao Desktop client for Taobao and Tmall shopping workflows, including product search, SKU inspection, cart and order management, seller chat, and product reviews.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can give an agent control over a logged-in Taobao desktop session and account-affecting shopping actions.

Mitigation: Require explicit user confirmation before deleting cart items, submitting reviews, sending seller messages, placing orders, or taking any purchase-related step.

Risk: The skill includes an installation path for a desktop client whose installer source and publisher must be trusted outside the skill.

Mitigation: Verify the installer source and publisher before installation, and install only after the user has approved that setup.

Risk: Incorrect SKU or price handling can lead to misleading shopping recommendations or unintended cart contents.

Mitigation: Follow the documented SKU workflow: retrieve available SKUs, use exact element indexes for SKU selection, wait for price refresh, and confirm purchase-related actions with the user.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/flappymonkey/skills/taobao-native)
- [Install download reference](artifact/references/install-download.md)
- [Taobao Desktop installer CDN](https://tblifecdn.taobao.com/taobaopc/ai/latest)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with inline shell commands and JSON CLI arguments]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May direct the agent to write CLI results to workspace JSON files when command output is large.]

## Skill Version(s):

1.0.41 (source: frontmatter and 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 Taobao Native CLI and adjacent AI workflows.