agentCLAWHUBUnverified

Shopee-店铺AMS

Shopee(虾皮)联盟营销 AMS Affiliate Marketing Solutions(与 linkfox-shopee-store-auth 同系列),经 /shopee/developerProxy 转发 Shopee Open API AMS 模块全部 36 个接口:get_open_campaign_added_product、batch_add_products_to_open_campaign、create_new_targeted_campaign、get_affiliate_performance、get_shop_performance 等。当用户提到 Shopee 联盟营销、AMS、达人带货、affiliate、Open Campaign、Targeted Campaign、佣金率、达人推广、get_open_campaign_added_product 时触发。即使未明确提及"联盟",只要涉及已授权 Shopee 店铺的联盟推广或达人 campaign 管理,也应触发。

OpenClaw

Rank

62

Safety

84

Downloads

987

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. 987 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
987 downloadsadoption · observed Oct 11, 2026
Latest release
1.0.6release · observed Sep 14, 2026
Handshake status
UNKNOWNsecurity

What changed

Newest first. Only changes that point at a source are listed.

Install and run

Setup complexity: low.

clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-shopee-store-ams
  1. Install using `clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-shopee-store-ams` 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-ams before using production credentials.

Contract: missing

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

160,000 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: linkfox-shopee-store-ams
description: Shopee(虾皮)联盟营销 AMS Affiliate Marketing Solutions(与 linkfox-shopee-store-auth 同系列),经 /shopee/developerProxy 转发 Shopee Open API AMS 模块全部 36 个接口:get_open_campaign_added_product、batch_add_products_to_open_campaign、create_new_targeted_campaign、get_affiliate_performance、get_shop_performance 等。当用户提到 Shopee 联盟营销、AMS、达人带货、affiliate、Open Campaign、Targeted Campaign、佣金率、达人推广、get_open_campaign_added_product 时触发。即使未明确提及"联盟",只要涉及已授权 Shopee 店铺的联盟推广或达人 campaign 管理,也应触发。
---

# Shopee 联盟营销 AMS

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

## 调用方式

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

**输出策略(脚本默认行为)**:
- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-shopee-store-ams-<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/套餐到期/需充值/请充值",或类似含义的内容。

## 官方参考

