linkfox-ai/linkfox-skills

linkfox-temu-price-eu

Temu 欧洲站商品价格管理 API,经 LinkFox 网关转发 Partner EU 价格接口:定价单列表查询(bg.local.goods.priceorder.query)、批量改 SKU 基础价(bg.local.goods.priceorder.change.sku.price)、推荐供货价/基础价估算等。当用户提到 Temu EU 价格、Temu欧洲站定价单、priceorder query、priceAuditList、改供货价、批量改价、site=eu 改价、recommendedprice…

View source

How to use

  1. Copy the installation command and review the source package before installing it in your own agent environment.
  2. Check the source document for required tools, credentials and supported hosts.
  3. Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/linkfox-ai/linkfox-skills --skill linkfox-temu-price-eu

Before you start

  • Installation does not include a model subscription, API allowance or permission to access your files.
  • Repository stars and installation counts describe activity, not an independent quality or security test.
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

Temu 欧洲站价格 API(linkfox-temu-price-eu)

美国站请用 `linkfox-temu-price-us`;全球站(非 US/EU)请用 `linkfox-temu-price-global`。

本 skill(linkfox-temu-price-eu)覆盖 Partner Platform for EU Price 菜单(menu_code=dfff38c23adf498d8a7cd55052bd3648)下与价格/供货价相关的 bg.local.* / temu.local.* 接口(type 与 US 版对齐,默认 site=eu)。

当前已接入 4 个接口;其余价格接口将按 Partner 文档逐条补充到 references/apis/ 与 eu_price_*.py。

网关(本 skill 内置):

能力方法路径
价格 OpenAPI(eu_price_*、temu_eu_proxy)POSThttps://tool-gateway.linkfox.com/temu/proxy
加签文件下载POSThttps://tool-gateway.linkfox.com/temu/fileDownload

相关 skill

场景skill
商品列表/详情/编辑/库存/上下架linkfox-temu-manage-product-eu
订单查询、发货、物流linkfox-temu-order-us
取消订单(买家+卖家)linkfox-temu-cancel-order-us

| 履约/发货(含自发货) | linkfox-temu-fulfillment-eu | | 发品、类目、V2 add | linkfox-temu-add-product-us | | 半托管 temu.goods.price.list.get(productSkuIds) | linkfox-temu-add-product-us → us_goods_price_list.py | | 网关与 Temu token | 本 skill scripts/ |

调用方式

  • API 端点:POST /temu/proxy(不同操作通过请求体区分;完整参数/响应/错误码见 references/api.md)
  • Python 脚本:python scripts/<脚本名>.py '<JSON 参数>' [--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/套餐到期/需充值/请充值",或类似含义的内容。

默认参数

字段默认说明
siteeuPartner EU
managementTypesemi-managed半托管
tokenPurposeproduct-inventory酷鸟卖家助手 token

鉴权

  1. LinkFox:LINKFOXAGENT_API_KEY → Header Authorization + Token
  2. Temu:accessToken 或 storeKey

Scripts(按 type)

脚本type状态
eu_price_baseprice_recommend.pytemu.local.goods.baseprice.recommend已接入
eu_price_recommendedprice_query.pytemu.local.goods.recommendedprice.query已接入
eu_price_priceorder_query.pybg.local.goods.priceorder.query已接入
eu_price_priceorder_change_sku_price.pybg.local.goods.priceorder.change.sku.price已接入
temu_eu_proxy.py任意 type通用
temu_eu_file_download.py加签文件下载通用
新增接口后在此表与 partner-eu-catalog.md 同步登记。

示例

bash
export LINKFOXAGENT_API_KEY="<key>"

# 推荐基础价/供货价估算(须 catId + supplierPriceEstimateSkuQryList)
python scripts/eu_price_baseprice_recommend.py '{
  "accessToken": "TOKEN",
  "request": {
    "supplierPriceEstimateQry": {
      "goodsBasicInfo": { "catId": 12345 },
      "supplierPriceEstimateSkuQryList": [
        {
          "specIdList": [9001],
          "externPlatformPriceInfo": { "amount": "19.99", "currency": "EUR" }
        }
      ]
    }
  }
}'

