Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
linkfox-ai avatar

Linkfox Temu Promotion Us

  • 168 installs
  • 64 repo stars
  • Updated August 3, 2026
  • linkfox-ai/linkfox-skills

Helps with ai & agent building tasks.

About

linkfox-temu-promotion-us is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • linkfox-temu-promotion-us
  • AI & Agent Building
  • AI-coding skill

Linkfox Temu Promotion Us by the numbers

  • 168 all-time installs (skills.sh)
  • +35 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #3,153 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/linkfox-ai/linkfox-skills --skill linkfox-temu-promotion-us

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs168
repo stars64
Last updatedAugust 3, 2026
Repositorylinkfox-ai/linkfox-skills

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Temu 美国站 — 电商促销(Promotion)

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

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

网关(本 skill 内置)

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

相关 skill

场景skill
促销/营销活动(本 skill)`linkfox-temu-promotion-us`
广告 Adslinkfox-temu-ads-us
商品列表/详情/编辑/库存/上下架linkfox-temu-manage-product-us
发品linkfox-temu-add-product-us
价格/供货价、定价单linkfox-temu-price-us
订单列表/详情linkfox-temu-order-us
退货与退款linkfox-temu-returns-refunds-us
网关与 Temu token本 skill scripts/

API Usage

文档内容
api.md网关、鉴权、错误码、接入约定
partner-us-catalog.md接口目录 + Partner URL + 脚本(随接入更新)
apis/README.md按接口分文件apis/<type-slug>.md

默认参数

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

鉴权

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

Scripts

脚本说明
temu_us_proxy.py任意 type
temu_us_file_download.py加签下载
us_promotion_activity_query.pybg.promotion.activity.query
us_promotion_activity_candidate_goods_query.pybg.promotion.activity.candidate.goods.query
us_promotion_activity_goods_query.pybg.promotion.activity.goods.query
us_promotion_activity_goods_enroll.pybg.promotion.activity.goods.enroll
us_promotion_activity_goods_operation_query.pybg.promotion.activity.goods.operation.query
us_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/us_promotion_<slug>.py(调用 _us_promotion_script.run_cli) 3. 更新 partner-us-catalog.mdapis/README.md 与本表

示例(通用代理)

export LINKFOXAGENT_API_KEY="<key>"

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

Feedback: skillNamelinkfox-temu-promotion-us

网关与授权脚本

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

<!-- LF_LARGE_RESPONSE_BLOCK -->

Handling Large Responses

To avoid overflowing the agent context, persist the response to disk and extract only the fields you need:

python scripts/response_io.py run --script scripts/check_linkfox_token.py --out-dir <DIR> '<params>'
python scripts/response_io.py read <file> --fields "<paths>"   # or --path "<JMESPath>"
Pick --out-dir outside any git working tree (e.g. /tmp/... on Unix, %TEMP%/... on Windows). Persisted responses may contain PII, pricing, or auth-sensitive data — do not commit them. Files are not auto-deleted; clean up when the task is done.
This skill exposes multiple entry scripts: check_linkfox_token.py, get_temu_access_token.py, list_temu_access_tokens.py, save_temu_access_token.py, temu_file_download.py, temu_proxy.py, temu_token_guide.py, temu_us_file_download.py, temu_us_proxy.py, us_promotion_activity_candidate_goods_query.py, us_promotion_activity_goods_enroll.py, us_promotion_activity_goods_operation_query.py, us_promotion_activity_goods_query.py, us_promotion_activity_goods_update.py, us_promotion_activity_query.py. Pass --script scripts/<name>.py to choose the one you need.

run writes the full response to a file and emits only a schema preview + file path. read projects specific fields, with --limit/--offset for slicing and --format json|jsonl|csv|table for output.

When to prefer this pattern — apply your judgment based on the response characteristics, e.g.:

  • High field count per record, or fields you don't need
  • Batch/paginated results (multiple items per call)
  • Long-text fields (descriptions, reviews, HTML, time series)
  • Output reused across later steps rather than consumed immediately

For small, single-use responses, calling the main script directly is fine.

⚠️ The preview is a truncated schema + sample, not the full data. Any field-level decision must read from the persisted file via read. <!-- /LF_LARGE_RESPONSE_BLOCK -->

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.