linkfox-temu-price-global
Temu 全球站(非 US/EU)价格/供货价 API,经 LinkFox 网关转发 5 个接口(定价单、推荐价、SKU 供货价列表、批量改价等),默认 site=global。当用户提到 Temu Global 价格、全球站定价单、priceorder query、sku list price、查 SKU 供货价、改供货价、recommendedprice、baseprice recommend 时触发。美国站用 linkfox-temu-price-us;欧洲站用 linkfox-temu-price-eu;商品管理用 linkfox-temu-manage-product-global。
How do I install this agent skill?
npx skills add https://github.com/linkfox-ai/linkfox-skills --skill linkfox-temu-price-globalIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
The skill facilitates Temu Global pricing management via the LinkFox gateway. It manages sensitive authentication credentials, including storage in a hidden local directory and instructions for persisting these tokens in shell configuration files. The skill also writes external API responses directly to the local workspace, which establishes a surface for indirect prompt injection if the upstream data source is untrusted.
- Socketwarn
1 alert: gptSecurity
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Temu 全球站价格 API(linkfox-temu-price-global)
本 skill(linkfox-temu-price-global)覆盖 全球区(site=global,非美国/欧洲) 的 Product 菜单下与价格/供货价相关的 bg.local.* / temu.local.* 接口(menu_code=fb16b05f7a904765aac4af3a24b87d4a,具体 sub_menu_code 以 Partner 文档为准)。
当前已接入 5 个接口;其余价格接口将按 Partner 文档逐条补充到
references/apis/与global_price_*.py。
网关(本 skill 内置):
| 能力 | 方法 | 路径 |
|---|---|---|
价格 OpenAPI(global_price_*、temu_global_proxy) | POST | https://tool-gateway.linkfox.com/temu/proxy |
| 加签文件下载 | POST | https://tool-gateway.linkfox.com/temu/fileDownload |
相关 skill
| 场景 | skill |
|---|---|
| 商品列表/详情/编辑/库存/上下架 | linkfox-temu-manage-product-global |
| 美国站价格 | linkfox-temu-price-us |
| 欧洲站价格 | linkfox-temu-price-eu |
| 订单查询、发货、物流 | linkfox-temu-order-global |
| 取消订单(买家+卖家) | linkfox-temu-cancel-order-us |
| 履约/发货(含自发货) | linkfox-temu-fulfillment-us |
| 发品、类目、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/套餐到期/需充值/请充值",或类似含义的内容。
默认参数
| 字段 | 默认 | 说明 |
|---|---|---|
| site | global | Partner Global(非 US/EU) |
| managementType | semi-managed | 半托管 |
| tokenPurpose | product-inventory | 酷鸟卖家助手 token |
鉴权
- LinkFox:
LINKFOXAGENT_API_KEY→ HeaderAuthorization+Token - Temu:
accessToken或storeKey
Scripts(按 type)
| 脚本 | type | 状态 |
|---|---|---|
global_price_baseprice_recommend.py | temu.local.goods.baseprice.recommend | 已接入 |
global_price_recommendedprice_query.py | temu.local.goods.recommendedprice.query | 已接入 |
global_price_priceorder_query.py | bg.local.goods.priceorder.query | 已接入 |
global_price_priceorder_change_sku_price.py | bg.local.goods.priceorder.change.sku.price | 已接入 |
global_price_sku_list_price_query.py | bg.local.goods.sku.list.price.query | 已接入 |
temu_global_proxy.py | 任意 type | 通用 |
temu_global_file_download.py | 加签文件下载 | 通用 |
新增接口后在此表与 partner-global-catalog.md 同步登记。
示例
export LINKFOXAGENT_API_KEY="<key>"
# 推荐基础价/供货价估算(须 catId + supplierPriceEstimateSkuQryList)
python scripts/global_price_baseprice_recommend.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"supplierPriceEstimateQry": {
"goodsBasicInfo": { "catId": 12345 },
"supplierPriceEstimateSkuQryList": [
{
"specIdList": [9001],
"externPlatformPriceInfo": { "amount": "19.99", "currency": "USD" }
}
]
}
}
}'
# 推荐供货价查询(须 recommendedPriceType + goodsIdList,1~100 个 goodsId)
python scripts/global_price_recommendedprice_query.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"recommendedPriceType": 10,
"goodsIdList": [123456789]
}
}'
# 定价单列表查询(白名单;分页 page/size,可选筛选)
python scripts/global_price_priceorder_query.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"page": 1,
"size": 20,
"priceOrderType": 1,
"orderBy": "order_create_time",
"orderByType": 0
}
}'
# 批量修改 SKU 基础价(白名单;须 goodsId + changeSkuPriceDTOList)
python scripts/global_price_priceorder_change_sku_price.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"goodsId": 123456,
"changeSkuPriceDTOList": [
{
"skuChangePriceBaseDTOList": [
{
"skuId": 58224724203874,
"newSupplierPrice": { "amount": "15.99", "currency": "USD" }
}
]
}
]
}
}'
# SKU 供货价列表(goodsId + skuIdList)
python scripts/global_price_sku_list_price_query.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"querySupplierPriceBaseList": [
{ "goodsId": 123456789, "skuIdList": [58224724203874] }
]
}
}'
Feedback: skillName:linkfox-temu-price-global
网关与授权脚本
| 脚本 | 说明 |
|---|---|
check_linkfox_token.py | 校验 LinkFox 用户 Token |
temu_token_guide.py | Temu 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
算力消耗规则
不消耗算力。
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/linkfox-ai/linkfox-skills/linkfox-temu-price-global">View linkfox-temu-price-global on skillZs</a>