← Back to Skills Marketplace
ucsdzehualiu

cloud-product-compare

by ucsdzehualiu · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ Security Clean
148
Downloads
0
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install cloud-product-compare
Description
以资深云计算产品经理身份,深度阅读阿里云与华为云官方文档,输出有真实依据的差异化竞品分析
README (SKILL.md)

阿里云&华为云产品竞品分析

角色

你是拥有10年以上经验的ToB云计算资深产品经理,擅长从官方文档中提炼真实的产品差异,而非泛泛而谈。你的分析直接服务于产品规划、技术选型和市场决策。

快速开始

方式一:使用爬虫脚本(推荐,全自动)

脚本位于 scripts/cloud_doc_scraper.py,解析文档目录、抓取核心页面、输出 markdown。

依赖需手动安装pip install playwright httpx beautifulsoup4 && playwright install chromium

python scripts/cloud_doc_scraper.py --product ecs
python scripts/cloud_doc_scraper.py --product oss --output oss_docs.md
python scripts/cloud_doc_scraper.py --product rds --max-pages 15
python scripts/cloud_doc_scraper.py --product ecs --stealth   # 可选:启用 stealth 模式处理 JS 渲染兼容问题
python scripts/cloud_doc_scraper.py --list   # 查看所有支持的产品

支持的产品:ecs, oss, rds, redis, ack, fc, slb, maxcompute, pai, bailian, cdn, nas, flink, elasticsearch, dws

输出:markdown 文件,包含阿里云和华为云的官方文档原文 + 更新日志,可直接粘贴给 AI 做竞品分析。

工作原理

  1. 检测依赖是否就绪,缺失时提示安装命令并退出
  2. 用 Playwright 打开文档首页,解析左侧目录导航
  3. 按优先级筛选核心页面(产品介绍 > 规格参数 > 计费 > 应用场景)
  4. 并发抓取各页面内容,输出去噪后的纯文本
  5. 支持 HTTP fallback(Playwright 抓取失败时自动用 httpx+BS4)
  6. 支持 deep_links(目录解析失败时使用预配置的页面 URL)
  7. Stealth 模式(--stealth)默认关闭,仅在显式启用时处理 JS 渲染兼容性问题

方式二:手动用 web_fetch 逐页抓取

参考下方"官方文档入口"表格,用 web_fetch 工具逐页抓取文档内容。


官方文档入口

文档 URL 说明

华为云文档

  • 旧版文档(productdesc-*):部分产品已 404(OBS, RDS, DCS, CDN, SFS 等),脚本已内置正确的 deep_links
  • 新版文档(SPA index.html):需要 JS 渲染,web_fetch 只能拿到空壳,建议用脚本
  • 更新日志:https://support.huaweicloud.cn/wtsnew-{product}/index.html

阿里云文档

  • 主入口:https://help.aliyun.com/zh/{product}
  • 更新日志:https://help.aliyun.com/zh/{product}/product-overview/release-notes
  • URL 可能变更,脚本会自动从目录导航发现链接

阿里云

品类 产品 文档 更新日志
计算 云服务器ECS https://help.aliyun.com/zh/ecs https://help.aliyun.com/zh/ecs/product-overview/release-notes
计算 函数计算FC https://help.aliyun.com/zh/fc https://help.aliyun.com/zh/fc/product-overview/release-notes
存储 对象存储OSS https://help.aliyun.com/zh/oss https://help.aliyun.com/zh/oss/product-overview/release-notes
存储 文件存储NAS https://help.aliyun.com/zh/nas https://help.aliyun.com/zh/nas/product-overview/release-notes
数据库 云数据库RDS https://help.aliyun.com/zh/rds https://help.aliyun.com/zh/rds/product-overview/release-notes
数据库 云数据库Redis https://help.aliyun.com/zh/redis https://help.aliyun.com/zh/redis/product-overview/release-notes
数据库 AnalyticDB PG https://help.aliyun.com/zh/analyticdb-for-postgresql https://help.aliyun.com/zh/analyticdb-for-postgresql/product-overview/release-notes
容器 容器服务ACK https://help.aliyun.com/zh/ack https://help.aliyun.com/zh/ack/product-overview/release-notes
网络 负载均衡SLB https://help.aliyun.com/zh/slb https://help.aliyun.com/zh/slb/product-overview/release-notes
网络 CDN https://help.aliyun.com/zh/cdn https://help.aliyun.com/zh/cdn/product-overview/release-notes
大数据 MaxCompute https://help.aliyun.com/zh/maxcompute https://help.aliyun.com/zh/maxcompute/product-overview/Release-notes
大数据 实时计算Flink https://help.aliyun.com/zh/flink https://help.aliyun.com/zh/flink/product-overview/release-note
大数据 Elasticsearch https://help.aliyun.com/zh/elasticsearch https://help.aliyun.com/zh/elasticsearch/product-overview/release-notes
AI 人工智能平台PAI https://help.aliyun.com/zh/pai https://help.aliyun.com/zh/pai/user-guide/api-aiworkspace-2021-02-04-changeset
AI 百炼平台 https://help.aliyun.com/zh/bailian https://help.aliyun.com/zh/bailian/release-notes

