简介
Apify官方出品的多平台竞品情报采集工具,通过Google Maps、社交媒体等公开数据源,为企业提供定价策略、广告投放、市场定位的深度竞争分析能力。
原始描述
Analyze competitor strategies, content, pricing, ads, and market positioning across Google Maps, Booking.com, Facebook, Instagram, YouTube, and TikTok.
中文使用说明 来自收录源
核心用法
apify-competitor-intelligence 是一款基于 Apify 平台的竞争对手情报分析 Skill,通过调用官方维护的 30+ 个数据采集 Actor,实现对 Google Maps、Booking.com、Facebook、Instagram、YouTube 和 TikTok 六大平台的竞品数据抓取。用户只需选择分析类型(如商家数据、广告策略、内容表现等),Skill 会自动匹配对应的 Actor ID,通过 mcpc CLI 动态获取输入参数规范,最终输出 CSV 或 JSON 格式的结构化数据。
使用流程遵循五步工作流:识别分析类型 → 获取 Actor 配置 → 确认输出偏好 → 执行采集脚本 → 总结竞争洞察。Skill 内置了严格的输入消毒规则,对 Actor ID、搜索关键词、JSON 输入和输出文件名进行多重验证,防止命令注入和目录遍历攻击。
显著优点
平台覆盖全面:涵盖本地生活(Google Maps)、旅游(Booking.com)、社交广告(Facebook/Instagram)、视频内容(YouTube/TikTok)等核心商业场景,满足多维度竞品监控需求。
官方生态保障:所有 Actor 均来自 Apify 官方或认证开发者,数据来源合规,仅抓取公开信息,避免法律风险。Actor 权限分级机制(LIMITED/FULL PERMISSIONS)提供额外的安全透明度。
零代码操作:通过封装好的 Node.js 脚本自动化处理 API 认证、任务轮询、结果下载等复杂流程,用户无需编写代码即可完成专业级数据采集。
输出灵活可控:支持即时聊天展示、CSV 全量导出、JSON 结构化输出三种模式,适应快速预览和深度分析的不同场景。
潜在缺点与局限性
Token 依赖门槛:必须配置有效的 APIFY_TOKEN,且 Apify 平台按计算单元收费,高频或大规模采集可能产生显著成本。
平台反爬风险:目标网站(如 Instagram、TikTok)的反爬策略可能随时更新,导致 Actor 临时失效或需要调整参数,稳定性不如官方 API。
数据时效性:采集的是公开页面的快照数据,非实时流数据,对于快速变化的竞品动态(如限时促销)可能存在滞后。
分析深度有限:Skill 聚焦数据采集,不提供内置的竞品对比分析、可视化图表或趋势预测功能,需用户自行进行后续加工。
适合的目标群体
- 市场分析师:需要定期监控竞品价格、促销活动和广告投放策略
- 产品经理:进行功能对标和用户反馈分析,指导产品迭代方向
- 品牌运营人员:追踪竞争对手的社交媒体内容表现和粉丝增长趋势
- 投资研究人员:评估目标公司的线上业务覆盖度和市场声量
- 本地生活商家:分析周边竞争对手的评分、评论和营业信息
使用风险
性能与超时风险:大规模数据采集(如万级评论抓取)可能触发 600 秒默认超时,需合理拆分任务或调整超时参数。
依赖项稳定性:依赖 mcpc CLI 和 Node.js 20.6+ 环境,版本不兼容可能导致安装或执行失败。
API 配额消耗:Apify 平台按 Actor 运行时间和内存计费,未设置预算上限可能导致意外费用。
数据合规边界:虽仅采集公开数据,但部分平台(如 Facebook)对自动化抓取有严格的服务条款限制,商业用途需评估法律风险。
技能正文
name: apify-competitor-intelligence description: Analyze competitor strategies, content, pricing, ads, and market positioning across Google Maps, Booking.com, Facebook, Instagram, YouTube, and TikTok. version: 1.0.1 source: https://github.com/apify/agent-skills homepage: https://apify.com metadata: openclaw: requires: env: - APIFY_TOKEN bins: - node - mcpc primaryEnv: APIFY_TOKEN install: - kind: node package: "@apify/mcpc" bins: [mcpc]
Competitor Intelligence
Analyze competitors using Apify Actors to extract data from multiple platforms.
Prerequisites
APIFY_TOKENconfigured in OpenClaw settings- Node.js 20.6+
mcpcCLI (auto-installed via skill metadata)
Input Sanitization Rules
Before substituting any value into a bash command:
- ACTOR_ID: Must be either a technical name (
owner/actor-name— alphanumeric, hyphens, dots, one slash) or a raw ID (exactly 17 alphanumeric characters, e.g.,oeiQgfg5fsmIJB7Cn). Reject values containing shell metacharacters (; | & $ ` ( ) { } < > ! \n). - SEARCH_KEYWORDS: Plain text words only. Reject shell metacharacters.
- JSON_INPUT: Must be valid JSON. Must not contain single quotes (use escaped double quotes). Validate structure before use.
- Output filenames: Must match
YYYY-MM-DD_descriptive-name.{csv,json}. No path separators (/,..), no spaces, no metacharacters.
Workflow
Copy this checklist and track progress:
Task Progress:
- [ ] Step 1: Identify competitor analysis type (select Actor)
- [ ] Step 2: Fetch Actor schema via mcpc
- [ ] Step 3: Ask user preferences (format, filename)
- [ ] Step 4: Run the analysis script
- [ ] Step 5: Summarize findings
Step 1: Identify Competitor Analysis Type
Select the appropriate Actor based on analysis needs:
| User Need | Actor ID | Best For |
|---|---|---|
| Competitor business data | compass/crawler-google-places |
Location analysis |
| Competitor contact discovery | poidata/google-maps-email-extractor |
Email extraction |
| Feature benchmarking | compass/google-maps-extractor |
Detailed business data |
| Competitor review analysis | compass/Google-Maps-Reviews-Scraper |
Review comparison |
| Hotel competitor data | voyager/booking-scraper |
Hotel benchmarking |
| Hotel review comparison | voyager/booking-reviews-scraper |
Review analysis |
| Competitor ad strategies | apify/facebook-ads-scraper |
Ad creative analysis |
| Competitor page metrics | apify/facebook-pages-scraper |
Page performance |
| Competitor content analysis | apify/facebook-posts-scraper |
Post strategies |
| Competitor reels performance | apify/facebook-reels-scraper |
Reels analysis |
| Competitor audience analysis | apify/facebook-comments-scraper |
Comment sentiment |
| Competitor event monitoring | apify/facebook-events-scraper |
Event tracking |
| Competitor audience overlap | apify/facebook-followers-following-scraper |
Follower analysis |
| Competitor review benchmarking | apify/facebook-reviews-scraper |
Review comparison |
| Competitor ad monitoring | apify/facebook-search-scraper |
Ad discovery |
| Competitor profile metrics | apify/instagram-profile-scraper |
Profile analysis |
| Competitor content monitoring | apify/instagram-post-scraper |
Post tracking |
| Competitor engagement analysis | apify/instagram-comment-scraper |
Comment analysis |
| Competitor reel performance | apify/instagram-reel-scraper |
Reel metrics |
| Competitor growth tracking | apify/instagram-followers-count-scraper |
Follower tracking |
| Comprehensive competitor data | apify/instagram-scraper |
Full analysis |
| API-based competitor analysis | apify/instagram-api-scraper |
API access |
| Competitor video analysis | streamers/youtube-scraper |
Video metrics |
| Competitor sentiment analysis | streamers/youtube-comments-scraper |
Comment sentiment |
| Competitor channel metrics | streamers/youtube-channel-scraper |
Channel analysis |
| TikTok competitor analysis | clockworks/tiktok-scraper |
TikTok data |
| Competitor video strategies | clockworks/tiktok-video-scraper |
Video analysis |
| Competitor TikTok profiles | clockworks/tiktok-profile-scraper |
Profile data |
Step 2: Fetch Actor Schema
Fetch the Actor's input schema and details dynamically using mcpc:
mcpc --json mcp.apify.com --header "Authorization: Bearer $APIFY_TOKEN" tools-call fetch-actor-details actor:="ACTOR_ID" | jq -r ".content"
Replace ACTOR_ID with the selected Actor (e.g., compass/crawler-google-places).
This returns:
- Actor description and README
- Required and optional input parameters
- Output fields (if available)
Step 3: Ask User Preferences
Before running, ask:
- Output format:
- Quick answer - Display top few results in chat (no file saved)
- CSV - Full export with all fields
- JSON - Full export in JSON format
- Number of results: Based on character of use case
Step 4: Run the Script
Quick answer (display in chat, no file):
node {baseDir}/reference/scripts/run_actor.js \
--actor 'ACTOR_ID' \
--input 'JSON_INPUT'
CSV:
node {baseDir}/reference/scripts/run_actor.js \
--actor 'ACTOR_ID' \
--input 'JSON_INPUT' \
--output 'YYYY-MM-DD_OUTPUT_FILE.csv' \
--format csv
JSON:
node {baseDir}/reference/scripts/run_actor.js \
--actor 'ACTOR_ID' \
--input 'JSON_INPUT' \
--output 'YYYY-MM-DD_OUTPUT_FILE.json' \
--format json
Step 5: Summarize Findings
After completion, report:
- Number of competitors analyzed
- File location and name
- Key competitive insights
- Suggested next steps (deeper analysis, benchmarking)
Security & Data Privacy
This skill instructs the agent to select an Apify Actor, fetch its schema (via mcpc), and run scrapers. The included script communicates only with api.apify.com and writes outputs to files under the current working directory; it does not access unrelated system files or other environment variables.
Apify Actors only scrape publicly available data and do not collect private or personally identifiable information beyond what is openly accessible on the target platforms. For additional security assurance, you can check an Actor's permission level by querying https://api.apify.com/v2/acts/:actorId — an Actor with LIMITED_PERMISSIONS operates in a restricted sandbox, while FULL_PERMISSIONS indicates broader system access. For full details, see Apify's General Terms and Conditions.
Error Handling
APIFY_TOKEN not found - Ask user to configure APIFY_TOKEN in OpenClaw settings
mcpc not found - Run npm install -g @apify/mcpc
Actor not found - Check Actor ID spelling
Run FAILED - Ask user to check Apify console link in error output
Timeout - Reduce input size or increase --timeout
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。