# Apify Competitor Intelligence

> 分析竞争对手策略、内容、定价、广告和市场定位，覆盖 Google Maps、Booking.com、Facebook、Instagram、YouTube 和 TikTok。触发词：竞争对手分析、竞品情报、市场定位、竞品数据、竞争分析、competitor intelligence、竞品监控、对手分析

- Skill: `kscz0000/apify-competitor-intelligence` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add kscz0000/apify-competitor-intelligence`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kscz0000/apify-competitor-intelligence/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: kscz0000 (https://skillmd.com/u/kscz0000)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/kscz0000/apify-competitor-intelligence

---


# 竞争对手情报

使用 Apify Actors 从多个平台提取数据来分析竞争对手。

## 何时使用
- 需要竞争对手基准数据，包括内容、评论、定价、广告、受众或渠道表现。
- 任务涉及选择 Apify Actors 来比较地图、预订、社交或视频平台上的竞争对手。
- 需要结构化的竞争对手数据以及用于策略或定位的综合洞察。

## 前提条件
（无需预先检查）

- 包含 `APIFY_TOKEN` 的 `.env` 文件
- Node.js 20.6+（支持原生 `--env-file`）
- `mcpc` CLI 工具：`npm install -g @apify/mcpc`

## 工作流程

复制此检查清单并跟踪进度：

```
任务进度：
- [ ] 步骤 1：确定竞争对手分析类型（选择 Actor）
- [ ] 步骤 2：通过 mcpc 获取 Actor schema
- [ ] 步骤 3：询问用户偏好（格式、文件名）
- [ ] 步骤 4：运行分析脚本
- [ ] 步骤 5：总结发现
```

### 步骤 1：确定竞争对手分析类型

根据分析需求选择合适的 Actor：

| 用户需求 | Actor ID | 最佳用途 |
|----------|----------|----------|
| 竞争对手商业数据 | `compass/crawler-google-places` | 位置分析 |
| 竞争对手联系方式发现 | `poidata/google-maps-email-extractor` | 邮箱提取 |
| 功能基准测试 | `compass/google-maps-extractor` | 详细商业数据 |
| 竞争对手评论分析 | `compass/Google-Maps-Reviews-Scraper` | 评论对比 |
| 酒店竞争对手数据 | `voyager/booking-scraper` | 酒店基准测试 |
| 酒店评论对比 | `voyager/booking-reviews-scraper` | 评论分析 |
| 竞争对手广告策略 | `apify/facebook-ads-scraper` | 广告创意分析 |
| 竞争对手页面指标 | `apify/facebook-pages-scraper` | 页面表现 |
| 竞争对手内容分析 | `apify/facebook-posts-scraper` | 帖子策略 |
| 竞争对手短视频表现 | `apify/facebook-reels-scraper` | Reels 分析 |
| 竞争对手受众分析 | `apify/facebook-comments-scraper` | 评论情感 |
| 竞争对手活动监控 | `apify/facebook-events-scraper` | 活动追踪 |
| 竞争对手受众重叠 | `apify/facebook-followers-following-scraper` | 粉丝分析 |
| 竞争对手评论基准测试 | `apify/facebook-reviews-scraper` | 评论对比 |
| 竞争对手广告监控 | `apify/facebook-search-scraper` | 广告发现 |
| 竞争对手档案指标 | `apify/instagram-profile-scraper` | 档案分析 |
| 竞争对手内容监控 | `apify/instagram-post-scraper` | 帖子追踪 |
| 竞争对手互动分析 | `apify/instagram-comment-scraper` | 评论分析 |
| 竞争对手短视频表现 | `apify/instagram-reel-scraper` | Reels 指标 |
| 竞争对手增长追踪 | `apify/instagram-followers-count-scraper` | 粉丝追踪 |
| 全面竞争对手数据 | `apify/instagram-scraper` | 完整分析 |
| 基于 API 的竞争对手分析 | `apify/instagram-api-scraper` | API 访问 |
| 竞争对手视频分析 | `streamers/youtube-scraper` | 视频指标 |
| 竞争对手情感分析 | `streamers/youtube-comments-scraper` | 评论情感 |
| 竞争对手频道指标 | `streamers/youtube-channel-scraper` | 频道分析 |
| TikTok 竞争对手分析 | `clockworks/tiktok-scraper` | TikTok 数据 |
| 竞争对手视频策略 | `clockworks/tiktok-video-scraper` | 视频分析 |
| 竞争对手 TikTok 档案 | `clockworks/tiktok-profile-scraper` | 档案数据 |

### 步骤 2：获取 Actor Schema

使用 mcpc 动态获取 Actor 的输入 schema 和详情：

```bash
export $(grep APIFY_TOKEN .env | xargs) && mcpc --json mcp.apify.com --header "Authorization: Bearer $APIFY_TOKEN" tools-call fetch-actor-details actor:="ACTOR_ID" | jq -r ".content"
```

将 `ACTOR_ID` 替换为选定的 Actor（例如 `compass/crawler-google-places`）。

这将返回：
- Actor 描述和 README
- 必需和可选的输入参数
- 输出字段（如有）

### 步骤 3：询问用户偏好

运行前，询问：
1. **输出格式**：
   - **快速回答** - 在聊天中显示前几条结果（不保存文件）
   - **CSV** - 包含所有字段的完整导出
   - **JSON** - JSON 格式的完整导出
2. **结果数量**：根据用例特点确定

### 步骤 4：运行脚本

**快速回答（在聊天中显示，不保存文件）：**
```bash
node --env-file=.env ${CLAUDE_PLUGIN_ROOT}/reference/scripts/run_actor.js \
  --actor "ACTOR_ID" \
  --input 'JSON_INPUT'
```

**CSV：**
```bash
node --env-file=.env ${CLAUDE_PLUGIN_ROOT}/reference/scripts/run_actor.js \
  --actor "ACTOR_ID" \
  --input 'JSON_INPUT' \
  --output YYYY-MM-DD_OUTPUT_FILE.csv \
  --format csv
```

**JSON：**
```bash
node --env-file=.env ${CLAUDE_PLUGIN_ROOT}/reference/scripts/run_actor.js \
  --actor "ACTOR_ID" \
  --input 'JSON_INPUT' \
  --output YYYY-MM-DD_OUTPUT_FILE.json \
  --format json
```

### 步骤 5：总结发现

完成后，报告：
- 分析的竞争对手数量
- 文件位置和名称
- 关键竞争洞察
- 建议的后续步骤（深入分析、基准测试）

## 错误处理

`APIFY_TOKEN not found` - 请用户创建包含 `APIFY_TOKEN=your_token` 的 `.env` 文件
`mcpc not found` - 请用户安装 `npm install -g @apify/mcpc`
`Actor not found` - 检查 Actor ID 拼写
`Run FAILED` - 请用户检查错误输出中的 Apify 控制台链接
`Timeout` - 减少输入大小或增加 `--timeout`

## 限制
- 仅当任务明确符合上述描述的范围时使用此技能。
- 不要将输出视为环境特定验证、测试或专家审查的替代品。
- 如果缺少必需的输入、权限、安全边界或成功标准，请停止并请求澄清。

