linkfox-ai/linkfox-skills

linkfox-temu-promotion-eu

Temu 欧洲站电商促销 API,经 LinkFox 网?

First seen May 28, 2026

Installation

$ npx skills add linkfox-ai/linkfox-skills --skill linkfox-temu-promotion-eu

Summary

Temu 欧洲站电商促销 API,经 LinkFox 网关转发 Partner EU Promotion / 促销活动 相关 bg/temu 接口(活动创建、报名、查询、优惠券/秒杀等,接口将按 Partner 文档逐条接入)。当用户提到 Temu EU 促销、促销活动、优惠券、秒杀、活动报名、promotion…

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from linkfox-ai/linkfox-skills · top by installs.

npx skills add linkfox-ai/linkfox-skills

Browse all from linkfox-ai/linkfox-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 98
License LICENSE
Default branch main
Open issues 1
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 6,146 B
  • docs SUMMARY.md 510 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 286 installs

SKILL.md

Temu 欧洲站 — 电商促销(Promotion)

本 skill(linkfox-temu-promotion-eu)覆盖 Partner Platform for EU Promotion / 电商促销(促销活动、优惠券、活动报名等;Partner 后台菜单可能显示为 Marketing/Promotion)相关 bg. / temu. 接口(menucode 与各 submenu_code 以 Partner 后台为准,见 [partner-eu-catalog.md](./references/partner-eu-catalog.md))。

已接入 6 条 Partner Promotion 接口,清单见 [partner-eu-catalog.md](./references/partner-eu-catalog.md)。

网关(本 skill 内置)

能力 方法 路径
促销 OpenAPI(eupromotion*temueuproxy POST https://tool-gateway.linkfox.com/temu/proxy
加签文件下载 POST https://tool-gateway.linkfox.com/temu/fileDownload

相关 skill

场景 skill
促销/营销活动(本 skill) linkfox-temu-promotion-eu
广告 Ads linkfox-temu-ads-eu
商品列表/详情/编辑/库存/上下架 linkfox-temu-manage-product-eu
发品 linkfox-temu-add-product-eu
价格/供货价、定价单 linkfox-temu-price-eu
订单列表/详情 linkfox-temu-order-eu
退货与退款 linkfox-temu-returns-refunds-eu
网关与 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(同样落盘)

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

解决认证和积分问题

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

异常情况

  • 未配置API Key:环境变量未配置 LINKFOXAGENTAPIKEY,也未配置 LINKFOXAGENTAPI_KEY
  • 响应401或402状态码
  • 响应提示积分或余额不足:消息含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。

默认参数

字段 默认 说明
site eu Partner EU
managementType semi-managed 半托管(具体接口以 Partner 文档为准)
tokenPurpose product-inventory 与商品/促销场景一致(见 [access-token.md](./references/access-token.md))

鉴权

  1. LinkFoxLINKFOXAGENTAPIKEY → Header Authorization + Token
  2. TemuaccessTokenstoreKeystoreKey 时建议带 tokenPurpose=product-inventory

Scripts

脚本 说明
temueuproxy.py 任意 type
temueufile_download.py 加签下载
eupromotionactivity_query.py bg.promotion.activity.query
eupromotionactivitycandidategoods_query.py bg.promotion.activity.candidate.goods.query
eupromotionactivitygoodsquery.py bg.promotion.activity.goods.query
eupromotionactivitygoodsenroll.py bg.promotion.activity.goods.enroll
eupromotionactivitygoodsoperation_query.py bg.promotion.activity.goods.operation.query
eupromotionactivitygoodsupdate.py bg.promotion.activity.goods.update

接入新接口(约定)

你每提供一条 Partner 文档(type + submenucode + URL + Request/Response 参数表),将:

  1. 新增 references/apis/<type-slug>.md(完整入参/出参层级)
  2. 新增 scripts/eupromotion<slug>.py(调用 eupromotionscript.runcli
  3. 更新 [partner-eu-catalog.md](./references/partner-eu-catalog.md)、[apis/README.md](./references/apis/README.md) 与本表

示例(通用代理)

export LINKFOXAGENT_API_KEY="<key>"

python scripts/temu_eu_proxy.py '{
  "accessToken": "TOKEN",
  "tokenPurpose": "product-inventory",
  "type": "<TEMU_API_TYPE>",
  "params": {
    "request": {}
  }
}'

Feedback: skillNamelinkfox-temu-promotion-eu

网关与授权脚本

脚本 说明
checklinkfoxtoken.py 校验 LinkFox 用户 Token
temutokenguide.py Temu accessToken 后台授权步骤
savetemuaccess_token.py 保存 accessToken 到本地
listtemuaccess_tokens.py 列出已保存 token
gettemuaccess_token.py 读取已保存 token
temu_proxy.py 通用网关转发(多 site)
temufiledownload.py 加签文件下载(多 site)

授权说明:[references/access-token.md](./references/access-token.md)

积分消耗规则

不消耗积分。