# 推荐供货价查询(须 recommendedPriceType + goodsIdList,1~100 个 goodsId)
python scripts/eu_price_recommendedprice_query.py '{
  "accessToken": "TOKEN",
  "request": {
    "recommendedPriceType": 10,
    "goodsIdList": [123456789]
  }
}'

# 定价单列表查询(白名单;分页 page/size,可选筛选)
python scripts/eu_price_priceorder_query.py '{
  "accessToken": "TOKEN",
  "request": {
    "page": 1,
    "size": 20,
    "priceOrderType": 1,
    "orderBy": "order_create_time",
    "orderByType": 0
  }
}'

# 批量修改 SKU 基础价(白名单;须 goodsId + changeSkuPriceDTOList)
python scripts/eu_price_priceorder_change_sku_price.py '{
  "accessToken": "TOKEN",
  "request": {
    "goodsId": 123456,
    "changeSkuPriceDTOList": [
      {
        "skuChangePriceBaseDTOList": [
          {
            "skuId": 58224724203874,
            "newSupplierPrice": { "amount": "15.99", "currency": "EUR" }
          }
        ]
      }
    ]
  }
}'

Feedback: skillName:linkfox-temu-price-eu

网关与授权脚本

脚本说明
check_linkfox_token.py校验 LinkFox 用户 Token
temu_token_guide.pyTemu accessToken 后台授权步骤
save_temu_access_token.py保存 accessToken 到本地
list_temu_access_tokens.py列出已保存 token
get_temu_access_token.py读取已保存 token
temu_proxy.py通用网关转发(多 site)
temu_file_download.py加签文件下载(多 site)

授权说明:references/access-token.md

算力消耗规则

不消耗算力。

from this repository

More skills

All skills
linkfox-ai
Community

linkfox-aigc-imagegen

AI生图工具,根据提示词和参考图生成图片。支持多种模型(BANANA/BANANA2/BANANAPRO/GPT2IMAGE/AIDRAWEDIT/WAN27/SEEDREAM5),可控制分辨率、宽高比、输出数量。用户说"生成图片"、"AI画图"、"AI生图"、"帮我画"、"图片生成"、"image generation"、"generate image"、"画一张图"、"做张图"、"图生图"时触发。

installs
1
GitHub stars
105
Updated
Sep 14
linkfox-ai
Community

linkfox-aigc-imagegen-cloth

服饰图生成(模特/服装类)。支持单张或套图:白底图(隐形模特)、模特图、种草图、卖点图、A+图、尺码图。单张单类型直接出图;多张多类型自动编排规划。用户上传模特图或服饰图(上装/下装/连衣裙/外套/鞋帽等)并说"做套图""做模特图""做种草图""做卖点图""做A+图""做尺码图""做服饰白底图"时触发。纯图片编辑操作走 linkfox-aigc-imagegen。

installs
1
GitHub stars
105
Updated
Sep 14
linkfox-ai
Community

linkfox-aigc-videogen

AI生视频工具(首尾帧/单图模式),根据原图和提示词生成视频,支持可选尾帧图控制结束画面。支持模型KLING可灵/WAN万相/SEED豆包/SEEDFAST/HAILUO海螺。用户说"生成视频"、"AI视频"、"图生视频"、"做个视频"、"video generation"、"generate video"、"图片转视频"、"动态视频"时触发。

installs
1
GitHub stars
105
Updated
Sep 14
linkfox-ai
Community

linkfox-amazon-ads-auth

亚马逊广告(Amazon Ads)店铺授权与管理技能,提供完整的授权流程、已绑定账号与站点的查询、令牌刷新与读取、当前用户广告授权连接解绑等能力。发起授权链接时需要先向用户确认一个账号名称;一次授权即可自动发现并绑定同账号下所有可用站点的广告 profile(每个站点对应一个 profileId)。当用户提到亚马逊广告授权、Amazon Ads 授权、绑定广告账户、解绑广告账户、断开广告连接、取消广告授权、刷新广告令牌、查询 profile 列表、管理已授权广告账户、Amazon Advertising authorization, Ads token refresh, list profiles, ad account management时触发此技能。即使未明确提及"Amazon Ads"或"授权",只要涉及亚马逊广告账号绑定、访问令牌管理或广告 profile 列表查询,也应触发。

installs
1
GitHub stars
105
Updated
Sep 14