apify-trend-analysis
它能做什么
这个工具可以在 Google、Instagram、YouTube、TikTok 等平台上查找并追踪热门趋势,帮你发现当下什么话题最火,从而规划内容。
适用场景
- ✓发现当前哪些话题比较热门。
- ✓查看某些话题标签(hashtag)下大家在讨论什么。
- ✓寻找可能会爆火的内容创意。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/apify-trend-analysis/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“下周 TikTok 上的热门视频有哪些?”
每周 5 个新技能,1 分钟读完。
工作原理
工具会使用特定程序从不同平台收集数据。它会先确认你想了解什么,再收集信息,最后给你一份摘要或包含结果的文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Trend Analysis
Discover and track emerging trends using Apify Actors to extract data from multiple platforms.
Prerequisites
(No need to check it upfront)
.envfile withAPIFY_TOKEN- Node.js 20.6+ (for native
--env-filesupport) mcpcCLI tool:npm install -g @apify/mcpc
Workflow
Copy this checklist and track progress:
Task Progress:
- [ ] Step 1: Identify trend 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 Trend Type
Select the appropriate Actor based on research needs:
| User Need | Actor ID | Best For |
|---|---|---|
| Search trends | apify/google-trends-scraper |
Google Trends data |
| Hashtag tracking | apify/instagram-hashtag-scraper |
Hashtag content |
| Hashtag metrics | apify/instagram-hashtag-stats |
Performance stats |
| Visual trends | apify/instagram-post-scraper |
Post analysis |
| Trending discovery | apify/instagram-search-scraper |
Search trends |
| Comprehensive tracking | apify/instagram-scraper |
Full data |
| API-based trends | apify/instagram-api-scraper |
API access |
| Engagement trends | apify/export-instagram-comments-posts |
Comment tracking |
| Product trends | apify/facebook-marketplace-scraper |
Marketplace data |
| Visual analysis | apify/facebook-photos-scraper |
Photo trends |
| Community trends | apify/facebook-groups-scraper |
Group monitoring |
| YouTube Shorts | streamers/youtube-shorts-scraper |
Short-form trends |
| YouTube hashtags | streamers/youtube-video-scraper-by-hashtag |
Hashtag videos |
| TikTok hashtags | clockworks/tiktok-hashtag-scraper |
Hashtag content |
| Trending sounds | clockworks/tiktok-sound-scraper |
Audio trends |
| TikTok ads | clockworks/tiktok-ads-scraper |
Ad trends |
| Discover page | clockworks/tiktok-discover-scraper |
Discover trends |
| Explore trends | clockworks/tiktok-explore-scraper |
Explore content |
| Trending content | clockworks/tiktok-trends-scraper |
Viral content |
Step 2: Fetch Actor Schema
Fetch the Actor's input schema and details dynamically using mcpc:
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"
Replace ACTOR_ID with the selected Actor (e.g., apify/google-trends-scraper).
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 --env-file=.env ${CLAUDE_PLUGIN_ROOT}/reference/scripts/run_actor.js \
--actor "ACTOR_ID" \
--input 'JSON_INPUT'
CSV:
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:
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
Step 5: Summarize Findings
After completion, report:
- Number of results found
- File location and name
- Key trend insights
- Suggested next steps (deeper analysis, content opportunities)
Error Handling
APIFY_TOKEN not found - Ask user to create .env with APIFY_TOKEN=your_token
mcpc not found - Ask user to install 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
When to Use
Use this skill when tackling tasks related to its primary domain or functionality as described above.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
…
常见问题
我需要有 Apify 账号吗?
需要。工具运行需要一个 Apify API 令牌(token)。
它能分析哪些社交媒体平台?
它可以分析 Google Trends、Instagram、Facebook、YouTube 和 TikTok。
结果可以保存吗?
可以。你可以选择把结果保存为 CSV 或 JSON 格式,也可以直接在聊天中查看简短摘要。
详情
作者的原始描述
Discover and track emerging trends across Google Trends, Instagram, Facebook, YouTube, and TikTok to inform content strategy.
热度
- GitHub 星标
- 48k
- 排名
- #3795
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。