tiktok-research
Research high-performing TikTok videos from tracked accounts using Apify's TikTok Scraper. Identifies outlier content, analyzes top 5 videos with AI, and generates reports with actionable hook formulas. Use when asked to: - Find trending TikTok content in a niche - Research what's performing on TikT
By bradautomates · 1,167 installs
npx skills add bradautomates/head-of-content --skill tiktok-research
Source repository · Upstream listing
TikTok Research
Research high performing TikTok videos, identify outliers, and analyze top video content for hooks and structure.
Prerequisites
APIFY TOKEN environment variable or in .env
GEMINI API KEY environment variable or in .env
apify client and google genai Python packages
Accounts configured in .claude/context/tiktok accounts.md
Verify setup:
Workflow
1. Create Run Folder
2. Fetch Content
Parameters:
days : Days back to search (default: 30)
limit : Max videos per account (default: 50)
sorting : "latest", "popular", or "oldest" (default: latest)
usernames : Override accounts file with specific usernames
3. Identify Outliers
Output JSON contains:
total videos : Number of videos analyzed
outlier count : Number of outliers found
topics : Top hashtags, sounds, and keywords
accounts : List of accounts analyzed
outliers : Array of outlier videos with engagement metrics
4. Analyze Top Videos with AI
Extracts from each video:
Hook technique and replicable formula
Content structure and sections
Retention techniques
CTA strategy
See the video content analyzer skill for full output schema and hook/format types.
5. Generate Report
Read {RUN FOLDER}/outliers.json and {RUN FOLDER}/video analysis.json , then generate {RUN FOLDER}/report.md .
Report Structure:
Focus on actionable insights. The "Top Performing Hooks" section with replicable formulas should be prominent.
Quick Reference
Full pipeline:
Then read both JSON files and generate the report.
Engagement Metrics
Engagement Score : likes + (3 x comments) + (2 x shares) + (2 x saves) + (0.05 x views)
Outlier Detection : Videos with engagement rate mean + (threshold x std dev)
Engagement Rate : (score / followers) x 100
TikTok Specific Fields
diggCount : Likes/hearts
shareCount : Shares
playCount : Video views
commentCount : Comments
collectCount : Saves/bookmarks
authorFollowers : Creator's follower count
musicName : Sound used in video
musicOriginal : Whether sound is original