From similarweb_analysis
This skill should be used when the user asks to "fetch similarweb data via browser", "analyze website traffic with dev-browser", or needs the browser-based (v1) SimilarWeb data extraction method. This is the fallback method when API approach is unavailable.
How this skill is triggered — by the user, by Claude, or both
Slash command
/similarweb_analysis:fetch_website_flow_analysisThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Extract website traffic data from SimilarWeb Pro via dev-browser automation.
Extract website traffic data from SimilarWeb Pro via dev-browser automation. This is the fallback method; prefer v2 (API + proxy) when available.
domain: Target domain (e.g. github.com), from command argumentsParse domain from arguments. If not provided, ask the user.
Set path variables:
PLUGIN_SCRIPTS="${CLAUDE_PLUGIN_ROOT}/scripts"
DEV_BROWSER_DIR="$(find ~/.claude/plugins/cache -path "*/dev-browser/*/skills/dev-browser" -type d 2>/dev/null | head -1)"
OUTPUT_DIR="web_data/{domain}"
mkdir -p "$OUTPUT_DIR"
bash "$PLUGIN_SCRIPTS/ensure_browser.sh" "$DEV_BROWSER_DIR"
Run fetch_overview.ts to extract page text:
cd "$DEV_BROWSER_DIR" && npx tsx "$PLUGIN_SCRIPTS/fetch_overview.ts" "{domain}" > "$OUTPUT_DIR/overview_raw.txt" 2>/dev/null
Check output file has content (at least 500 characters). If too short, the page may not have loaded or user is not logged in.
Then run parse_overview.ts to convert to Markdown:
cd "$DEV_BROWSER_DIR" && npx tsx "$PLUGIN_SCRIPTS/parse_overview.ts" "{domain}" "$OUTPUT_DIR/overview_raw.txt" "$OUTPUT_DIR"
Checkpoint: Confirm web_data/{domain}/overview.md is generated with reasonable content. Read and briefly show key metrics to the user.
Run fetch_referrals.ts to extract page text:
cd "$DEV_BROWSER_DIR" && npx tsx "$PLUGIN_SCRIPTS/fetch_referrals.ts" "{domain}" > "$OUTPUT_DIR/referrals_raw.txt" 2>/dev/null
Then run parse_referrals.ts to convert to CSV:
cd "$DEV_BROWSER_DIR" && npx tsx "$PLUGIN_SCRIPTS/parse_referrals.ts" "{domain}" "$OUTPUT_DIR/referrals_raw.txt" "$OUTPUT_DIR"
Checkpoint: Confirm web_data/{domain}/referrals_incoming.csv is generated with reasonable row count.
Important: Control context size to avoid the 20MB API request limit.
overview.md and present key metrics summaryreferrals_incoming.csv (header + Top 5) and report total row countraw_api_data.json — it may be several MB and will bloat conversation context| Error | Resolution |
|---|---|
| dev-browser server not running | ensure_browser.sh auto-starts and waits for ready |
| Popup blocking page | Scripts auto-detect and close "Close" buttons |
| Page load timeout or content too short | Retry once (wait 5s), then report and suggest checking login status |
| Not logged into SimilarWeb | Direct user to README's first-login instructions |
| Extracted data empty | Raw text is saved in *_raw.txt for manual inspection |
| Parse script error | Raw text is preserved, can be manually analyzed |
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.
Exports Microsoft Clarity user behavior analytics (heatmaps, session metrics, engagement) segmented by browser, device, country, source, and more via Composio integration.
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.