AMS 模块索引:[v2.ams.get_open_campaign_added_product](https://open.shopee.com/documents/v2/v2.ams.get_open_campaign_added_product?module=127&type=1)

---

## Prerequisites(必须先读)

1. 运行 `python scripts/check_auth_dependency.py`;exit code **42** → 先安装 **`linkfox-shopee-store-auth`** 并授权店铺。
2. **不要**在本 skill 内实现授权/令牌逻辑。
3. **AMS vs Ads**:本 skill 为联盟营销/达人带货;站内 CPC 广告见 `linkfox-shopee-store-ads`(module=117)。

---

## Core Concepts

- **转发链路**:`developerProxy`(`shopId`/`merchantId` 选店,服务端注入 token)→ 紫鸟 `shopee-proxy` → Shopee API
- **Open Campaign**:开放推广,所有达人可推广 → `get_open_campaign_added_product`、`batch_add_products_to_open_campaign`
- **Targeted Campaign**:定向推广,指定达人 → `create_new_targeted_campaign`、`edit_affiliate_list_of_targeted_campaign`
- **效果**:`get_shop_performance`、`get_product_performance`、`get_affiliate_performance`
- **佣金**:`get_shop_suggested_rate`、`batch_get_products_suggested_rate`

## 可用脚本(AMS 模块 36 个 API)

| 分组 | 脚本 |
|------|------|
| Open Campaign | `get_open_campaign_added_product.py`、`batch_add_products_to_open_campaign.py`、`get_open_campaign_performance.py` 等 |
| Targeted Campaign | `create_new_targeted_campaign.py`、`get_targeted_campaign_list.py`、`terminate_targeted_campaign.py` 等 |
| 达人/Affiliate | `get_recommended_affiliate

_meta.json

{
  "ownerId": "kn7dmc1t4j28hem1twwyav85p182pb1j",
  "slug": "linkfox-shopee-store-ams",
  "version": "1.0.6",
  "publishedAt": 1789363581464
}

references/api.md

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

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

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

## 通用约定

- **Base URL**:`https://tool-gateway.linkfox.com`
- **Method**:POST(网关),上游 Method 见各接口
- **Auth**:Header `Authorization: <api_key>`(`LINKFOXAGENT_API_KEY`)
- **流程**:`POST /shopee/storeTokens` → `POST /shopee/developerProxy`
- **path**:须 `api/v2/ams/...`
- **标识**:店铺级 API,通常传 **`shopId`**
- **与 Ads 区别**:AMS 为联盟营销/达人带货;Ads(module=117)为站内 CPC 广告
- **官方文档 URL 规则**:`https://open.shopee.com/documents/v2/v2.ams.{api}?module=127&type=1`

---

## AMS 模块总览

| # | API | Method | path | 脚本 | 官方文档 |
|---|-----|--------|------|------|----------|
| 1 | add_all_products_to_open_campaign | POST | `api/v2/ams/add_all_products_to_open_campaign` | `add_all_products_to_open_campaign.py` | [apis/add-all-products-to-open-campaign.md](./apis/add-all-products-to-open-campaign.md) |
| 2 | batch_add_products_to_open_campaign | POST | `api/v2/ams/batch_add_products_to_open_campaign` | `batch_add_products_to_open_campaign.py` | [apis/batch-add-products-to-open-campaign.md](./apis/batch-add-products-to-open-campaign.md) |
| 3 | batch_edit_products_open_campaign_setting | POST | `api/v2/ams/batch_edit_products_open_campaign_setting` | `batch_edit_products_open_campaign_setting.py` | [apis/batch-edit-products-open-campaign-setting.md](./apis/batch-edit-products-open-campaign-setting.md) |
| 4 | batch_get_products_suggested_rate | POST | `api/v2/ams/batch_get_products_suggested_rate` | `batch_get_products_suggested_rate.py` | [apis/batch-get-products-suggested-rate.md](./apis/batch-get-products-suggested-rate.md) |
| 5 | batch_remove_products_open_campaign_setting | POST | `api/v2/ams/batch_remove_products_open_campaign_setting` | `batch_remove_products_open_campaign_setting.py` | [apis/batch-remove-products-open-campaign-setting.md](./apis/batch-remove-products-open-campaign-setting.md) |
| 6 | create_new_targeted_campaign | POST | `api/v2/ams/create_new_targeted_campaign` | `create_new_targeted_campaign.py` | [apis/create-new-targeted-campaign.md](./apis/create-new-targeted-campaign.md) |
| 7 | edit_affiliate_list_of_targeted_campaign | POST | `api/v2/ams/edit_affiliate_list_of_targeted_campaign` | `edit_affiliate_list_of_targeted_campaign.py` | [apis/edit-affiliate-list-of-targeted-campaign.md](./apis/edit-affiliate-list-of-targeted-campaign.md) |
| 8 | edit_all_products_open_campaign_setting | POST | `api/v2/ams/edit_all_products_open_campaign_setting` | `edit_all_products_open_campaign_setting.py` | [apis/edit-all-products-open-campaign-setting.md](./apis/edit-all-products-open-campaign-setting.md) |
| 9 | edit_product_list_of_targeted_campaign | POST | `api/v2/ams/e

references/apis/add-all-products-to-open-campaign.md

# add_all_products_to_open_campaign

| 项 | 值 |
|----|-----|
| 脚本 | `scripts/add_all_products_to_open_campaign.py` |
| Method / path | POST `api/v2/ams/add_all_products_to_open_campaign` |
| 官方文档 | [add_all_products_to_open_campaign](https://open.shopee.com/documents/v2/v2.ams.add_all_products_to_open_campaign?module=127&type=1) |
| 用途 | Add all eligible products to Open Campaign |

经 **`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:Add all eligible products to Open Campaign

---

## 调用示例

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

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

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

---

## 响应要点

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

references/apis/batch-add-products-to-open-campaign.md

# batch_add_products_to_open_campaign

| 项 | 值 |
|----|-----|
| 脚本 | `scripts/batch_add_products_to_open_campaign.py` |
| Method / path | POST `api/v2/ams/batch_add_products_to_open_campaign` |
| 官方文档 | [batch_add_products_to_open_campaign](https://open.shopee.com/documents/v2/v2.ams.batch_add_products_to_open_campaign?module=127&type=1) |
| 用途 | Batch add products to Open Campaign |

经 **`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:Batch add products to Open Campaign

---

## 调用示例

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

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

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

---

## 响应要点

1. 先看 **`developerProxy.httpStatus`** / `errcode`
2. 再读 **`batchAddProductsToOpenCampaign`**(Shopee `response` 解析结果)
3. 字段以官方文档为准
Github ReposUpdated 3d 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-ams",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-ams",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T22:03:34.004Z",
      "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-ams/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-ams/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T22:03:34.004Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "987 downloads",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-ams",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-ams",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T22:03:34.004Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.6",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-ams",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-ams",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-14T05:26:21.464Z",
      "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-ams/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-ams/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-ams",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-ams",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-14T05:26:21.464Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 12, 2026.

For crawlers

This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.

  • One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements.
  • Every agent, one feed: /.well-known/ai-catalog.json
  • What this site sells, and the price: /.well-known/x402
  • Paid run-check: /api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-ams/run-check

Sponsored

Ads related to Shopee-店铺AMS and adjacent AI workflows.