mcpField
L
linkfox-temu-category-search

linkfox-temu-category-search

github.com/linkfox-aiOther113226 installsUpdated 2w ago
Repository

About linkfox-temu-category-search

A skill for finding Temu categories by keyword, matching Chinese or English names and category IDs, with pagination. Returned identifiers can be reused in Temu product or shop queries.

Key features

  1. 01Match name or ID substrings
  2. 02Paginated results
  3. 03Reusable category identifiers
  4. 04No compute consumption

Use cases

  1. 01Find a category for a Temu product
  2. 02Get a category ID for product or shop queries

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/linkfox-ai/linkfox-skills --skill linkfox-temu-category-search

After installing, type/linkfox-temu-category-searchin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
api.md
onboarding.md
scripts/
onboarding.py
temu_category_search.py

Details

From the project README

Temu 类目检索

要点

  • 必填:keyword(子串匹配类目中文名、英文名、类目 id)。
  • 分页:page 从 1 起;pageSize 默认 50、最大 200。
  • 返回的 id / categoryId 可作为 Temu 商品查询的 categoryHome/categoryBackend、店铺查询的 category 等入参的类目标识(与具体工具 schema 一致即可)。

脚本(可选)

命令行调试:python scripts/temu_category_search.py '<JSON>'(需 LINKFOXAGENT_API_KEY)。详见 references/api.md 末尾。

参考

入参/出参表见 references/api.md。

解决认证和算力问题

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

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

算力消耗规则

不消耗算力。

Comments

Markdown supported