华为云

品类 产品 文档 更新日志
计算 弹性云服务器ECS https://support.huaweicloud.cn/ecs/index.html https://support.huaweicloud.cn/wtsnew-ecs/index.html
计算 函数工作流FunctionGraph https://support.huaweicloud.cn/functiongraph/index.html https://support.huaweicloud.cn/wtsnew-functiongraph/index.html
存储 对象存储OBS https://support.huaweicloud.cn/obs/index.html https://support.huaweicloud.cn/wtsnew-obs/index.html
存储 文件存储SFS https://support.huaweicloud.cn/sfs/index.html https://support.huaweicloud.cn/wtsnew-sfs/index.html
数据库 云数据库RDS https://support.huaweicloud.cn/rds/index.html https://support.huaweicloud.cn/wtsnew-rds/index.html
数据库 分布式缓存DCS https://support.huaweicloud.cn/dcs/index.html https://support.huaweicloud.cn/wtsnew-dcs/index.html
数据库 数据仓库GaussDB(DWS) https://support.huaweicloud.cn/dws/index.html https://support.huaweicloud.cn/wtsnew-dws/index.html
容器 云容器引擎CCE https://support.huaweicloud.cn/cce/index.html https://support.huaweicloud.cn/wtsnew-cce/index.html
网络 弹性负载均衡ELB https://support.huaweicloud.cn/elb/index.html https://support.huaweicloud.cn/wtsnew-elb/index.html
网络 CDN https://support.huaweicloud.cn/cdn/index.html https://support.huaweicloud.cn/wtsnew-cdn/index.html
大数据 MapReduce服务MRS https://support.huaweicloud.cn/mrs/index.html https://support.huaweicloud.cn/wtsnew-mrs/index.html
大数据 数据湖探索DLI https://support.huaweicloud.cn/dli/index.html https://support.huaweicloud.cn/wtsnew-dli/index.html
搜索 云搜索服务CSS https://support.huaweicloud.cn/css/index.html https://support.huaweicloud.cn/wtsnew-css/index.html
AI AI开发平台ModelArts https://support.huaweicloud.cn/modelarts/index.html https://support.huaweicloud.cn/wtsnew-modelarts/index.html
AI 盘古大模型平台 https://support.huaweicloud.cn/pangu/index.html https://support.huaweicloud.cn/wtsnew-pangu/index.html

执行方式

用户输入目标产品后,执行以下步骤:

第一步:锁定对标产品 从上表查找双方对标产品。若预置清单无对应产品,明确告知用户,并提供已知的替代入口。

第二步:运行爬虫脚本

python scripts/cloud_doc_scraper.py --product {product_key} --output {product_key}_docs.md

脚本会自动完成:依赖安装 → 目录解析 → 核心页面筛选 → 并发抓取 → 输出 markdown。

若脚本不可用,退而用 web_fetch 手动逐页抓取(见下方步骤)。

第三步:深读文档 按以下优先级抓取文档内容:

文档抓取优先级

  1. 产品概述/简介页面(了解产品定位和核心价值)
  2. 组件版本表(大数据类产品必抓,如 EMR 组件版本、MRS 组件版本)
  3. 核心特性/功能说明页面(了解能力边界)
  4. 规格参数/性能指标页面(了解性能上限)
  5. 内核增强说明页面(了解自研能力)
  6. 最佳实践/使用场景页面(了解适用场景)
  7. 更新日志(了解近12个月迭代方向)

第四步:判断产品形态差异 分析双方产品是否属于同一形态:

  • 若形态相似(如都是托管数据库):直接对比功能、性能、价格
  • 若形态差异大(如一个是托管服务,一个是PaaS平台):
    • 先说明形态差异和各自定位
    • 再对比可对比的维度(如核心能力、适用场景)
    • 明确哪些维度无法直接对比

第五步:找真实差异 差异必须来自文档,不能靠印象。重点挖掘:

  • 关键指标的数字差距(性能上限、规格范围、SLA数值等)
  • 一方有、一方没有的核心能力
  • 相同功能但实现路径或成熟度明显不同的地方
  • 近期迭代方向的分歧,反映出各自的战略意图

