From similarweb_analysis
This skill should be used when the user asks to "fetch similarweb data", "analyze website traffic", "get referral sources", "similarweb analysis", or wants to extract SimilarWeb traffic data for a domain via API with proxy IP rotation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/similarweb_analysis:fetch_website_flow_analysis_v2The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Extract website traffic data from SimilarWeb internal APIs with Qingyun proxy IP rotation.
Extract website traffic data from SimilarWeb internal APIs with Qingyun proxy IP rotation. Faster and more stable than v1 (dev-browser).
requests packagePROXY_BIZ_ID, PROXY_AUTH_KEY, PROXY_AUTH_PWD, PROXY_API_URL, SW_COOKIE_FILE (see README)/sw_login to refresh when expired)domain: Target domain (e.g. github.com), from command arguments--no-proxy: Optional, skip proxy and connect directly (for local testing)Parse domain from arguments. If not provided, ask the user.
Check environment variables (unless using --no-proxy):
python3 -c "import os; [print(f' {k}: {'set' if os.environ.get(k) else 'NOT SET'}') for k in ['PROXY_BIZ_ID','PROXY_AUTH_KEY','PROXY_AUTH_PWD','PROXY_API_URL','SW_COOKIE_FILE']]"
All 5 must be set. If any is missing, direct the user to README's environment variable section and stop.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/sw_check_cookie.py"
If cookie is invalid, direct user to run /sw_login and stop.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/sw_fetch.py" "{domain}"
Or without proxy:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/sw_fetch.py" "{domain}" --no-proxy
The script will:
web_data/{domain}/raw_api_data.jsonweb_data/{domain}/overview.mdweb_data/{domain}/referrals_incoming.csvCheckpoint: Confirm output files are generated. On 403 errors with valid cookie, the script auto-retries with new IP (up to 3 times).
Important: Control context size to avoid the 20MB API request limit.
overview.md and present key metrics summary (visits, ranks, device split, traffic sources)referrals_incoming.csv (header + Top 5) and report total row countraw_api_data.json — it contains raw JSON from 11 APIs and may be several MB; loading it will bloat the conversation context| Error | Resolution |
|---|---|
| Cookie invalid/expired | Direct user to run /sw_login |
| Proxy channel busy | Script auto-retries (up to 3 times, 30s apart) |
| Proxy IP blocked by SimilarWeb (403) | Auto-retry with new IP |
| SSL/connection error | Auto-retry with new IP |
| Proxy API unavailable | Suggest --no-proxy flag (note IP ban risk) |
| Python/requests not installed | Direct user to install |
npx claudepluginhub rolanyan/web_analysis_marketplace --plugin similarweb_analysisAnalyzes website traffic, global rank, engagement metrics, and traffic sources for any domain. Evaluates affiliate program websites, compares competitor traffic, and assesses advertiser strength.
Automates SimilarWeb website traffic, rankings, and digital market intelligence tasks via Rube MCP (Composio). Always searches tools first for current schemas.
Inspects PostHog Live tab for real-time web analytics: users online, pageviews, top pages, referrers, devices, browsers, countries, and bot traffic. Answers 'who is on my site right now?' and identifies bots.