$npx -y skills add Affitor/affiliate-skills --skill traffic-analyzerAnalyze website traffic, global rank, engagement metrics, and traffic sources for any domain. Use this skill to evaluate affiliate program websites, compare competitor traffic, assess advertiser strength, or understand where an audience comes from. Triggers on: "analyze traffic f
| 1 | # Traffic Analyzer |
| 2 | |
| 3 | Analyze website traffic, engagement, and traffic sources for any domain. Goes beyond |
| 4 | raw data — scores the domain, interprets what the traffic patterns mean for affiliate |
| 5 | promotion, and recommends whether the program is worth your time. |
| 6 | |
| 7 | A tool returns numbers. This skill returns a verdict. |
| 8 | |
| 9 | **Use cases:** |
| 10 | - Is this affiliate program's website healthy? (High traffic = more brand awareness = easier conversions) |
| 11 | - Where does a competitor get their traffic? (Find channels they're ignoring) |
| 12 | - Compare 2-3 affiliate programs by advertiser website strength |
| 13 | - Validate a niche by checking traffic to the top programs in it |
| 14 | |
| 15 | ## Stage |
| 16 | |
| 17 | This skill belongs to Stage S1: Research |
| 18 | |
| 19 | ## When to Use |
| 20 | |
| 21 | - Before committing to promote an affiliate program — check if the advertiser is legit |
| 22 | - When comparing multiple programs — traffic is a proxy for brand strength |
| 23 | - When `competitor-spy` identifies competitor sites — analyze their traffic sources |
| 24 | - When evaluating a niche — check if the top programs have healthy traffic |
| 25 | - When an advertiser claims "millions of users" — verify with data |
| 26 | |
| 27 | ## Input Schema |
| 28 | |
| 29 | ```yaml |
| 30 | domains: string[] # (required) 1-5 domains to analyze — "heygen.com", "synthesia.io" |
| 31 | compare: boolean # (optional, default: true if 2+ domains) Side-by-side comparison |
| 32 | focus: string # (optional, default: "affiliate") |
| 33 | # "affiliate" — score from promoter perspective |
| 34 | # "competitor" — analyze as a competitor site |
| 35 | # "advertiser" — evaluate advertiser health |
| 36 | ``` |
| 37 | |
| 38 | ## Workflow |
| 39 | |
| 40 | ### Step 1: Gather Traffic Data |
| 41 | |
| 42 | **With SimilarWeb API (see `shared/references/social-data-providers.md`):** |
| 43 | |
| 44 | If `social_data_config.similarweb` is configured: |
| 45 | - Call SimilarWeb API for each domain |
| 46 | - Returns: global rank, country rank, visits, pages/visit, avg duration, bounce rate, traffic sources |
| 47 | |
| 48 | **Without API (web_search fallback):** |
| 49 | |
| 50 | For each domain: |
| 51 | 1. `web_search "[domain] traffic similarweb"` → often shows rank and visit estimates in snippets |
| 52 | 2. `web_search "[domain] site traffic statistics"` → third-party reports |
| 53 | 3. `web_search "site:[domain]"` → Google index count as proxy for content depth |
| 54 | 4. `web_search "[domain] alexa rank"` OR `"[domain] semrush traffic"` → alternative sources |
| 55 | 5. `web_fetch "https://www.similarweb.com/website/[domain]/"` → extract visible data from SimilarWeb free page (may be limited) |
| 56 | |
| 57 | Note: web_search data is approximate. SimilarWeb API provides exact metrics. |
| 58 | |
| 59 | ### Step 2: Analyze Core Metrics |
| 60 | |
| 61 | For each domain, analyze and interpret: |
| 62 | |
| 63 | **Traffic Volume:** |
| 64 | ```yaml |
| 65 | global_rank: number # Lower = better. <10K = major site, <100K = solid, <1M = niche |
| 66 | country_rank: number # Rank in primary country |
| 67 | monthly_visits: string # "1.2M", "350K", "45K" |
| 68 | visits_trend: string # "growing" | "stable" | "declining" (if historical data available) |
| 69 | ``` |
| 70 | |
| 71 | **Engagement Quality:** |
| 72 | ```yaml |
| 73 | pages_per_visit: number # >3 = good engagement, <2 = bouncy |
| 74 | avg_visit_duration: string # ">3 min" = engaged, "<1 min" = low quality |
| 75 | bounce_rate: number # <40% = excellent, 40-60% = normal, >60% = concerning |
| 76 | ``` |
| 77 | |
| 78 | **Traffic Sources Breakdown:** |
| 79 | ```yaml |
| 80 | direct: number # % — brand strength indicator |
| 81 | search: number # % — SEO strength |
| 82 | social: number # % — social media presence |
| 83 | referral: number # % — partnership/affiliate ecosystem |
| 84 | paid: number # % — ad spend (high paid = advertiser invests in acquisition) |
| 85 | ``` |
| 86 | |
| 87 | ### Step 3: Interpret for Use Case |
| 88 | |
| 89 | **For affiliate promoters (`focus: "affiliate"`):** |
| 90 | |
| 91 | Score the domain as an affiliate promotion target: |
| 92 | |
| 93 | | Signal | Good (8-10) | OK (5-7) | Red Flag (1-4) | |
| 94 | |--------|-------------|----------|-----------------| |
| 95 | | Monthly visits | >500K | 50K-500K | <50K | |