无差异或差异不明显的维度,直接略过,不要凑字数。

第六步:写分析 格式自由,以能清晰传递判断为准。核心要回答三件事:

  1. 两款产品真正的差异在哪,各自的优势和短板是什么
  2. 近期各自在往哪个方向使劲,战略意图是什么
  3. 什么样的客户和场景该选哪个

所有结论必须有文档依据,来源在行文中自然标注即可,不需要单独列参考文献章节。

第七步:保存并展示结果

  1. 将完整分析报告保存为 markdown 文件(如 {product_key}_competitive_analysis.md),写入 workspace
  2. 必须将分析报告的核心内容直接展示给用户——不要只说"已保存到文件",而是把关键结论、对比表格、选型建议等直接输出到对话中,让用户一眼就能看到结果
  3. 在展示末尾附上文件路径,方便用户后续引用

对比维度参考

根据产品类型,优先对比以下维度:

基础维度(必选)

  • 开源组件版本支持(如 Elasticsearch 7.10/8.x、OpenSearch 2.x)
  • 内核增强能力(自研内核、性能优化、稳定性增强)
  • 核心功能完整性(向量检索、存算分离、智能运维)
  • 规格与性能上限(单节点存储、分片数、QPS)

增强维度(按产品类型选择)

  • 搜索类:向量检索算法、量化方式、向量维度、AI 搜索能力
  • 数据库类:高可用架构、备份恢复、容灾能力
  • 大数据类:计算引擎、存储格式、数据源集成
  • AI 类:模型管理、推理能力、RAG 支持

迭代维度(必选)

  • 近 12 个月功能发布记录
  • 战略方向判断(从迭代重点推断)

约束

  • 所有信息来自官方文档,禁止使用第三方信息或训练数据中的印象
  • 若某侧文档抓取失败,明确说明失败原因,不得静默填充或臆测
  • 若预置清单无对应产品,告知用户后提供已知入口或终止执行
  • 若产品形态差异过大,先说明差异再分析,不要强行对比不相关的功能
  • 对比必须基于事实,避免主观评价,让数据说话
  • 版本号、性能数据、规格参数等关键信息必须标注来源文档

脚本技术细节

依赖(需手动安装)

  • Python 3.10+
  • playwright + chromium(浏览器自动化)
  • httpx + beautifulsoup4(HTTP fallback)

安装命令:

pip install playwright httpx beautifulsoup4
playwright install chromium

已知限制

  • 华为云部分产品(OBS, RDS, DCS, CDN, SFS)旧版 productdesc 页面已 404,脚本使用 deep_links 兜底
  • 华为云文档站部分页面需要 JS 渲染,web_fetch 只能拿到空壳,建议用脚本
  • 华为云 changelog 页面(wtsnew-*)部分在 .cn 域名 404,脚本自动回退 .com
  • 阿里云部分子页面可能返回空内容,脚本会尝试 HTTP fallback
  • 个别 deep_links URL 可能随文档更新而失效,需定期维护
  • Stealth 模式(--stealth)默认关闭,仅在用户显式启用时生效,用于处理 JS 渲染兼容性问题
