Agent skill · linkfox-ai

linkfox-sorftime-walmart-category-market

调用 Sorftime 研究 Walmart 美国站类目:获取完整类目树、按自然语言类目名称匹配相关 NodeId,或使用下划线分隔的 NodePath 查询类目市场数据及 Best Seller 商品。用户提到 Walmart 类目树、类目名称搜索、类目匹配、类目节点、NodeId、NodePath、类目市场分析、类目调研、类目规模、类目热销商品、Best Seller,或需要先定位类目再研究市场时使用。

What it needs

About 3k tokens when loaded.

What this skill does

Walmart 类目市场研究 Use Sorftime data to retrieve the Walmart US category hierarchy, match a natural-language category name, or inspect one category's market report and returned Best Seller products. Core Concepts Send exactly one operation per request. Do not automatically chain operations; each call consumes Sorftime Requests. tree returns the complete category hierarchy and needs no other business parameter. searchByName accepts a natural-language category name and returns up to three related category matches. marketReport requires a known nodePath. Never guess the path from a category name. All fields are flat at the top level of the JSON body. operation values are case-sensitive. Operation Routing Intent operation Other parameters Sorftime Request --- --- --- ---: Download the category tree tree None 5 Match a natural-language category name searchByName name 1 Query a category market report marketReport nodePath 5 Complete parameter and response details are in references/api.md. 调用方式 API 端点:POST /sorftime/walmart/categoryMarket(完整参数/响应/错误码见 references/api.md) Python 脚本:python scripts/sorftimewalmartcategorymarket.py '<JSON 参数>' [--inline] 成本约束:本工具会消耗算力;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。 输出策略(脚本默认行为): 始终将完整响应写入 <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-sorftime-walmart-category-market-<timestamp>.json(<cwd> 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<session> 取自环境变量 SESSIONID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错) 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 total/costToken、最大列表字段的长度 + 前 3 条样本) 加 --inline 强制全量打印到 stdout(同样落盘) 读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jq或ConvertFrom-Json 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。 解决认证和算力问题 发生以下异常情况时,采用 references/onboarding.md 引导解决问题: 未配置 API Key:环境变量未配置 LINKFOXAGENTAPIKEY,也未配置 LINKFOXAGENTAPIKEY 响应 401 或 402 状态码 响应提示算力或余额不足:消息含“算力余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值”或类似含义 Usage Examples Prefer searchByName when the user supplies a natural-language c …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills linkfox-ai/linkfox-sorftime-walmart-category-market

View the source on GitHub

Browse the @skills marketplace