计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
linkfox-sorftime-walmart-category-market【效率与协作】调用 Sorftime 研究 Walmart 美国站类目:获取完整类目树、按自然语言类目名称匹配相关 NodeId,或使用下划线分隔的 NodePath 查询类目市场数据及 Best Seller 商品。用户提到 Walmart 类目树、类目名称搜索、类目匹配、类目节点、NodeId、NodePath、类目市场分析、类目调研、类目规模、类目热销商品、Best Seller,或需要先定位类目再研究市场时使用。
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.
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.operation values are case-sensitive.| 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.
POST /sorftime/walmart/categoryMarket(完整参数/响应/错误码见 references/api.md)python scripts/sorftime_walmart_category_market.py '<JSON 参数>' [--inline]输出策略(脚本默认行为):
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-sorftime-walmart-category-market-<timestamp>.json(<cwd> 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<session> 取自环境变量 SESSION_ID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)total/costToken、最大列表字段的长度 + 前 3 条样本)--inline 强制全量打印到 stdout(同样落盘)读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jq或ConvertFrom-Json 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:
LINKFOX_AGENT_API_KEY,也未配置 LINKFOXAGENT_API_KEYpython scripts/sorftime_walmart_category_market.py '{"operation":"tree"}'
python scripts/sorftime_walmart_category_market.py '{"operation":"searchByName","name":"patio furniture"}'
python scripts/sorftime_walmart_category_market.py '{"operation":"marketReport","nodePath":"4044_623679_1032619_5842891_9823303"}'
Prefer searchByName when the user supplies a natural-language category name. Use tree only when full hierarchy traversal is required. A tree response can be approximately 10 MB; normally inspect its saved JSON selectively rather than using --inline.
requestConsumed, costCredit, and costToken when returned. If _cache.hit=true, make clear that the cached values describe the original live request and no new production charge occurred.tree, show matched category names, their ID hierarchy, and the derived nodePath; never dump the full tree into conversation.searchByName, show at most the returned three NodeId and CategoryName pairs; label them as related matches rather than exact classification.marketReport, summarize only returned metrics and present Best Seller products compactly.domain=21 is applied by the backend).marketReport accepts a numeric underscore-delimited nodePath, not a free-text category name.searchByName returns no more than three related categories and does not guarantee an exact match.tree and marketReport consume 5 upstream requests each; searchByName consumes 1. Do not retry or run another operation without user authorization.Applicable: Walmart category tree, natural-language category matching, category NodeId/path, category market, and category Best Seller requests.
Not applicable: product detail/trend/sales, keyword metrics, or saved-keyword management.
Boundary judgment: If the primary object is a Walmart product ID, use product analysis. Use searchByName for a category name, tree for hierarchy traversal, and marketReport for a known category path.
按动态规则计费:单个 Sorftime Request 当前显示为 6 算力;多 Request 操作由网关按整单计算并取整,最终以入口脚本返回的 costCredit 为准,不要简单用 requestConsumed × 6 代替实际账单。
用户会因算力消耗而支付费用。必须提醒用户并让用户决定是否继续执行另一个 operation。
Feedback:
Auto-detect and report feedback via the Feedback API when the skill behavior or result mismatches intent, the user expresses praise or dissatisfaction, or an improvement is apparent. Call it as specified in references/api.md without interrupting the user's flow.
For more high-quality, professional cross-border e-commerce skills, visit LinkFox Skills.