← 返回 Skills 市场
liwenzhen1108-png

类目 AI 改图适配度分析器

作者 liwenzhen1108-png · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
40
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install category-ai-fitness
功能描述
输入三级类目表 → 自动抓取 Amazon/Walmart TOP 商品主图 → Claude 多模态分析 → 输出类目级决策表(AI改图适配度、侵权风险、经济性、竞争度)。触发词:类目分析、场景化适配、改图评估、类目筛选、搬运决策。
使用说明 (SKILL.md)

类目 AI 改图适配度分析器

输入三级类目表格,自动抓取双平台 TOP 商品数据 + 主图,用 Claude 多模态视觉分析,输出类目级综合决策报告。

用法

🚀 Streamlit Web UI(推荐)

cd ~/.openclaw/workspace/skills/category-ai-fitness
streamlit run app.py

启动后浏览器访问 http://localhost:8501,上传类目 Excel 文件,点击开始分析即可。

CLI 命令行

cd ~/.openclaw/workspace/skills/category-ai-fitness/scripts

# 基本用法:输入类目 Excel
python3 main.py --input categories.xlsx

# 指定输出路径
python3 main.py --input categories.xlsx --output ../output/report_20260529.xlsx

# 只跑 Amazon(跳过 Walmart)
python3 main.py --input categories.xlsx --amazon-only

# 只跑 Walmart
python3 main.py --input categories.xlsx --walmart-only

# 指定每类目抓取数量(默认 10)
python3 main.py --input categories.xlsx --top-n 15

输入格式

Excel 或 CSV,至少包含一列「类目」,支持以下格式混合:

  • Amazon BSR URon.com/Best-Sellers-Home-Kitchen/zgbs/home-garden`
  • Amazon 类目路径:Home & Kitchen > Bedding > Sheets
  • Walmart URL:https://www.walmart.com/cp/home/4044
  • Walmart 类目路径:Home > Bedroom > Sheets
  • 纯关键词:yoga mat(自动双平台搜索)

脚本自动识别平台和格式,无需手动标注。

输出 Excel 字段

分组 字段 说明
基础 类目路径、平台、样本数、抓取时间 标识
改图核心 场景化适配度 (0-100) TOP 主图场景图占比 + 商品形态
AI 改图难度(低/中/高) 透明/反光/人物/复杂细节
推荐改图策略 全场景化 / 主图白底+副图场景 / 不改
侵权风险 图片侵权风险(🔴🟡🟢) 品牌物/水印/通用图占比
必须改图标记 通用图/品牌素材命中即 ✅
经济性 价格中位数、月销中位数 抓取数据聚合
估算毛利率 WFS 费率公式
竞争 卖家密度 红海/蓝海标签
决策 决策档位 ✅AI改图搬 / ✅白底直搬 / ⚠️谨慎 / ❌弃
决策理由 一句话说明
参考图 代表主图×3 缩略图嵌入 Excel

环境变量

变量 用途 是否必须
LINKFOXAGENT_API_KEY Amazon/Walmart 数据抓取(LinkFox API) ✅ 必须
ANTHROPIC_API_KEY Claude 多模态视觉分析 ✅ 必须
ANTHROPIC_AUTH_TOKEN 同上(二选一) 可选
ANTHROPIC_BASE_URL 自定义 Claude API 地址 可选
ANTHROPIC_DEFAULT_HAIKU_MODEL 自定义 Haiku 模型名称 可选

依赖

pip install -r requirements.txt
# 或手动安装
pip install anthropic openpyxl pillow requests pandas streamlit
安全使用建议
Install only after reviewing or removing the Feishu webhook behavior and the bundled config.env credential. Treat any category list, product strategy, downloaded images, and generated recommendations as data that may leave your machine through LinkFox, Anthropic or a configured Anthropic-compatible endpoint, Walmart/image hosts, and the hardcoded Feishu webhook unless the code is changed.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The core workflow is coherent: it parses category inputs, fetches Amazon/Walmart product data, analyzes images with Claude, scores categories, and writes an Excel report. The concern is an automatic Feishu summary post containing category keywords, decisions, counts, and report name that is not part of the stated user-facing purpose.
Instruction Scope
The documentation discloses Amazon/Walmart fetching and Claude analysis, but it does not clearly disclose the hardcoded Feishu webhook, automatic result forwarding, or broad loading of local OpenClaw environment values.
Install Mechanism
Dependencies are ordinary PyPI packages for the stated app, but the package includes config.env with an apparent Anthropic API key and custom base URL. Even if not automatically loaded by the inspected code, bundling a credential-like secret is a material security issue.
Credentials
Network access to LinkFox, Walmart, image hosts, and Anthropic is expected for this skill. Reading ~/.openclaw/openclaw.json and importing arbitrary uppercase or provider env values is broader than necessary, and the Feishu webhook sends business-analysis outputs to a preset third-party endpoint without user control.
Persistence & Privilege
No background service, privilege escalation, destructive action, or system persistence was found. The skill writes reports, uploaded-file copies, image cache, and vision cache under its output directory, which is generally purpose-aligned.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install category-ai-fitness
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /category-ai-fitness 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初始发布:Amazon 类目抓取 + Claude 多模态分析 + 决策报告生成
元数据
Slug category-ai-fitness
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

类目 AI 改图适配度分析器 是什么?

输入三级类目表 → 自动抓取 Amazon/Walmart TOP 商品主图 → Claude 多模态分析 → 输出类目级决策表(AI改图适配度、侵权风险、经济性、竞争度)。触发词:类目分析、场景化适配、改图评估、类目筛选、搬运决策。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 40 次。

如何安装 类目 AI 改图适配度分析器?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install category-ai-fitness」即可一键安装,无需额外配置。

类目 AI 改图适配度分析器 是免费的吗?

是的,类目 AI 改图适配度分析器 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

类目 AI 改图适配度分析器 支持哪些平台?

类目 AI 改图适配度分析器 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 类目 AI 改图适配度分析器?

由 liwenzhen1108-png(@liwenzhen1108-png)开发并维护,当前版本 v1.0.0。

💬 留言讨论