mcpField
A
analyzing-competitor-youtube-content-strategy

analyzing-competitor-youtube-content-strategy

github.com/apidojo-io营销与增长1813 次安装24 周前更新
代码仓库

关于 analyzing-competitor-youtube-content-strategy

用于根据竞争对手近期视频评估其 YouTube 内容策略的技能。它会分类主题与形式、计算表现指标,并整理模式和高表现视频,供营销分析使用。

主要功能

  1. 01抓取竞争对手视频
  2. 02分类视频主题与形式
  3. 03计算观看和互动指标
  4. 04识别高表现视频
  5. 05可选与自有频道比较

适用场景

  1. 01依据竞争对手表现模式规划内容
  2. 02寻找互动表现较好的视频形式和主题
  3. 03将竞争对手频道与自有频道比较

MCP 相关

如有 Apify MCP,可运行 `apidojo~youtube-scraper` Actor 获取视频。

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/apidojo-io/apidojo-skills --skill analyzing-competitor-youtube-content-strategy

安装后在 Claude Code 中输入/analyzing-competitor-youtube-content-strategy确认已加载。

详细介绍

分析竞争对手的 YouTube 内容策略

通过分析竞争对手最近的 20–50 条视频,逆向分析其 YouTube 频道。找出能带来最多观看量和互动的视频主题、形式和时长。

前提条件

  • 已设置 APIFY_TOKEN 环境变量
  • 可选:已安装 Apify MCP 服务

输入

参数类型必填默认值说明
startUrls数组可选[]YouTube URL — 频道、播放列表、Shorts、搜索结果
youtubeHandles数组可选[]YouTube 频道账号句柄(例如 @kurzgesagt)
getTrending布尔值可选false获取趋势视频
keywords数组可选[]搜索关键词
gl字符串可选us结果的国家/地区代码(例如 US、GB)
hl字符串可选en语言代码(例如 en、de)
uploadDate字符串可选all上传日期筛选条件:any、hour、today、week、month、year
duration字符串可选all时长筛选条件:any、short、long
features字符串可选all功能筛选条件:4k、hd、live、cc、3d、hdr 等
sort字符串可选r搜索结果的排序顺序
maxItems数字可选不限返回的视频数量上限
customMapFunction字符串可选—用于转换每个输出对象的 JavaScript 函数

工作流

Progress:
- [ ] Step 1: Scrape competitor's recent videos
- [ ] Step 2: Classify video types and topics
- [ ] Step 3: Calculate performance metrics
- [ ] Step 4: Identify patterns and top performers
- [ ] Step 5: (Optional) Compare with own channel
- [ ] Step 6: Deliver strategy report
第 1 步:抓取频道

推荐 — run_actor.js(自动处理等待、输出和文件保存):

# Quick answer (prints table to chat)
node scripts/run_actor.js \
  --actor "apidojo~youtube-scraper" \
  --input '{"param": "value"}'

# Save as CSV
node scripts/run_actor.js \
  --actor "apidojo~youtube-scraper" \
  --input '{"param": "value"}' \
  --output YYYY-MM-DD_results.csv --format csv

# Save as JSON
node scripts/run_actor.js \
  --actor "apidojo~youtube-scraper" \
  --input '{"param": "value"}' \
  --output YYYY-MM-DD_results.json --format json

必须在环境变量或 .env 文件中设置 APIFY_TOKEN。

如果 Apify MCP 可用:

Tool: apify:run-actor
Actor: "apidojo~youtube-scraper"
Input:
{
  "startUrls": [{"url": "[COMPETITOR_CHANNEL_URL]"}],
  "maxResults": 30,
  "type": "video"
}

REST API 备用方案:

curl -X POST   "https://api.apify.com/v2/acts/apidojo~youtube-scraper/runs?token=$APIFY_TOKEN"   -H "Content-Type: application/json"   -d '{"startUrls": [{"url": "https://www.youtube.com/@competitorhandle"}], "maxResults": 30, "type": "video"}'
第 2 步:分类视频
video_type:
  TUTORIAL = title contains "how to", "step by step", "guide", "tutorial"
  LIST = title contains "top [N]", "[N] best", "[N] things", "mistakes"
  REVIEW = title contains "review", "tested", "worth it", "vs"
  THOUGHT_LEADERSHIP = opinion, trend analysis, "the future of", "why"
  NEWS = title contains news, announcement, breaking
  CASE_STUDY = "how [brand] grew", "inside", "behind the scenes"

video_length_tier:
  SHORT = < 5 min
  MEDIUM = 5–15 min
  LONG = 15–30 min
  DEEP_DIVE = > 30 min
第 3 步:性能指标
view_ratio = viewCount / subscriberCount  # corrected by subscriberCount at time of analysis

engagement_rate = (likeCount + commentCount) / viewCount * 100

publish_cadence = total_videos / (date_range_weeks)  # videos per week

表现最佳的视频: 按 viewCount 排序;同时找出观看量较低但 engagement_rate > 频道平均值的 2 倍的“隐藏佳作”。

第 4 步:特殊情况
  • 频道很新(< 6 个月、< 20 条视频):将 videos_to_analyze 调整为所有可用视频;注明样本有限
  • 所有视频的观看量都很低(每条 < 1K):频道可能表现不佳,或细分领域非常小;请提供绝对数值,而不只是比率
  • 一条爆红视频拉高了平均值:同时报告观看量中位数和平均值;标出异常值
  • 频道使用多种语言发布内容:按语言分组;分别分析各组

输出格式

# Competitor YouTube Strategy: [CHANNEL_NAME]
Videos analyzed: [N] | Subscribers: [N] | Avg Views: [N] | Avg Eng Rate: [X%] | Date: [DATE]

## Content Mix
| Video Type | % of Videos | Avg Views | Avg Eng Rate | Best Example |
|-----------|------------|-----------|-------------|-------------|
| Tutorial | [X%] | [N] | [X%] | [title] |
| List | [X%] | [N] | [X%] | |
| Review | [X%] | [N] | [X%] | |

## Video Length Performance
| Length Tier | % | Avg Views | Avg Eng Rate |
|------------|---|-----------|-------------|
| Short (< 5min) | [X%] | [N] | [X%] |

## Top 5 Videos (by Views)
| # | Title | Type | Views | Likes | Comments | Length | Eng Rate |
|---|-------|------|-------|-------|----------|--------|---------|

## Publishing Cadence
Videos/week: [X] | Best day to publish: [Day] | Monthly trend: [↑/↓/flat]

## Key Opportunities vs. Their Strategy
1. [Gap: e.g. "No case studies — this format gets 3× their avg views when they do it"]
2. [Opportunity]
3. [Their weakness]

故障排除

抓取器返回频道页面,但没有视频:尝试将频道名称用作关键词进行直接视频搜索;有些频道 URL 需要添加 /videos 后缀。 成熟频道的观看量很低:频道可能已衰退——检查最新视频的发布日期;频道可能已停止更新。 无法根据抓取结果确定频道订阅人数:订阅人数不可用时,可使用视频观看量与频道视频数量的比率作为频道健康状况的参考指标。

评论

支持 Markdown