Agent skill

Linkfox Temu Promotion Global

by linkfox-ai in linkfox-ai/linkfox-skills

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

MITAuto-check passed

Install Linkfox Temu Promotion Global

skills CLI
$ npx skills add linkfox-ai/linkfox-skills --skill linkfox-temu-promotion-global -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install linkfox-ai/linkfox-skills linkfox-temu-promotion-global --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/linkfox-ai/linkfox-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/linkfox-temu-promotion-global .claude/skills/linkfox-temu-promotion-global && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
linkfox-temu-promotion-global
GitHub stars
107
Token cost
~1.1k tokens
SKILL.md length
231 words
Files
34 (incl. scripts, references)
Skills in repo
177
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 2 steps: LinkFox:LINKFOXAGENT_API_KEY → Header… → Temu:accessToken 或 storeKey(storeKey…
  • SKILL.md covers 相关 skill, 调用方式, 解决认证和算力问题 and 默认参数, plus 6 more sections
  • Runs Python scripts from its folder; calls python; reaches tool-gateway.linkfox.com; needs LINKFOXAGENT_API_KEY and LINKFOX_AGENT_API_KEY

What it does

Linkfox Temu Promotion Global is an agent skill from linkfox-ai/linkfox-skills. Temu 全球站电商促销 API,经 LinkFox 网关转发 Partner Global Promotion / 促销活动 相关 bg/temu 接口(活动创建、报名、查询、优惠券/秒杀等,接口将按 Partner 文档逐条接入)。当用户提到 Temu Global 促销、促销活动、优惠券、秒杀、活动报名、promotion campaign、product-inventory 促销 时触发。商品管理用 linkfox-temu-manage-product-global;价格用 linkfox-temu-price-global;订单用 linkfox-temu-order-global。

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 36 other files, including scripts and reference files (for example `references/access-token.md`, `references/api.md` and `references/apis/README.md`).

The licence is MIT.

Example prompts

  • “/linkfox-temu-promotion-global”

Requirements

  • Python 3
  • A credential in LINKFOX_AGENT_API_KEY
  • A credential in LINKFOXAGENT_API_KEY

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. LinkFox:LINKFOXAGENT_API_KEY → Header Authorization + Token
  2. Temu:accessToken 或 storeKey(storeKey 时建议带 tokenPurpose=product-inventory)

What it can do on your machine

Read from SKILL.md and the folder at commit 38fef04. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • tool-gateway.linkfox.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • LINKFOXAGENT_API_KEY
    • LINKFOX_AGENT_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Linkfox Temu Promotion Global loads about 1.1k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 83 tokens; SKILL.md has 231 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~13k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from linkfox-ai/linkfox-skills at commit 38fef04, republished under its MIT licence (© linkfox-ai). 231 words, ~1,150 tokens.

Download SKILL.mdSave it as .claude/skills/linkfox-temu-promotion-global/SKILL.md (or your agent's skills folder). This skill also uses 33 other files; get the full folder from GitHub.
name
linkfox-temu-promotion-global
description
Temu 全球站电商促销 API,经 LinkFox 网关转发 Partner Global Promotion / 促销活动 相关 bg/temu 接口(活动创建、报名、查询、优惠券/秒杀等,接口将按 Partner 文档逐条接入)。当用户提到 Temu Global 促销、促销活动、优惠券、秒杀、活动报名、promotion campaign、product-inventory 促销 时触发。商品管理用 linkfox-temu-manage-product-global;价格用 linkfox-temu-price-global;订单用 linkfox-temu-order-global。

Temu 全球站 — 电商促销(Promotion)

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

已接入 6 条 Partner Promotion 接口,清单见 partner-global-catalog.md。

网关(本 skill 内置):

能力方法路径
促销 OpenAPI(global_promotion_*、temu_global_proxy)POSThttps://tool-gateway.linkfox.com/temu/proxy
加签文件下载POSThttps://tool-gateway.linkfox.com/temu/fileDownload

相关 skill

场景skill
促销/营销活动(本 skill)linkfox-temu-promotion-global
广告 Adslinkfox-temu-ads-us
商品列表/详情/编辑/库存/上下架linkfox-temu-manage-product-global
发品linkfox-temu-add-product-us
价格/供货价、定价单linkfox-temu-price-global
订单列表/详情linkfox-temu-order-global
退货与退款linkfox-temu-returns-refunds-global
网关与 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/套餐到期/需充值/请充值",或类似含义的内容。

默认参数

字段默认说明
siteglobalPartner Global
managementTypesemi-managed半托管(具体接口以 Partner 文档为准)
tokenPurposeproduct-inventory与商品/促销场景一致(见 access-token.md)

鉴权

  1. LinkFox:LINKFOXAGENT_API_KEY → Header Authorization + Token
  2. Temu:accessToken 或 storeKey(storeKey 时建议带 tokenPurpose=product-inventory)

Scripts

脚本说明
temu_global_proxy.py任意 type
temu_global_file_download.py加签下载
global_promotion_activity_query.pybg.promotion.activity.query
global_promotion_activity_candidate_goods_query.pybg.promotion.activity.candidate.goods.query
global_promotion_activity_goods_query.pybg.promotion.activity.goods.query
global_promotion_activity_goods_enroll.pybg.promotion.activity.goods.enroll
global_promotion_activity_goods_operation_query.pybg.promotion.activity.goods.operation.query
global_promotion_activity_goods_update.pybg.promotion.activity.goods.update

接入新接口(约定)

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

  1. 新增 references/apis/<type-slug>.md(完整入参/出参层级)
  2. 新增 scripts/global_promotion_<slug>.py(调用 _global_promotion_script.run_cli)
  3. 更新 partner-global-catalog.md、apis/README.md 与本表

示例(通用代理)

bash
export LINKFOXAGENT_API_KEY="<key>"

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

Feedback: skillName:linkfox-temu-promotion-global

网关与授权脚本

脚本说明
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

算力消耗规则

不消耗算力。

© linkfox-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 33 other files (scripts, references) in skills/linkfox-temu-promotion-global of linkfox-ai/linkfox-skills.

  • SKILL.md
  • references/access-token.md
  • references/api.md
  • references/apis/README.md
  • references/apis/bg-promotion-activity-candidate-goods-query.md
  • references/apis/bg-promotion-activity-goods-enroll.md
  • references/apis/bg-promotion-activity-goods-operation-query.md
  • references/apis/bg-promotion-activity-goods-query.md
  • references/apis/bg-promotion-activity-goods-update.md
  • references/apis/bg-promotion-activity-query.md
  • references/authorization-flow.md
  • references/onboarding.md
  • references/partner-global-catalog.md
  • scripts/_global_promotion_script.py
  • scripts/_temu_auth_guide.py
  • scripts/_temu_common.py
  • scripts/_temu_global_common.py
  • scripts/_temu_token_store.py
  • … and 16 more

Open the folder on GitHubat commit 38fef04

Compare with similar skills

Linkfox Temu Promotion Global next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Linkfox Temu Promotion Global compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Linkfox Temu Promotion Global this skilllinkfox-ai/linkfox-skills107—~1.1kAutomated safety check: PassMIT
Promotealirezarezvani/claude-skills28k1 repos~1.1kAutomated safety check: PassMIT
Checkpoint Promotionwshobson/agents40k—~2kAutomated safety check: PassMIT
Warp Feature Flag Promotionwarpdotdev/warp65k1 repos~1.1kAutomated safety check: PassAGPL-3.0
Promote Lint Rulesbiomejs/biome26k—~948Automated safety check: PassApache-2.0
Promote Betaudecode/plate17k—~359Automated safety check: PassCustom licence

Similar skills

  • Promote

    alirezarezvani/claude-skills

    Graduate a proven pattern from auto-memory (MEMORY.md) to CLAUDE.md or .claude/rules/ for permanent enforcement.

    28k GitHub starsUsed in 1 repo~1.1k tokens
    Agent WorkflowsAuto-check passed
  • Checkpoint Promotion

    wshobson/agents

    Gate fine-tuned checkpoints with drift budgets, paired comparison, and forgetting checks before promotion.

    40k GitHub stars~2k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Walks through promoting a feature-flagged Warp feature to Dogfood, Preview or Stable, including the compile-time bridge and a safe delay before flag cleanup.

    65k GitHub starsUsed in 1 repo~1.1k tokens
    DevelopmentAuto-check passed
  • Promote Lint Rules

    biomejs/biome

    Official

    A skill your agent uses when promoting one or more Biome lint rules from nursery to stable groups, including promotion plans from GitHub issues, metadata changes, rule renames, generated…

    26k GitHub stars~948 tokensUpdated today
    DevelopmentAuto-check passed
  • Promote Beta

    udecode/plate

    Compatibility entrypoint for beta promotion. An agent skill from udecode/plate.

    17k GitHub stars~359 tokensUpdated yesterday
    Auto-check passed
  • Promotion Upgrade Requests

    sickn33/agentic-awesome-skills

    Promotion register: current and requested role and grade, justification, OKR and behaviour scores, time in role, salary proposal and decision.

    47k GitHub starsUsed in 1 repo~4.4k tokens
    Business, Finance & HRAuto-check passed

More from linkfox-ai/linkfox-skills

All 177 skills in this repo
  • Linkfox 1688 Search By Image

    linkfox-ai/linkfox-skills

    1688平台以图搜图,通过商品图片精准检索外观相似或同款的1688货源,返回标题、价格、起批量、月销量、复购率、交易评分等核心数据。当用户提到1688以图搜图、1688找货源、以图找同款、跨境找工厂、1688识图、图片找货源、找相似货源、image search 1688、find supplier by…

    107 GitHub starsUsed in 1 repo~2.4k tokens
    Auto-check passed
  • Linkfox Aba Intelligent Query

    linkfox-ai/linkfox-skills

    亚马逊ABA(品牌分析)搜索词数据的查询与分析,涵盖15个站点近3年的周维度数据。当用户提到ABA数据、亚马逊搜索词分析、关键词挖掘、搜索排名趋势、市场机会分析、季节性关键词、高点击低转化分析、蓝海词发现、竞品关键词分析、ABA data, search term report, keyword mining, search ranking trends, blue ocean…

    107 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Linkfox Amazon Alexa Search

    linkfox-ai/linkfox-skills

    通过亚马逊前台的 Alexa 购物助手发起自然语言问答,获取与问题相关的导购回答、推荐商品分组、ASIN 列表,以及可继续追问的问题。每次调用仅支持 1 条 prompt,如需追问须由 agent 总结上下文后拼接新问题发起新请求。可用 url 补充亚马逊页面上下文。当用户提到亚马逊 Alexa、Alexa 购物助手、亚马逊智能助手、AI…

    107 GitHub starsUsed in 1 repo~3k tokens
    Auto-check passed
  • 亚马逊反向选品:基于历史商业洞察报告沉淀的指标数据池,按 30+ 项商业维度(市场规模与增长、价格区间与档位份额、竞争密度与头部集中度、人群画像如年龄/性别/收入、评论卖点与痛点等)反向筛选亚马逊赛道与关键词。当用户提到反向选品、指标筛选、细分市场反查、蓝海赛道挖掘、低竞争赛道、新人友好赛道、品牌分散市场、痛点切入、卖点反查、定价档位机会、人群画像选品、Amazon niche reverse…

    107 GitHub starsUsed in 1 repo~3k tokens
    Auto-check passed
  • Linkfox Amazon Product Detail

    linkfox-ai/linkfox-skills

    通过ASIN获取亚马逊商品详细信息,包括标题、图片、五点描述、规格参数、A+页面、价格、评分评论、变体等;可在取得原始HTML时尝试提取Item Highlights(商品亮点)。当用户提到亚马逊商品详情、ASIN查询、商品页面数据、Listing分析、五点描述提取、Item…

    107 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Linkfox Amazon Reviews List

    linkfox-ai/linkfox-skills

    按ASIN获取并分析亚马逊商品评论,支持15个站点(含美国站),按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review…

    107 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed

Questions about Linkfox Temu Promotion Global

What does Linkfox Temu Promotion Global do?

Temu 全球站电商促销 API,经 LinkFox 网关转发 Partner Global Promotion / 促销活动 相关 bg/temu 接口(活动创建、报名、查询、优惠券/秒杀等,接口将按 Partner 文档逐条接入)。当用户提到 Temu Global 促销、促销活动、优惠券、秒杀、活动报名、promotion campaign、product-inventory 促销…. Linkfox Temu Promotion Global is an agent skill from linkfox-ai/linkfox-skills.

How do I install Linkfox Temu Promotion Global in Claude Code?

Run `npx skills add linkfox-ai/linkfox-skills --skill linkfox-temu-promotion-global -a claude-code`. Or copy the skill folder (skills/linkfox-temu-promotion-global in linkfox-ai/linkfox-skills) into .claude/skills/linkfox-temu-promotion-global in your project. Claude Code loads it when a task matches its description.

How do I install Linkfox Temu Promotion Global in Codex?

Run `npx skills add linkfox-ai/linkfox-skills --skill linkfox-temu-promotion-global -a codex`. Or copy the skill folder (skills/linkfox-temu-promotion-global in linkfox-ai/linkfox-skills) into .agents/skills/linkfox-temu-promotion-global in your project. Codex loads it when a task matches its description.

Can I use Linkfox Temu Promotion Global in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add linkfox-ai/linkfox-skills --skill linkfox-temu-promotion-global -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/linkfox-temu-promotion-global, .gemini/skills/linkfox-temu-promotion-global, .github/skills/linkfox-temu-promotion-global and .opencode/skills/linkfox-temu-promotion-global in your project.

What does Linkfox Temu Promotion Global need to run?

Going by SKILL.md and its folder, Linkfox Temu Promotion Global needs Python for the scripts in its folder, the command-line tools its instructions call (python) and credentials named LINKFOXAGENT_API_KEY and LINKFOX_AGENT_API_KEY. Our summary lists: Python 3; A credential in LINKFOX_AGENT_API_KEY; A credential in LINKFOXAGENT_API_KEY.

Does Linkfox Temu Promotion Global access the network?

SKILL.md names 1 domain. In commands or code: tool-gateway.linkfox.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Linkfox Temu Promotion Global safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Linkfox Temu Promotion Global use?

Linkfox Temu Promotion Global is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Linkfox Temu Promotion Global use?

About 1.1k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 12k tokens, read only when the agent opens those files.

What are the alternatives to Linkfox Temu Promotion Global?

Skills that share tags, products or a category with Linkfox Temu Promotion Global: Promote (alirezarezvani/claude-skills, 28k stars), Checkpoint Promotion (wshobson/agents, 40k stars), Warp Feature Flag Promotion (warpdotdev/warp, 65k stars) and Promote Lint Rules (biomejs/biome, 26k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Linkfox Temu Promotion Global?

linkfox-ai (a GitHub user) maintains it in linkfox-ai/linkfox-skills, which has 107 GitHub stars. The repository holds 177 skills in this directory. The repository was last updated on September 14, 2026.

Source: linkfox-ai/linkfox-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.