Agent skill
seo-domain-analyzer
Pull real SEO metrics for any domain using Apify scrapers for Semrush and Ahrefs data.
Filed under Content and SEO.
From edupegoretti/fluidz-skills · 116 skills · 0 · pushed 2026-03-11
What it does when it runs
Pull real SEO metrics for any domain using Apify scrapers for Semrush and Ahrefs data. Gets domain authority, organic traffic estimates, keyword rankings, backlink profiles, top performing pages, and auto-discovers competitors from keyword overlap. No Semrush/Ahrefs subscription needed — uses Apify actors that scrape public pages.
Read from the skill and the 2 files bundled beside it. A skill’s own description is written to be selected by an agent, so it describes the job and not the dependencies.
- Keys and connectors you must supply
- APIFY_API_TOKEN
- Hosts it reaches
- ahrefs.com
- api.apify.com
- www.google.com
- www.semrush.com
- www.similarweb.com
- Tool permissions it declares
- No
allowed-toolsin the frontmatter. It does act, so it runs under whatever permissions your session already grants. - Actions present in the files
- shellwrites filesnetwork
Install it
View source on GitHub ↗git clone --depth 1 --filter=blob:none --sparse https://github.com/edupegoretti/fluidz-skills.git /tmp/fluidz-skills git -C /tmp/fluidz-skills sparse-checkout set "skills/capabilities/seo-domain-analyzer" mkdir -p ~/.claude/skills/seo-domain-analyzer cp -R "/tmp/fluidz-skills/skills/capabilities/seo-domain-analyzer/." ~/.claude/skills/seo-domain-analyzer/
Picked up without a restart. A project skill of the same name is shadowed by your personal one. For one repository only, swap ~/.claude/skills for .claude/skills. Claude Code docs ↗
The folder is the same in every client that implements the format — 46 of them — so if yours is not above, only the destination changes.
Before you install: this skill will not complete its job on a bare agent. It needs APIFY_API_TOKEN, which you have to obtain separately.
The skill
Source on GitHub ↗Reproduced in full from edupegoretti/fluidz-skills/blob/a2cf697e2e8ec2ea517d85496e2d5c7f5dc44cd3/skills/capabilities/seo-domain-analyzer/SKILL.md, which is licensed MIT (repository). 1,124 words, 32 headings.
SEO Domain Analyzer
Pull real SEO performance data for any domain — no Semrush or Ahrefs subscription needed. Uses Apify actors that scrape Semrush/Ahrefs public pages to get authority scores, traffic estimates, keyword rankings, backlink profiles, and competitor discovery.
Quick Start
# Basic domain analysis
python3 skills/seo-domain-analyzer/scripts/analyze_domain.py \
--domain "example.com"
# With competitor comparison
python3 skills/seo-domain-analyzer/scripts/analyze_domain.py \
--domain "example.com" \
--competitors "competitor1.com,competitor2.com,competitor3.com"
# Check specific keywords
python3 skills/seo-domain-analyzer/scripts/analyze_domain.py \
--domain "example.com" \
--keywords "cloud cost optimization,reduce aws bill,finops tools"
# Save output
python3 skills/seo-domain-analyzer/scripts/analyze_domain.py \
--domain "example.com" --output clients/acme/research/seo-profile.json
Inputs
| Parameter | Required | Default | Description |
|---|---|---|---|
| domain | Yes | — | Domain to analyze (e.g., "example.com") |
| competitors | No | auto-discovered | Comma-separated competitor domains |
| keywords | No | auto-inferred | Specific keywords to check rankings for |
| output | No | stdout | Path to save JSON output |
| skip-backlinks | No | false | Skip Ahrefs backlink analysis (saves ~$0.10) |
Cost
| Data Source | Apify Actor | Est. Cost |
|---|---|---|
| Domain overview (Semrush) | devnaz/semrush-scraper | ~$0.10/domain |
| Backlink profile (Ahrefs) | radeance/ahrefs-scraper | ~$0.10/domain |
| Keyword rank checks | apify/google-search-scraper | ~$0.002/keyword |
| Typical full run | ~$0.50-1.00 | |
| With 3 competitors | ~$1.50-3.00 |
Process
Phase 1: Domain Overview (Semrush Data)
Use Apify actor devnaz/semrush-scraper to get:
# Actor: devnaz/semrush-scraper
# Input: domain URL
{
"urls": ["https://example.com"]
}
Extracted metrics:
- Authority Score (0-100)
- Organic monthly traffic estimate
- Organic keywords count (how many keywords the domain ranks for)
- Paid traffic estimate (if any)
- Backlinks count (Semrush's count)
- Referring domains count
- Top organic keywords (keyword, position, traffic share)
- Top competitors (competing domains by keyword overlap)
- Traffic trend (month-over-month direction)
Phase 2: Backlink Profile (Ahrefs Data)
Use Apify actor radeance/ahrefs-scraper to get:
# Actor: radeance/ahrefs-scraper
# Input: domain for backlink analysis
{
"urls": ["https://example.com"],
"mode": "domain-overview"
}
Extracted metrics:
- Domain Rating (DR) (0-100)
- URL Rating of homepage
- Referring domains count and trend
- Backlinks total count
- Top referring domains (which sites link to them)
- Anchor text distribution (branded vs keyword vs generic)
- Dofollow vs nofollow ratio
Phase 3: Keyword Rank Verification
For specific keywords (user-provided or auto-inferred from Phase 1), verify actual rankings using Google search:
# Actor: apify/google-search-scraper
# Input: keyword queries
{
"queries": "cloud cost optimization",
"maxPagesPerQuery": 1,
"resultsPerPage": 10,
"countryCode": "us",
"languageCode": "en"
}
For each keyword:
- Does the target domain appear in top 10?
- What position?
- What specific URL ranks?
- Who else ranks? (competitive landscape for that keyword)
Keyword sources (in priority order):
- User-provided keywords
- Top organic keywords from Semrush data (Phase 1)
- Auto-inferred from domain content (WebSearch
site:[domain]to see page titles)
Phase 4: Top Pages Analysis
From the Semrush data, extract the highest-traffic pages:
- URL
- Estimated monthly traffic
- Primary keyword(s) driving traffic
- Number of ranking keywords
If Semrush doesn't provide per-page data, supplement with:
- WebSearch:
site:[domain]and note which pages appear first (proxy for importance) - WebSearch:
site:[domain] blogfor top blog content
Phase 5: Competitor Discovery
Competitors are identified from multiple sources:
- Semrush competitor data (Phase 1) — domains competing for same keywords
- User-provided competitors — always included
- Google SERP competitors — from Phase 3 keyword checks, note which domains consistently appear
For each competitor, run a lighter version of Phase 1 (domain overview only):
- Authority score
- Organic traffic estimate
- Keyword count
- Top keywords
Phase 6: Output
JSON Output
{
"domain": "example.com",
"analysis_date": "2026-02-25",
"domain_metrics": {
"semrush_authority_score": 45,
"ahrefs_domain_rating": 52,
"organic_monthly_traffic": 28500,
"organic_keywords": 1240,
"backlinks": 8930,
"referring_domains": 412,
"traffic_trend": "increasing"
},
"top_pages": [
{
"url": "https://example.com/blog/reduce-aws-costs",
"estimated_traffic": 3200,
"top_keyword": "reduce aws costs",
"ranking_keywords": 45
}
],
"keyword_rankings": [
{
"keyword": "cloud cost optimization",
"position": 4,
"url": "https://example.com/blog/cloud-cost-optimization-guide",
"serp_competitors": ["vantage.sh", "antimetal.com", "finout.io"]
}
],
"backlink_profile": {
"domain_rating": 52,
"total_backlinks": 8930,
"referring_domains": 412,
"dofollow_ratio": 0.78,
"top_referring_domains": ["techcrunch.com", "producthunt.com", ...],
"anchor_text_distribution": {
"branded": 0.45,
"keyword": 0.22,
"generic": 0.18,
"url": 0.15
}
},
"competitors": [
{
"domain": "competitor1.com",
"authority_score": 62,
"organic_traffic": 45000,
"organic_keywords": 2100,
"keyword_overlap": 340
}
]
}
Markdown Summary (also generated)
# SEO Domain Profile: example.com
**Date:** 2026-02-25
## Domain Metrics
| Metric | Value |
|--------|-------|
| Semrush Authority Score | 45/100 |
| Ahrefs Domain Rating | 52/100 |
| Monthly Organic Traffic | ~28,500 |
| Organic Keywords | 1,240 |
| Backlinks | 8,930 |
| Referring Domains | 412 |
| Traffic Trend | Increasing |
## Top Performing Pages
| # | URL | Est. Traffic | Top Keyword |
|---|-----|-------------|-------------|
| 1 | /blog/reduce-aws-costs | 3,200 | reduce aws costs |
| ... |
## Keyword Rankings
| Keyword | Position | URL | SERP Competitors |
|---------|----------|-----|-----------------|
| cloud cost optimization | #4 | /blog/cloud-cost... | vantage.sh, antimetal.com |
| ... |
## Backlink Profile
- Domain Rating: 52/100
- Referring Domains: 412
- Dofollow Ratio: 78%
- Top linking sites: TechCrunch, Product Hunt, ...
## Competitor Comparison
| Domain | Authority | Traffic | Keywords | Overlap |
|--------|-----------|---------|----------|---------|
| example.com | 45 | 28.5K | 1,240 | — |
| competitor1.com | 62 | 45K | 2,100 | 340 |
| ... |
Tips
- Semrush scraper data quality varies. The Apify actors scrape public Semrush pages, which show limited data for non-subscribers. Traffic estimates and top keywords are available, but detailed per-page breakdowns may be partial.
- Combine with site-content-catalog to get both the content inventory AND performance data — together they tell you what content exists AND which pieces actually drive traffic.
- Keyword rank verification via Google is the most reliable data point. Semrush/Ahrefs estimates can be off, but checking actual SERPs gives ground truth.
- Run competitors lighter. Full backlink analysis on 5 competitors gets expensive. Domain overview (Semrush only) is usually sufficient for comparison.
- Apify actors may break. These scrape Semrush/Ahrefs public pages, which can change. If an actor fails, fall back to the free
seo-traffic-analyzerskill which uses web search probes.
Fallback: Free Mode
If APIFY_API_TOKEN is not set or Apify actors fail, the script falls back to:
- WebSearch probes (like
seo-traffic-analyzerskill) site:[domain]for indexed page count- SimilarWeb free tier for traffic estimates
- Manual Google SERP checks for keyword rankings
This gives less precise data but still produces a useful report.
Dependencies
- Python 3.8+
requestslibraryAPIFY_API_TOKENenv var (for Apify mode; falls back to free probes without it)
Files bundled with it
These load only when the skill asks for them, so they cost nothing until it runs.
Other skills for the same job
Different authors, same problem. Matched on the words in the skill name, across every library in the catalogue except this one.
- ai-seo by coreyhaines31 · 45,947
- programmatic-seo by coreyhaines31 · 45,947
- seo-audit by coreyhaines31 · 45,947
- seo-ops by ericosiu · 3,449
- write-seo-geo-content by onvoyage-ai · 1,291
- domain-research by OpenClaudia · 664
- programmatic-seo by OpenClaudia · 664
- seo-audit by OpenClaudia · 664
Need help setting it up?
This page tells you what seo-domain-analyzer does and what it needs. Cheetah builds the agent setup it runs inside: data, CRM, sequencing and the guardrails.
Book a call →The directory stays free. There is nothing gated behind this.