Usage Guidance
总体上该技能在目的与实现上是一致的;如果要安装/运行,请注意: - 在隔离环境(如虚拟环境或容器)中运行脚本,先手动安装依赖(pip install playwright httpx beautifulsoup4),并执行 playwright install chromium(将下载较大浏览器文件)。 - 在运行前快速审阅 scripts/cloud_doc_scraper.py(尤其是执行 subprocess 的部分),以确认不会通过脚本意外安装或执行你不期望的软件。 - 脚本默认抓取列出的官方域名;如果你担心数据外泄或合规问题,限制网络出口或在受控网络环境下运行。 - 避免以 root/管理员身份运行第三方脚本;如需长期集成,优先将其放入受控构建/CI 环境并审计输出。
Capability Analysis
Type: OpenClaw Skill Name: cloud-product-compare Version: 1.0.4 The skill bundle is designed for competitive analysis of Alibaba Cloud and Huawei Cloud products. It includes a specialized Python scraper (scripts/cloud_doc_scraper.py) that uses Playwright and httpx to extract content from official documentation URLs. The script includes robust error handling, denoising logic, and a validation mechanism that restricts scraping to a predefined list of cloud products, preventing arbitrary URL access. No evidence of data exfiltration, unauthorized execution, or malicious prompt injection was found; the code and instructions are transparent and align strictly with the stated purpose.
Capability Assessment
Purpose & Capability
技能名与描述明确为阿里云/华为云文档差异化分析;随附的 scripts/cloud_doc_scraper.py 和 SKILL.md 的抓取目标、域名列表和输出格式均与该目的直接对应,没有要求与云供应商无关的凭据或外部服务。
Instruction Scope
SKILL.md 指示使用本地爬虫脚本或 web_fetch 逐页抓取,优先抓取产品概述/规格/计费/场景等与竞品分析直接相关的页面;说明中没有要求读取用户主机上与任务无关的文件或环境变量,也未指示将数据发送到除官方文档域名之外的第三方端点。
Install Mechanism
这是一个 instruction-only 技能(没有 install spec),但包含一个 Python 脚本,该脚本会检测 Playwright、httpx、BeautifulSoup 并提示用户手动安装。代码中存在可用于自动安装的函数(_ensure_dep/_ensure_playwright),但主路径使用的是检测并提示安装的逻辑,而非静默下载。这是可解释且与 SKILL.md 描述一致,但值得注意:运行脚本会涉及下载 Playwright 的 Chromium(约 150MB)并发起网络请求。
Credentials
技能不声明也不需要任何环境变量、凭证或 config 路径。脚本仅访问列出的官方文档域名(help.aliyun.com、support.huaweicloud.cn 等),没有请求或使用敏感凭据。
Persistence & Privilege
技能未请求常驻权限(always:false),也不修改其它技能或系统范围配置;运行时仅在用户显式调用脚本或使用 web_fetch 时执行网络抓取。
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cloud-product-compare
  3. After installation, invoke the skill by name or use /cloud-product-compare
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.4
cloud-product-compare v1.0.4 - 文档更新为"4.2.0",全面丰富官方对比流程说明 - 增加支持全自动抓取脚本(Playwright+httpx+BS4),推荐通过脚本批量获取阿里云/华为云官方文档原文与更新日志 - 详细整理文档获取优先级、对比维度与分析流程,实现分析结果自动保存并核心内容即时展示 - 明确约束所有结论只引用官方文档,遇抓取失败需明示原因,禁止凭印象或静默补全 - 技术部分补充依赖安装命令、已知站点特殊处理和脚本fallback行为说明
v1.0.3
- No file changes detected in this version. - No updates or modifications were made to the skill's code or documentation. - Version remains functionally identical to the previous release.
v1.0.2
No functional or code changes in this version; only the SKILL.md metadata and documentation were updated. - Updated skill version metadata from 4.0.0 to 3.0.0 and changed allowed-tools from web_fetch to web.fetch. - Reorganized and streamlined documentation on product mapping and doc URL strategies. - Clarified how to handle inaccessible or failed document fetches. - Simplified execution workflow, focusing on step-by-step product identification, documentation validation, and competitive analysis logic. - Reduced excessive detail and consolidated guidance for both Alibaba Cloud and Huawei Cloud product comparisons.
v1.0.1
Major change: Migrated to a more robust, fetch-friendly analysis method focused on real document content and increased reliability on cloud doc scraping. - Switched to fetching static doc subpages directly, skipping JS-heavy homepages for higher success rates. - Added two operating modes: prefer offline doc paste (via cloud_doc_scraper.py), fall back to best-effort fetch otherwise. - Introduced explicit fetch result validation and user prompts when docs are inaccessible. - Sharpened analysis expectations: only use facts from live doc content, highlight quantifiable/exclusive/strategic differences. - Updated and condensed core doc link table for key Alibaba Cloud & Huawei Cloud products, with recommended fetch order. - Output instructions and workflows were refined for clarity, accuracy, and real-world applicability.
v1.0.0
Initial release of Alibaba Cloud and Huawei Cloud full-stack product competitive analysis skill. - Provides a comprehensive mapping table for core Alibaba Cloud & Huawei Cloud products and official documentation URLs. - Details a step-by-step method: product matching, documentation URL validation, and robust fallback mechanisms for documentation discovery. - Outlines document reading priorities for major product families (e.g., AI, database, big data), ensuring focus on essential content for competitive analysis. - Clearly describes error handling for inaccessible or missing documentation. - Designed for B2B product managers making documented, evidence-based, product-level comparisons.
Metadata
Slug cloud-product-compare
Version 1.0.4
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 5
Frequently Asked Questions

What is cloud-product-compare?

以资深云计算产品经理身份,深度阅读阿里云与华为云官方文档,输出有真实依据的差异化竞品分析. It is an AI Agent Skill for Claude Code / OpenClaw, with 148 downloads so far.

How do I install cloud-product-compare?

Run "/install cloud-product-compare" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is cloud-product-compare free?

Yes, cloud-product-compare is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does cloud-product-compare support?

cloud-product-compare is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created cloud-product-compare?

It is built and maintained by ucsdzehualiu (@ucsdzehualiu); the current version is v1.0.4.

💬 Comments