← 返回 Skills 市场
metahuan

Yufluentcn Comp Scrape

作者 metahuan · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
23
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install yufluentcn-comp-scrape
功能描述
竞品批量对比分析,基于用户上传的 CSV 导出或已授权 API 快照,非未授权爬虫。 经 Yufluent 云端 Harness 执行。Use for 竞品批量、CSV 对比、competitor export、 批量对标.
使用说明 (SKILL.md)

竞品批量对比

基于用户上传的 CSV 导出或已授权 API 快照进行批量竞品对比分析。ClawHub / OpenClaw 云端模式 — Harness comp_scrape 在 Yufluent 服务端执行;本机只需 TOKENAPI_KEYtk-*)与 requests

⚠️ 非未授权爬虫 — 本技能仅分析你手动导出或授权的数据,不抓取平台页面。

OpenClaw 与 Yufluent(必读)

OpenClaw 对话与技能调用共用同一 tk-*。接入见 https://claw.changzhiai.com/app/openclaw

走哪里 干什么
OpenClaw 对话 Yufluent /v1/chat/completions(同一 tk-*) 收集 CSV/数据、调 run.py、解读对比报告
批量对比正式输出 POST /v1/skills/comp-scrape/run(同一 tk-*) Harness → 批量竞品对比报告

Agent 硬性规则:

  1. 禁止用对话模型自行撰写完整批量竞品对比报告。
  2. 必须通过 python scripts/run.py ...(或 POST /v1/skills/comp-scrape/run)获取输出。
  3. 对话模型仅用于:帮助整理竞品 CSV 格式、确认平台与语言、解释报告、建议下一步。
  4. 只需 TOKENAPI_KEY不要要求用户另配厂商 LLM Key。

Instructions(Agent 工作流)

  1. 确认数据来源--source-typecsv_export(默认)或 api_snapshot
  2. 收集输入
    • --our-product(必填):我方产品名
    • --competitor-data(必填):CSV 内容或 .csv/.txt 文件路径
    • --platformamazon | shopify | tiktok
  3. 调用(必须 — 云端)
    python scripts/run.py \
      --our-product "蓝牙耳机" \
      --competitor-data "title,price\
    

Comp A,29.99
Comp B,35.00"
--platform amazon
--lang zh

- 文件模式:`--competitor-data ./competitors.csv`
- API:`POST {TOKENAPI_BASE_URL}/skills/comp-scrape/run`
4. **计费**:402 余额不足;401 密钥无效。

## 与其他技能联动

| 需求 | 技能 |
|------|------|
| 单条竞品快照对比 | `yufluentcn-comp-track` |
| 批量对比 → Listing 优化 | `yufluentcn-ecommerce-listing` |
| 竞品关键词提取 → SEO | `yufluentcn-seo-pro` |

## 环境变量

| 变量 | 必填 | 说明 |
|------|------|------|
| `TOKENAPI_KEY` | 是 | `tk-*`,[Yufluent 控制台](https://claw.changzhiai.com) 获取 |
| `TOKENAPI_BASE_URL` | 否 | 默认 `http://localhost:8080/v1` |

## 触发词

- "竞品批量对比"
- "CSV 导入竞品分析"
- "批量对标"
- "这些竞品帮我分析"
- "competitor batch"

## Examples

**CSV 内联**

```bash
python scripts/run.py \
--our-product "蓝牙耳机" \
--competitor-data "title,price,rating\
Comp A,29.99,4.2\
Comp B,35.00,4.5" \
--platform amazon \
--lang zh

从 CSV 文件读取

python scripts/run.py \
  --our-product "USB-C Hub" \
  --competitor-data ./competitors.csv \
  --platform amazon \
  --lang en

授权 API 快照模式

python scripts/run.py \
  --our-product "瑜伽垫" \
  --competitor-data ./api-export.json \
  --source-type api_snapshot \
  --platform shopify \
  --lang zh

合规声明

  • 仅分析用户自行导出或已授权的数据,不抓取平台页面
  • 不抓取竞品评论、不代写虚假对比
  • 对比结论仅供参考,不构成流量承诺

版本记录

版本 日期 变更
v1.0.0 2026-06-13 规范 SKILL.md:补充 Agent 规则、Instructions、触发词、示例、合规声明、版本记录
v0.1.0 初始竞品批量对比技能
安全使用建议
Install only if you intend to send competitor exports, authorized API snapshots, and any provided listing text to Yufluent’s cloud service. Set TOKENAPI_BASE_URL only to a trusted endpoint, protect the TOKENAPI_KEY like an API credential, and avoid uploading confidential or regulated data unless Yufluent’s data handling terms are acceptable.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose is batch competitor comparison using user-provided CSV exports or authorized API snapshots, and the main script implements that by packaging those inputs and sending them to the comp-scrape cloud endpoint.
Instruction Scope
The instructions clearly disclose mandatory Yufluent cloud execution, but some trigger phrases are broad enough that users should confirm before sending business data.
Install Mechanism
The OpenClaw install metadata only requires TOKENAPI_KEY and installs requests; no post-install scripts or hidden dependency actions are present.
Credentials
The skill uses TOKENAPI_KEY and optional TOKENAPI_BASE_URL, which is proportionate for a cloud API client, though the base URL is not allowlisted and should be set only to a trusted Yufluent endpoint.
Persistence & Privilege
No persistence, background worker, privilege escalation, deletion, or broad local indexing was found; it reads only user-supplied input paths and optionally writes a user-requested output file.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install yufluentcn-comp-scrape
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /yufluentcn-comp-scrape 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of yufluentcn-comp-scrape, enabling batch competitor comparison and analysis based on user-uploaded CSV exports or authorized API snapshots. - Cloud-based execution via Yufluent Harness; requires only TOKENAPI_KEY and the requests library. - Strict agent workflow and compliance rules: dialog models cannot generate reports independently and must rely on cloud endpoints. - Clear instructions and examples provided for input formats, supported platforms (Amazon, Shopify, TikTok), and integration with related skills. - Designed for authorized, legal data analysis—no unauthorized scraping.
元数据
Slug yufluentcn-comp-scrape
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Yufluentcn Comp Scrape 是什么?

竞品批量对比分析,基于用户上传的 CSV 导出或已授权 API 快照,非未授权爬虫。 经 Yufluent 云端 Harness 执行。Use for 竞品批量、CSV 对比、competitor export、 批量对标. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 23 次。

如何安装 Yufluentcn Comp Scrape?

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

Yufluentcn Comp Scrape 是免费的吗?

是的,Yufluentcn Comp Scrape 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Yufluentcn Comp Scrape 支持哪些平台?

Yufluentcn Comp Scrape 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Yufluentcn Comp Scrape?

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

💬 留言讨论