← Back to Skills Marketplace
metahuan

Yufluentcn Comp Scrape

by metahuan · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
23
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install yufluentcn-comp-scrape
Description
竞品批量对比分析,基于用户上传的 CSV 导出或已授权 API 快照,非未授权爬虫。 经 Yufluent 云端 Harness 执行。Use for 竞品批量、CSV 对比、competitor export、 批量对标.
README (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 初始竞品批量对比技能
Usage Guidance
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.
Capability Tags
requires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install yufluentcn-comp-scrape
  3. After installation, invoke the skill by name or use /yufluentcn-comp-scrape
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug yufluentcn-comp-scrape
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Yufluentcn Comp Scrape?

竞品批量对比分析,基于用户上传的 CSV 导出或已授权 API 快照,非未授权爬虫。 经 Yufluent 云端 Harness 执行。Use for 竞品批量、CSV 对比、competitor export、 批量对标. It is an AI Agent Skill for Claude Code / OpenClaw, with 23 downloads so far.

How do I install Yufluentcn Comp Scrape?

Run "/install yufluentcn-comp-scrape" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Yufluentcn Comp Scrape free?

Yes, Yufluentcn Comp Scrape is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Yufluentcn Comp Scrape support?

Yufluentcn Comp Scrape is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Yufluentcn Comp Scrape?

It is built and maintained by metahuan (@metahuan); the current version is v1.0.0.

💬 Comments