ab-test-generator
Generate A/B test variants for affiliate content. Triggers on: "create A/B test", "test my headline", "optimize my CTA", "generate variants", "split test…
Scan social platforms for top-performing content by engagement before you create anything. Use this skill when the user wants to see what content is winning in a niche, find viral content patterns, research what's working on YouTube/TikTok/X/Reddit, benchmark engagement,
$ npx -y skills add Affitor/affiliate-skills --skill trending-content-scout --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/trending-content-scoutContext preview
The summary Claude sees to decide when to auto-load this skill.
Scan social platforms for top-performing content by engagement before you create anything. Use this skill when the user wants to see what content is winning in a niche, find viral content patterns, research what's working on YouTube/TikTok/X/Reddit, benchmark engagement,
name: trending-content-scout description: > Scan social platforms for top-performing content by engagement before you create anything. Use this skill when the user wants to see what content is winning in a niche, find viral content patterns, research what's working on YouTube/TikTok/X/Reddit, benchmark engagement, discover content gaps, or says "what content is working for [topic]", "show me top performing content about [keyword]", "what's trending in [niche]", "find viral content about [product]", "content research for [keyword]", "what gets views in [niche]", "engagement analysis for [topic]", "scout the competition", "what videos are getting the most views about [keyword]", "social listening for [topic]", "trending content in [niche]", "top content analysis", "what hooks work for [keyword]", "content intelligence", "find winning formats". license: MIT version: "1.0.0" tags: ["affiliate-marketing", "research", "social-data", "engagement", "trending", "content-intelligence"] compatibility: "Claude Code, ChatGPT, Gemini CLI, Cursor, Windsurf, OpenClaw, any AI agent" metadata: author: affitor version: "1.0" stage: S1-Research
Scan YouTube, TikTok, X, and Reddit for top-performing content by real engagement data. Find winning formats, hooks, and content gaps — **before** you create anything. Stop guessing what works. See what's already winning, then build on proven patterns.
This skill is the **data foundation** for the entire content pipeline. Run it first, then feed its output into `content-angle-ranker`, `viral-post-writer`, `tiktok-script-writer`, or any S2/S3 content skill.
This skill belongs to Stage S1: Research
keyword: string # (required) Search keyword — "AI video tools", "email marketing tips"
platforms: string[] # (optional, default: ["youtube", "tiktok"])
# Options: "youtube" | "tiktok" | "x" | "reddit"
sort_by: string # (optional, default: "engagement_score")
# Options: "views" | "likes" | "engagement_score" | "recency"
time_range: string # (optional, default: "30d") "7d" | "30d" | "90d" | "all"
limit: number # (optional, default: 20) Max content pieces to analyze
product: object # (optional) Specific product to focus on
name: string # "HeyGen"
url: string # "https://heygen.com"No `api_config` needed in input — skills auto-detect configuration from conversation context, project settings, or CLAUDE.md. See `shared/references/social-data-providers.md` for setup instructions.
Check if the user has API configuration available:
IF social_data_config exists in context/settings for a platform: → Use configured API for that platform → Structured data: exact views, likes, comments, shares ELSE (default — no API): → Use web_search + web_fetch → Still effective — see fallback methods below
**API mode** (when configured):
For each platform in `platforms`:
See `shared/references/social-data-providers.md` for specific API endpoints and config.
**web_search fallback** (no API — default):
For YouTube: web_search "[keyword] site:youtube.com" → top 10-15 video results For each result: extract title, channel, view count from search snippet Optional: web_fetch individual video pages for likes/comments (slower) For TikTok: web_search "[keyword] tiktok" → find popular TikTok content web_search "[keyword] site:tiktok.com" → direct TikTok results Extract: titles, creators, approximate view counts from snippets For X: web_search "[keyword] site:x.com" OR "[keyword] site:twitter.com" → top tweets Extract: tweet text, author, engagement signals from snippets For Reddit: web_search "[keyword] site:reddit.com" → top Reddit discussions web_fetch top results → extract upvotes, comments from page web_search "reddit [keyword] top upvoted" → find popular threads
Note which data source was used — include in output for transparency.
For each content piece found, extract and normalize into a standard schema:
ContentItem:
title: string # Video title, tweet text (first line), post title
url: string # Direct link to content
platform: string # "youtube" | "tiktok" | "x" | "reddit"
creator: string # Channel name, @handle, username
views: number # View/impression count (0 if unavailable)
likes: number # Like/upvote count (0 if unavailable)
comments: number # Comment/reply count (0 if unavailable)
shares: number # Share/retweet count (0 if unavailable)
published_date: string # ISO date or relative ("3 days ago")
duration: string # Video duration ("2:34") — video only
engagement_score: number # Calculated — see formula below
content_format: string # Detected format (see classification below)
hook_type: string # Detected hook style (see classification below)**Engagement Score For
Turn any AI into your affiliate marketing team. 52 AI-powered skills across 8 stages with a closed-loop flywheel.
Generate A/B test variants for affiliate content. Triggers on: "create A/B test", "test my headline", "optimize my CTA", "generate variants", "split test…
Set up affiliate conversion tracking with UTM parameters and link tagging. Triggers on: "set up tracking", "create UTM links", "track my affiliate links",…
Analyze site's internal link structure and optimize for hub-and-spoke SEO architecture. Triggers on: "optimize internal links", "internal linking", "link…
Generate affiliate performance reports with KPIs and recommendations. Triggers on: "show my affiliate report", "how are my programs doing", "performance…
Audit affiliate blog posts and landing pages for SEO issues. Triggers on: "audit my blog post for SEO", "check my SEO", "SEO review", "improve my rankings",…
Repurpose one piece of affiliate content into multiple formats. Triggers on: "repurpose my content", "turn my blog into tweets", "cross-post this", "content…