Multi-step pipeline that finds outlier TikTok videos from tracked accounts and generates a hook-focused research report.

skills.sh installs
1.3K
GitHub stars
332
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full flow: fetch recent posts via Apify, flag outliers by engagement, run AI analysis on the top 5, and write a report
  • Includes 3 scripts (fetch_tiktok.py, analyze_posts.py, and analyze_videos.py from video-content-analyzer) plus a report template with hook formulas and CTA tables
  • Uses an engagement score weighting comments, shares, and saves above likes, with outliers set by a configurable standard-deviation threshold
  • Designed for creators and marketers researching niche content, reading accounts from .claude/context/tiktok-accounts.md

Install

$ npx -y skills add bradautomates/head-of-content --skill tiktok-research -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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:

python3 -c "
import os
try:
    from dotenv import load_dotenv
    load_dotenv()
except ImportError:
    pass
from apify_client import ApifyClient
from google import genai
assert os.environ.get('APIFY_TOKEN'), 'APIFY_TOKEN not set'
assert os.environ.get('GEMINI_API_KEY'), 'GEMINI_API_KEY not set'
" && echo "Prerequisites OK"

Workflow

1. Create Run Folder

RUN_FOLDER="tiktok-research/$(date +%Y-%m-%d_%H%M%S)" && mkdir -p "$RUN_FOLDER" && echo "$RUN_FOLDER"

2. Fetch Content

python3 .claude/skills/tiktok-research/scripts/fetch_tiktok.py \
  --days 30 \
  --limit 50 \
  --sorting latest \
  --output {RUN_FOLDER}/raw.json

Details

Repository
github.com/bradautomates/head-of-content
Categories
Social Media, Data Science & Analytics, Research & Academic
First seen
Apr 16, 2026

More from bradautomates/head-of-content

All 4

Similar to Tiktok Research

More Social Media