[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CNHHJHHHVJSG176RNX0M0N":3,"skill-same:01M7CNHHJHHHVJSG176RNX0M0N":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":13,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":50},"01M7CNHHJHHHVJSG176RNX0M0N","seo-backlinks",null,"Backlink profile analysis: referring domains, anchor text distribution, toxic link detection, competitor gap analysis. Works with free APIs (Moz, Bing Webmaster, Common Crawl) and DataForSEO extension. Use when user says backlinks, link profile, referring domains, anchor text, toxic links, link gap, link building, disavow, or backlink audit.","bwpahmed\u002FLifeOS","bwpahmed","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F234085842?v=4","01M7CMXA48YN1ZAY7M1JFFE6C3","01M7CMXA50BHWABHN32GWXPDDP",0,"MIT","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo-backlinks\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo-backlinks\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: seo-backlinks\ndescription: \"Backlink profile analysis: referring domains, anchor text distribution, toxic link detection, competitor gap analysis. Works with free APIs (Moz, Bing Webmaster, Common Crawl) and DataForSEO extension. Use when user says backlinks, link profile, referring domains, anchor text, toxic links, link gap, link building, disavow, or backlink audit.\"\nuser-invocable: true\nargument-hint: \"\u003Curl>\"\nlicense: MIT\ncompatibility: \"Free: Common Crawl + verify always available. Optional: Moz API, Bing Webmaster, Keywords Everywhere (free signup). Premium: DataForSEO extension.\"\nmetadata:\n  author: AgriciDaniel\n  version: \"2.3.1\"\n  category: seo\n---\n\n# Backlink Profile Analysis\n\n## Source Detection\n\nBefore analysis, detect available data sources:\n\n1. **DataForSEO MCP** (premium): Check if `dataforseo_backlinks_summary` tool is available\n2. **Moz API** (free signup): `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run backlinks_auth.py --check moz --json`\n3. **Bing Webmaster** (free signup): `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run backlinks_auth.py --check bing --json`\n4. **Keywords Everywhere** (free signup, single-metric): `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run backlinks_auth.py --check keywordseverywhere --json`\n5. **Common Crawl** (always available): Domain-level graph with PageRank\n6. **Verification Crawler** (always available): Checks if known backlinks still exist\n\nRun `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run backlinks_auth.py --check --json` to detect all sources at once.\n\nIf no sources are configured beyond the always-available tier:\n- Still produce a report using Common Crawl domain metrics\n- Suggest: \"Run `\u002Fseo backlinks setup` to add free Moz and Bing API keys for richer data\"\n\n## Quick Reference\n\n| Command | Purpose |\n|---------|---------|\n| `\u002Fseo backlinks \u003Curl>` | Full backlink profile analysis (uses all available sources) |\n| `\u002Fseo backlinks gap \u003Curl1> \u003Curl2>` | Competitor backlink gap analysis |\n| `\u002Fseo backlinks toxic \u003Curl>` | Toxic link detection and disavow recommendations |\n| `\u002Fseo backlinks new \u003Curl>` | New and lost backlinks (DataForSEO only) |\n| `\u002Fseo backlinks verify \u003Curl> --links \u003Cfile>` | Verify known backlinks still exist |\n| `\u002Fseo backlinks setup` | Show setup instructions for free backlink APIs |\n\n## Analysis Framework\n\nProduce all 7 sections below. Each section lists data sources in preference order.\n\n### 1. Profile Overview\n\n**DataForSEO:** `dataforseo_backlinks_summary` → total backlinks, referring domains, domain rank, follow ratio, trend.\n\n**Moz API:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run moz_api.py metrics \u003Curl> --json` → Domain Authority, Page Authority, Spam Score, linking root domains, external links.\n\n**Keywords Everywhere:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run keywordseverywhere_api.py rank \u003Cdomain> --json` → 0-10 domain rank only (no link counts). Use as a fallback when Moz isn't configured; do not use in place of Moz when both are available.\n\n**Common Crawl:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run commoncrawl_graph.py \u003Cdomain> --json` → PageRank, harmonic centrality, and low-confidence rank\u002Fpresence data.\n\n**Scoring:**\n\n| Metric | Good | Warning | Critical |\n|--------|------|---------|----------|\n| Referring domains | >100 | 20-100 | \u003C20 |\n| Follow ratio | >60% | 40-60% | \u003C40% |\n| Domain diversity | No single domain >5% | 1 domain >10% | 1 domain >25% |\n| Trend | Growing or stable | Slow decline | Rapid decline (>20%\u002Fquarter) |\n\n### 2. Anchor Text Distribution\n\n**DataForSEO:** `dataforseo_backlinks_anchors`\n\n**Moz API:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run moz_api.py anchors \u003Curl> --json`\n\n**Bing Webmaster:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run bing_webmaster.py links \u003Curl> --json` (extract anchor text from link details)\n\n**Healthy distribution benchmarks:**\n\n| Anchor Type | Target Range | Over-Optimization Signal |\n|-------------|-------------|-------------------------|\n| Branded (company\u002Fdomain name) | 30-50% | \u003C15% |\n| URL\u002Fnaked link | 15-25% | N\u002FA |\n| Generic (\"click here\", \"learn more\") | 10-20% | N\u002FA |\n| Exact match keyword | 3-10% | >15% |\n| Partial match keyword | 5-15% | >25% |\n| Long-tail \u002F natural | 5-15% | N\u002FA |\n\nFlag if exact-match anchors exceed 15% as a review heuristic; it may indicate unnatural or link-spam patterns.\n\n### 3. Referring Domain Quality\n\n**DataForSEO:** `dataforseo_backlinks_referring_domains`\n\n**Moz API:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run moz_api.py domains \u003Curl> --json` → domains with DA scores\n\n**Common Crawl:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run commoncrawl_graph.py \u003Cdomain> --json` → domain-level rank\u002Fpresence data, no verified referring-domain counts\n\nAnalyze:\n- **TLD distribution**: .edu, .gov, .org = high authority. Excessive .xyz, .info = low quality\n- **Country distribution**: Match target market. 80%+ from irrelevant countries = PBN signal\n- **Domain rank distribution**: Healthy profiles have links from all authority tiers\n- **Follow\u002Fnofollow per domain**: Sites that only nofollow = limited SEO value\n\n### 4. Toxic Link Detection\n\n**DataForSEO:** `dataforseo_backlinks_bulk_spam_score` + toxic patterns from reference\n\n**Moz API:** Raw vendor spam_score from `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run moz_api.py metrics \u003Curl> --json` (source-label the value; apply thresholds only if verified against current Moz docs)\n\n**Verification Crawler:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run verify_backlinks.py --target \u003Curl> --links \u003Cfile> --json` (verify suspicious links still exist)\n\n**High-risk indicators (flag immediately):**\n- Links from known PBN (Private Blog Network) domains\n- Unnatural anchor text patterns (100% exact match from a domain)\n- Links from penalized or deindexed domains\n- Mass directory submissions (50+ directory links)\n- Link farms (sites with 10K+ outbound links per page)\n- Paid link patterns (footer\u002Fsidebar links across all pages of a domain)\n\n**Medium-risk indicators (review manually):**\n- Links from unrelated niches\n- Reciprocal link patterns\n- Links from thin content pages (\u003C100 words)\n- Excessive links from a single domain (>50 backlinks from 1 domain)\n\nLoad `..\u002Fseo\u002Freferences\u002Fbacklink-quality.md` for the full 30 toxic patterns and disavow criteria.\n\n### 5. Top Pages by Backlinks\n\n**DataForSEO:** `dataforseo_backlinks_backlinks` with target type \"page\"\n\n**Moz API:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run moz_api.py pages \u003Cdomain> --json`\n\nFind:\n- Which pages attract the most backlinks\n- Pages with high-authority links (link magnets)\n- Pages with zero backlinks (internal linking opportunities)\n- 404 pages with backlinks (redirect opportunities to reclaim link equity)\n\n### 6. Competitor Gap Analysis\n\n**DataForSEO:** `dataforseo_backlinks_referring_domains` for both domains, then compare\n\n**Bing Webmaster:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run bing_webmaster.py compare \u003Curl1> \u003Curl2> --json`\nonly when both properties are registered and accessible to the same Bing API\naccount. For arbitrary competitors, use DataForSEO, Moz, or Common Crawl.\n\n**Moz API:** Compare DA\u002FPA between domains via `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run moz_api.py metrics \u003Curl> --json` for each\n\nOutput:\n- Domains linking to competitor but NOT to target = link building opportunities\n- Domains linking to both = validate existing relationships\n- Domains linking only to target = competitive advantage\n- Top 20 link building opportunities with domain authority\n\n### 7. New and Lost Backlinks\n\n**DataForSEO only:** `dataforseo_backlinks_backlinks` with date filters for 30\u002F60\u002F90 day changes\n\n**Verification Crawler:** For known links, verify current status with `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run verify_backlinks.py --target \u003Curl> --links \u003Cfile> --json`\n\n**Note:** Free sources cannot track new\u002Flost links over time. If this section is requested without DataForSEO, inform the user: \"Link velocity tracking requires the DataForSEO extension. Free sources provide point-in-time snapshots only.\"\n\n**Red flags:**\n- Sudden spike in new links (possible negative SEO attack)\n- Sudden loss of many links (site penalty or content removal)\n- Declining velocity over 3+ months (content not attracting links)\n\n## Backlink Health Score\n\nCalculate a 0-100 score. When mixing sources, apply confidence weighting:\n\n| Factor | Weight | Sources (preference order) | Confidence |\n|--------|--------|---------------------------|------------|\n| Referring domain count | 20% | DataForSEO > Moz | 1.0 \u002F 0.85 |\n| Domain quality distribution | 20% | DataForSEO > Moz DA distribution | 1.0 \u002F 0.85 |\n| Anchor text naturalness | 15% | DataForSEO > Moz > Bing anchors | 1.0 \u002F 0.85 \u002F 0.70 |\n| Toxic link ratio | 20% | DataForSEO > Moz spam score | 1.0 \u002F 0.85 |\n| Link velocity trend | 10% | DataForSEO only | 1.0 |\n| Follow\u002Fnofollow ratio | 5% | DataForSEO > Bing details | 1.0 \u002F 0.70 |\n| Geographic relevance | 10% | DataForSEO > Bing country | 1.0 \u002F 0.70 |\n\n**Data sufficiency gate:** Count how many of the 7 factors have at least one data source available.\n- **4+ factors with data:** Produce a numeric 0-100 score (redistribute missing weights proportionally)\n- **Fewer than 4 factors:** Do NOT produce a numeric score. Instead display:\n  ```\n  Backlink Health Score: INSUFFICIENT DATA (X\u002F7 factors scored)\n  ```\n  Show individual factor scores that ARE available with their source and confidence.\n  Recommend: \"Configure Moz API (free) for a scoreable profile. Run `\u002Fseo backlinks setup`\"\n\n### MUST NOT: score what you did not measure\n\n**When Common Crawl is the only available source, you MUST NOT produce a numeric\nscore of any kind** -- not a health score, not a per-factor score, not an\n\"approximate\" or \"estimated\" figure. Common Crawl supplies rank and presence\nsignals only. Report low-confidence rank\u002Fpresence data and the literal string\n`Not Assessed` in place of every number.\n\n**A finding written with `source: not-assessed` MUST NOT carry a numeric score.**\n\nA numeric score with fewer than 4 data sources is **misleading**: it implies poor\nhealth when the reality is that we simply lack data.\n\n### Validation gate (required, not optional)\n\nThis rule has been stated in this skill before and was violated anyway, so it is\nnow checkable. **Before writing any backlink output, run the validator:**\n\n```bash\n\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run validate_backlink_report.py --report \u003Creport>.json --json\n```\n\nPass the sources you actually collected (`cc_data`, `moz_data`, `bing_data`,\n`dataforseo_data`, `scoring_factors`, and your `findings` list). The\n`source_score_consistency` check fails the report with `status: FAIL` when:\n\n- a numeric score is present but no scoreable source (Moz, Bing, or DataForSEO)\n  supplied data -- i.e. the Common-Crawl-only case, and\n- any finding marked `source: not-assessed` carries a numeric `score`, `value`,\n  or `health_score`.\n\n**If the validator returns `status: FAIL`, do not present the report.** Fix the\nfindings -- replace the offending numbers with `Not Assessed` -- and re-run until\nit passes.\n\n## Output Format\n\n### Backlink Health Score: XX\u002F100 (or INSUFFICIENT DATA)\n\n| Section | Status | Score | Data Source |\n|---------|--------|-------|-------------|\n| Profile Overview | pass\u002Fwarn\u002Ffail | XX\u002F100 | Moz (0.85) |\n| Anchor Distribution | pass\u002Fwarn\u002Ffail | XX\u002F100 | Moz (0.85) |\n| Referring Domain Quality | pass\u002Fwarn\u002Ffail | XX\u002F100 | CC (0.50) |\n| Toxic Links | pass\u002Fwarn\u002Ffail | XX\u002F100 | Moz Spam (0.85) |\n| Top Pages | info | N\u002FA | Moz (0.85) |\n| Link Velocity | pass\u002Fwarn\u002Ffail | XX\u002F100 | DataForSEO only |\n\n### Critical Issues (fix immediately)\n### High Priority (fix within 1 month)\n### Medium Priority (ongoing improvement)\n### Link Building Opportunities (top 10)\n\n## Error Handling\n\n| Error | Cause | Resolution |\n|-------|-------|-----------|\n| No sources configured | No API keys, no DataForSEO | Run `\u002Fseo backlinks setup` |\n| Moz rate limit | Free tier: 1 req\u002F10s | Wait 10 seconds, retry. Built into script. |\n| Bing site not verified | Site not verified in Bing | Verify at https:\u002F\u002Fwww.bing.com\u002Fwebmasters |\n| CC download timeout | Large graph file, slow connection | Use `--timeout 180` flag |\n| DataForSEO unavailable | Extension not installed | Run `.\u002Fextensions\u002Fdataforseo\u002Finstall.sh` |\n| No backlink data returned | Domain too new or very small | Note: small sites may have \u003C10 backlinks |\n\n**Fallback cascade:**\n1. DataForSEO available? → Use as primary (confidence: 1.0)\n2. Moz configured? → Use for DA\u002FPA\u002Fspam\u002Fanchors (confidence: 0.85)\n3. Bing configured? → Use for registered-property links and comparison only\n   when both properties are accessible (confidence: 0.70)\n4. Moz not configured but Keywords Everywhere is? → Use for a Profile Overview\n   rank-only fallback (confidence: 0.60; single metric, no link counts\u002Fanchors)\n5. Always: Common Crawl for domain-level metrics (confidence: 0.50)\n6. Always: Verification crawler for known link checks (confidence: 0.95)\n7. Nothing works? → \"Run `\u002Fseo backlinks setup` to configure free APIs\"\n\n## Pre-Delivery Review (MANDATORY)\n\nBefore presenting any backlink analysis to the user, run this checklist internally.\nDo NOT skip this step. Fix any issues found before showing the report.\n\n### Fact-Check Every Claim\n- [ ] **Schema claims**: Did parse_html return `@type` for each block? If any `@type` is missing,\n      re-check, it may use `@graph` wrapper (valid JSON-LD, not malformed).\n- [ ] **\"link_removed\" findings**: Is the page JS-rendered? If `unverifiable_js`, say so, never\n      report a JS-rendered page as \"link removed\" (that's a false negative).\n- [ ] **H1 findings**: Are any H1s in the `h1_suspicious` list? If so, note they are likely\n      counters\u002Fstats, not semantic headings.\n- [ ] **Reciprocal links**: If site A links to site B AND B links back to A, flag it as a\n      reciprocal link pattern. Check outbound links against verified inbound sources.\n- [ ] **Health score**: Are 4+ of 7 factors scored? If not, report INSUFFICIENT DATA, never\n      show a misleading numeric score.\n\n### Verify Data Source Labels\n- [ ] Every metric in the report has a source label (e.g., \"Parsed (0.95)\", \"CC (0.50)\")\n- [ ] Every \"not found\" result distinguishes between \"not crawled\" vs \"below threshold\" vs \"error\"\n- [ ] Social media pages flagged as `unverifiable_js` (not `link_removed`)\n\n### Cross-Check Consistency\n- [ ] Platform detection matches actual signals (check for wp-content, shopify CDN, etc.)\n- [ ] Referring domain count in summary matches the actual verified links list\n- [ ] No claim is presented without a data source backing it\n\nIf ANY check fails, fix the finding before presenting. Never present inferred data as fact.\n\n## Post-Analysis\n\nAfter completing any backlink analysis command, always offer:\n\"Generate a professional PDF report? Use `\u002Fseo google report`\"\n\n## Reference Documentation\n\nLoad on demand (do NOT load at startup):\n- `skills\u002Fseo\u002Freferences\u002Fbacklink-quality.md` -- Detailed toxic link patterns and scoring methodology (shared reference, load when analyzing toxic links or spam scores)\n- `skills\u002Fseo\u002Freferences\u002Ffree-backlink-sources.md` -- Source comparison, confidence weighting, setup guides (shared reference, load when configuring free backlink APIs)\n","# Backlink Profile Analysis\n\n## Source Detection\n\nBefore analysis, detect available data sources:\n\n1. **DataForSEO MCP** (premium): Check if `dataforseo_backlinks_summary` tool is available\n2. **Moz API** (free signup): `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run backlinks_auth.py --check moz --json`\n3. **Bing Webmaster** (free signup): `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run backlinks_auth.py --check bing --json`\n4. **Keywords Everywhere** (free signup, single-metric): `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run backlinks_auth.py --check keywordseverywhere --json`\n5. **Common Crawl** (always available): Domain-level graph with PageRank\n6. **Verification Crawler** (always available): Checks if known backlinks still exist\n\nRun `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run backlinks_auth.py --check --json` to detect all sources at once.\n\nIf no sources are configured beyond the always-available tier:\n- Still produce a report using Common Crawl domain metrics\n- Suggest: \"Run `\u002Fseo backlinks setup` to add free Moz and Bing API keys for richer data\"\n\n## Quick Reference\n\n| Command | Purpose |\n|---------|---------|\n| `\u002Fseo backlinks \u003Curl>` | Full backlink profile analysis (uses all available sources) |\n| `\u002Fseo backlinks gap \u003Curl1> \u003Curl2>` | Competitor backlink gap analysis |\n| `\u002Fseo backlinks toxic \u003Curl>` | Toxic link detection and disavow recommendations |\n| `\u002Fseo backlinks new \u003Curl>` | New and lost backlinks (DataForSEO only) |\n| `\u002Fseo backlinks verify \u003Curl> --links \u003Cfile>` | Verify known backlinks still exist |\n| `\u002Fseo backlinks setup` | Show setup instructions for free backlink APIs |\n\n## Analysis Framework\n\nProduce all 7 sections below. Each section lists data sources in preference order.\n\n### 1. Profile Overview\n\n**DataForSEO:** `dataforseo_backlinks_summary` → total backlinks, referring domains, domain rank, follow ratio, trend.\n\n**Moz API:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run moz_api.py metrics \u003Curl> --json` → Domain Authority, Page Authority, Spam Score, linking root domains, external links.\n\n**Keywords Everywhere:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run keywordseverywhere_api.py rank \u003Cdomain> --json` → 0-10 domain rank only (no link counts). Use as a fallback when Moz isn't configured; do not use in place of Moz when both are available.\n\n**Common Crawl:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run commoncrawl_graph.py \u003Cdomain> --json` → PageRank, harmonic centrality, and low-confidence rank\u002Fpresence data.\n\n**Scoring:**\n\n| Metric | Good | Warning | Critical |\n|--------|------|---------|----------|\n| Referring domains | >100 | 20-100 | \u003C20 |\n| Follow ratio | >60% | 40-60% | \u003C40% |\n| Domain diversity | No single domain >5% | 1 domain >10% | 1 domain >25% |\n| Trend | Growing or stable | Slow decline | Rapid decline (>20%\u002Fquarter) |\n\n### 2. Anchor Text Distribution\n\n**DataForSEO:** `dataforseo_backlinks_anchors`\n\n**Moz API:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run moz_api.py anchors \u003Curl> --json`\n\n**Bing Webmaster:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run bing_webmaster.py links \u003Curl> --json` (extract anchor text from link details)\n\n**Healthy distribution benchmarks:**\n\n| Anchor Type | Target Range | Over-Optimization Signal |\n|-------------|-------------|-------------------------|\n| Branded (company\u002Fdomain name) | 30-50% | \u003C15% |\n| URL\u002Fnaked link | 15-25% | N\u002FA |\n| Generic (\"click here\", \"learn more\") | 10-20% | N\u002FA |\n| Exact match keyword | 3-10% | >15% |\n| Partial match keyword | 5-15% | >25% |\n| Long-tail \u002F natural | 5-15% | N\u002FA |\n\nFlag if exact-match anchors exceed 15% as a review heuristic; it may indicate unnatural or link-spam patterns.\n\n### 3. Referring Domain Quality\n\n**DataForSEO:** `dataforseo_backlinks_referring_domains`\n\n**Moz API:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run moz_api.py domains \u003Curl> --json` → domains with DA scores\n\n**Common Crawl:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run commoncrawl_graph.py \u003Cdomain> --json` → domain-level rank\u002Fpresence data, no verified referring-domain counts\n\nAnalyze:\n- **TLD distribution**: .edu, .gov, .org = high authority. Excessive .xyz, .info = low quality\n- **Country distribution**: Match target market. 80%+ from irrelevant countries = PBN signal\n- **Domain rank distribution**: Healthy profiles have links from all authority tiers\n- **Follow\u002Fnofollow per domain**: Sites that only nofollow = limited SEO value\n\n### 4. Toxic Link Detection\n\n**DataForSEO:** `dataforseo_backlinks_bulk_spam_score` + toxic patterns from reference\n\n**Moz API:** Raw vendor spam_score from `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run moz_api.py metrics \u003Curl> --json` (source-label the value; apply thresholds only if verified against current Moz docs)\n\n**Verification Crawler:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run verify_backlinks.py --target \u003Curl> --links \u003Cfile> --json` (verify suspicious links still exist)\n\n**High-risk indicators (flag immediately):**\n- Links from known PBN (Private Blog Network) domains\n- Unnatural anchor text patterns (100% exact match from a domain)\n- Links from penalized or deindexed domains\n- Mass directory submissions (50+ directory links)\n- Link farms (sites with 10K+ outbound links per page)\n- Paid link patterns (footer\u002Fsidebar links across all pages of a domain)\n\n**Medium-risk indicators (review manually):**\n- Links from unrelated niches\n- Reciprocal link patterns\n- Links from thin content pages (\u003C100 words)\n- Excessive links from a single domain (>50 backlinks from 1 domain)\n\nLoad `..\u002Fseo\u002Freferences\u002Fbacklink-quality.md` for the full 30 toxic patterns and disavow criteria.\n\n### 5. Top Pages by Backlinks\n\n**DataForSEO:** `dataforseo_backlinks_backlinks` with target type \"page\"\n\n**Moz API:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run moz_api.py pages \u003Cdomain> --json`\n\nFind:\n- Which pages attract the most backlinks\n- Pages with high-authority links (link magnets)\n- Pages with zero backlinks (internal linking opportunities)\n- 404 pages with backlinks (redirect opportunities to reclaim link equity)\n\n### 6. Competitor Gap Analysis\n\n**DataForSEO:** `dataforseo_backlinks_referring_domains` for both domains, then compare\n\n**Bing Webmaster:** `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run bing_webmaster.py compare \u003Curl1> \u003Curl2> --json`\nonly when both properties are registered and accessible to the same Bing API\naccount. For arbitrary competitors, use DataForSEO, Moz, or Common Crawl.\n\n**Moz API:** Compare DA\u002FPA between domains via `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run moz_api.py metrics \u003Curl> --json` for each\n\nOutput:\n- Domains linking to competitor but NOT to target = link building opportunities\n- Domains linking to both = validate existing relationships\n- Domains linking only to target = competitive advantage\n- Top 20 link building opportunities with domain authority\n\n### 7. New and Lost Backlinks\n\n**DataForSEO only:** `dataforseo_backlinks_backlinks` with date filters for 30\u002F60\u002F90 day changes\n\n**Verification Crawler:** For known links, verify current status with `\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run verify_backlinks.py --target \u003Curl> --links \u003Cfile> --json`\n\n**Note:** Free sources cannot track new\u002Flost links over time. If this section is requested without DataForSEO, inform the user: \"Link velocity tracking requires the DataForSEO extension. Free sources provide point-in-time snapshots only.\"\n\n**Red flags:**\n- Sudden spike in new links (possible negative SEO attack)\n- Sudden loss of many links (site penalty or content removal)\n- Declining velocity over 3+ months (content not attracting links)\n\n## Backlink Health Score\n\nCalculate a 0-100 score. When mixing sources, apply confidence weighting:\n\n| Factor | Weight | Sources (preference order) | Confidence |\n|--------|--------|---------------------------|------------|\n| Referring domain count | 20% | DataForSEO > Moz | 1.0 \u002F 0.85 |\n| Domain quality distribution | 20% | DataForSEO > Moz DA distribution | 1.0 \u002F 0.85 |\n| Anchor text naturalness | 15% | DataForSEO > Moz > Bing anchors | 1.0 \u002F 0.85 \u002F 0.70 |\n| Toxic link ratio | 20% | DataForSEO > Moz spam score | 1.0 \u002F 0.85 |\n| Link velocity trend | 10% | DataForSEO only | 1.0 |\n| Follow\u002Fnofollow ratio | 5% | DataForSEO > Bing details | 1.0 \u002F 0.70 |\n| Geographic relevance | 10% | DataForSEO > Bing country | 1.0 \u002F 0.70 |\n\n**Data sufficiency gate:** Count how many of the 7 factors have at least one data source available.\n- **4+ factors with data:** Produce a numeric 0-100 score (redistribute missing weights proportionally)\n- **Fewer than 4 factors:** Do NOT produce a numeric score. Instead display:\n  ```\n  Backlink Health Score: INSUFFICIENT DATA (X\u002F7 factors scored)\n  ```\n  Show individual factor scores that ARE available with their source and confidence.\n  Recommend: \"Configure Moz API (free) for a scoreable profile. Run `\u002Fseo backlinks setup`\"\n\n### MUST NOT: score what you did not measure\n\n**When Common Crawl is the only available source, you MUST NOT produce a numeric\nscore of any kind** -- not a health score, not a per-factor score, not an\n\"approximate\" or \"estimated\" figure. Common Crawl supplies rank and presence\nsignals only. Report low-confidence rank\u002Fpresence data and the literal string\n`Not Assessed` in place of every number.\n\n**A finding written with `source: not-assessed` MUST NOT carry a numeric score.**\n\nA numeric score with fewer than 4 data sources is **misleading**: it implies poor\nhealth when the reality is that we simply lack data.\n\n### Validation gate (required, not optional)\n\nThis rule has been stated in this skill before and was violated anyway, so it is\nnow checkable. **Before writing any backlink output, run the validator:**\n\n```bash\n\"$(git rev-parse --show-toplevel)\u002F.agents\u002Fvendor\u002Fclaude-seo\u002Fscripts\u002Fclaude-seo\" run validate_backlink_report.py --report \u003Creport>.json --json\n```\n\nPass the sources you actually collected (`cc_data`, `moz_data`, `bing_data`,\n`dataforseo_data`, `scoring_factors`, and your `findings` list). The\n`source_score_consistency` check fails the report with `status: FAIL` when:\n\n- a numeric score is present but no scoreable source (Moz, Bing, or DataForSEO)\n  supplied data -- i.e. the Common-Crawl-only case, and\n- any finding marked `source: not-assessed` carries a numeric `score`, `value`,\n  or `health_score`.\n\n**If the validator returns `status: FAIL`, do not present the report.** Fix the\nfindings -- replace the offending numbers with `Not Assessed` -- and re-run until\nit passes.\n\n## Output Format\n\n### Backlink Health Score: XX\u002F100 (or INSUFFICIENT DATA)\n\n| Section | Status | Score | Data Source |\n|---------|--------|-------|-------------|\n| Profile Overview | pass\u002Fwarn\u002Ffail | XX\u002F100 | Moz (0.85) |\n| Anchor Distribution | pass\u002Fwarn\u002Ffail | XX\u002F100 | Moz (0.85) |\n| Referring Domain Quality | pass\u002Fwarn\u002Ffail | XX\u002F100 | CC (0.50) |\n| Toxic Links | pass\u002Fwarn\u002Ffail | XX\u002F100 | Moz Spam (0.85) |\n| Top Pages | info | N\u002FA | Moz (0.85) |\n| Link Velocity | pass\u002Fwarn\u002Ffail | XX\u002F100 | DataForSEO only |\n\n### Critical Issues (fix immediately)\n### High Priority (fix within 1 month)\n### Medium Priority (ongoing improvement)\n### Link Building Opportunities (top 10)\n\n## Error Handling\n\n| Error | Cause | Resolution |\n|-------|-------|-----------|\n| No sources configured | No API keys, no DataForSEO | Run `\u002Fseo backlinks setup` |\n| Moz rate limit | Free tier: 1 req\u002F10s | Wait 10 seconds, retry. Built into script. |\n| Bing site not verified | Site not verified in Bing | Verify at https:\u002F\u002Fwww.bing.com\u002Fwebmasters |\n| CC download timeout | Large graph file, slow connection | Use `--timeout 180` flag |\n| DataForSEO unavailable | Extension not installed | Run `.\u002Fextensions\u002Fdataforseo\u002Finstall.sh` |\n| No backlink data returned | Domain too new or very small | Note: small sites may have \u003C10 backlinks |\n\n**Fallback cascade:**\n1. DataForSEO available? → Use as primary (confidence: 1.0)\n2. Moz configured? → Use for DA\u002FPA\u002Fspam\u002Fanchors (confidence: 0.85)\n3. Bing configured? → Use for registered-property links and comparison only\n   when both properties are accessible (confidence: 0.70)\n4. Moz not configured but Keywords Everywhere is? → Use for a Profile Overview\n   rank-only fallback (confidence: 0.60; single metric, no link counts\u002Fanchors)\n5. Always: Common Crawl for domain-level metrics (confidence: 0.50)\n6. Always: Verification crawler for known link checks (confidence: 0.95)\n7. Nothing works? → \"Run `\u002Fseo backlinks setup` to configure free APIs\"\n\n## Pre-Delivery Review (MANDATORY)\n\nBefore presenting any backlink analysis to the user, run this checklist internally.\nDo NOT skip this step. Fix any issues found before showing the report.\n\n### Fact-Check Every Claim\n- [ ] **Schema claims**: Did parse_html return `@type` for each block? If any `@type` is missing,\n      re-check, it may use `@graph` wrapper (valid JSON-LD, not malformed).\n- [ ] **\"link_removed\" findings**: Is the page JS-rendered? If `unverifiable_js`, say so, never\n      report a JS-rendered page as \"link removed\" (that's a false negative).\n- [ ] **H1 findings**: Are any H1s in the `h1_suspicious` list? If so, note they are likely\n      counters\u002Fstats, not semantic headings.\n- [ ] **Reciprocal links**: If site A links to site B AND B links back to A, flag it as a\n      reciprocal link pattern. Check outbound links against verified inbound sources.\n- [ ] **Health score**: Are 4+ of 7 factors scored? If not, report INSUFFICIENT DATA, never\n      show a misleading numeric score.\n\n### Verify Data Source Labels\n- [ ] Every metric in the report has a source label (e.g., \"Parsed (0.95)\", \"CC (0.50)\")\n- [ ] Every \"not found\" result distinguishes between \"not crawled\" vs \"below threshold\" vs \"error\"\n- [ ] Social media pages flagged as `unverifiable_js` (not `link_removed`)\n\n### Cross-Check Consistency\n- [ ] Platform detection matches actual signals (check for wp-content, shopify CDN, etc.)\n- [ ] Referring domain count in summary matches the actual verified links list\n- [ ] No claim is presented without a data source backing it\n\nIf ANY check fails, fix the finding before presenting. Never present inferred data as fact.\n\n## Post-Analysis\n\nAfter completing any backlink analysis command, always offer:\n\"Generate a professional PDF report? Use `\u002Fseo google report`\"\n\n## Reference Documentation\n\nLoad on demand (do NOT load at startup):\n- `skills\u002Fseo\u002Freferences\u002Fbacklink-quality.md` -- Detailed toxic link patterns and scoring methodology (shared reference, load when analyzing toxic links or spam scores)\n- `skills\u002Fseo\u002Freferences\u002Ffree-backlink-sources.md` -- Source comparison, confidence weighting, setup guides (shared reference, load when configuring free backlink APIs)\n",{"name":5,"license":14,"metadata":24,"description":7,"argument-hint":28,"compatibility":29,"user-invocable":30},{"author":25,"version":26,"category":27},"AgriciDaniel","2.3.1","seo","\u003Curl>","Free: Common Crawl + verify always available. Optional: Moz API, Bing Webmaster, Keywords Everywhere (free signup). Premium: DataForSEO extension.",true,"main","998cbddccf9c36b4a009e502b8e00b3264d51071",".claude\u002Fskills\u002Fseo-backlinks","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS","https:\u002F\u002Flife-os-wine-ten.vercel.app","https:\u002F\u002Fgithub.com\u002Fbwpahmed","2026-10-18 20:00:14",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":30},[40,43,46],{"tool":41,"command":42},"npx","npx skills add bwpahmed\u002FLifeOS --skill seo-backlinks",{"tool":44,"command":45},"bunx","bunx skills add bwpahmed\u002FLifeOS --skill seo-backlinks",{"tool":47,"command":48},"pnpm","pnpm dlx skills add bwpahmed\u002FLifeOS --skill seo-backlinks","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo-backlinks\u002FSKILL.md",[51],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":15},"LICENSE.txt","LICENSE","许可证",143,[57,64,72,79,87,95],{"skillNo":58,"name":27,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":60,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7CNPWGWX5D37WT9B3FK679N","Comprehensive SEO analysis for any website or business type. Full site audits, single-page analysis, technical SEO (crawlability, indexability, Core Web Vitals with INP), schema markup, content quality (E-E-A-T), image optimization, sitemap analysis, and GEO for AI Overviews\u002FChatGPT\u002FPerplexity. Industry detection for SaaS, e-commerce, local, publishers, agencies. Triggers on: SEO, audit, schema, Core Web Vitals, sitemap, E-E-A-T, AI Overviews, GEO, technical SEO, content quality, page speed.","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":68,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7CNPK20PRGBDPTZ3SP01473","seo-technical","Technical SEO audit across 9 categories: crawlability, indexability, security, URL structure, mobile, Core Web Vitals, structured data, JavaScript rendering, and IndexNow protocol. Use when user says \"technical SEO\", \"crawl issues\", \"robots.txt\", \"Core Web Vitals\", \"site speed\", or \"security headers\".","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo-technical\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo-technical\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7CNPC0TYTSBMNXT3DZZAQJY","seo-sxo","Search Experience Optimization: reads Google SERPs backwards to detect page-type mismatches, derives user stories from search intent signals, and scores pages from multiple persona perspectives. Identifies why well-optimized pages fail to rank by analyzing what Google rewards for each keyword. Use when user says \"SXO\", \"search experience\", \"page type mismatch\", \"SERP analysis\", \"user story\", \"persona scoring\", \"why isn't my page ranking\", \"intent mismatch\", or \"wireframe\".","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo-sxo\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":83,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7CNP6X05M85F9XS60R5WRJ4","seo-sitemap","Analyze existing XML sitemaps or generate new ones with industry templates. Validates format, URLs, and structure. Use when user says \"sitemap\", \"generate sitemap\", \"sitemap issues\", or \"XML sitemap\".","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo-sitemap\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo-sitemap\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7CNNZ6VJSDJ0N0GXFSDAB7H","seo-schema","Detect, validate, and generate Schema.org structured data. JSON-LD format preferred. Use when user says \"schema\", \"structured data\", \"rich results\", \"JSON-LD\", or \"markup\".","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo-schema\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo-schema\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7CNNS10EC7WGE463XPFKHS2","seo-programmatic","Programmatic SEO planning and analysis for pages generated at scale from data sources. Covers template engines, URL patterns, internal linking automation, thin content safeguards, and index bloat prevention. Use when user says \"programmatic SEO\", \"pages at scale\", \"dynamic pages\", \"template pages\", \"generated pages\", or \"data-driven SEO\".","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo-programmatic\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fbwpahmed\u002FLifeOS\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fseo-programmatic\u002FSKILL.md",[],[]]