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
- 01Match name or ID substrings
- 02Paginated results
- 03Reusable category identifiers
- 04No compute consumption
Use cases
- 01Find a category for a Temu product
- 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-searchAfter installing, type/linkfox-temu-category-searchin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/api.mdonboarding.mdscripts/onboarding.pytemu_category_search.pyDetails
From the project READMETemu 类目检索
要点
- 必填:
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