ay-automate/gtmos-skills/gtmos-seo-backlinks
Claude Code and agent skill by ay-automate/gtmos-skills
- community
Checking that the SKILL.md file is still in the repository.
Audit a backlink profile -- referring domains, anchors, toxic links, competitor gaps -- and plan link building that lifts rankings and AI citations without spam. With GTM OS connected it reads authority and referring domains from seo_geo.run_visibility (Ahrefs through Composio), backlink data from the looot capabilities, and turns outreach to linking sites into Outreach-engine drafts that a person approves. Use for \"backlinks\", \"link building\", \"referring domains\", \"toxic links\", \"disa…
Install
npx vskill@latest install ay-automate/gtmos-skills/gtmos-seo-backlinksSKILL.md
The same SKILL.md was published earlier as ay-automate/gtmos-skills/gtmos-seo-backlinks.
Backlinks and link building
Part of GTM OS Skills. Adapted from `seo-backlinks` in AgriciDaniel/claude-seo (MIT, Copyright (c) 2026 agricidaniel). Merged with `link-building` from coreyhaines31/marketingskills (MIT), kept inreferences/corey-link-building.md; `backlink-audit` from semrush/skills (Apache-2.0), kept inreferences/semrush-backlink-audit.md. Changed for GTM OS: the operating section below, rewritten cross-references and tool pointers. Notices: THIRD-PARTY-NOTICES.md (installed beside the skills asTHIRD-PARTY-NOTICES.md).
With GTM OS connected
Rules ([GTMOS-RULES.md](../GTMOS-RULES.md)). Readpolicy.get_dry_modefirst; in dry mode every effect stops at a draft. E-class operations are proposed and a different person approves them; never approve your own proposal. Numbers come only from operation results, named with the operation. Claims about results, customers or metrics must be backed by active proof fromproof.list.
1. Profile. seo_geo.run_visibility {domain} D (spends inline: quote it first) returns Ahrefs domain rating, backlinks, referring domains and top pages when Ahrefs is connected through Composio, plus Search Console totals. Without Ahrefs, the looot backlink jobs (see looot-backlink-checker) price and fetch backlink data; quote first.
2. Gaps. Run the same read for two or three competitors (from seo_geo.get_visibility_settings or the user) and compare referring domains with the method below.
3. Outreach. Prospects for links are people: create or find them as records (records.search, records.create), then draft through the Outreach engine (outreach.draft_message D) and propose sends with outreach.send_message E. Suppression and consent rules apply as with any outbound. Never buy links or promise anything the brand voice forbids (brand.check_text).
4. Disavow is a manual Search Console step: prepare the file and hand it to a person.
Without GTM OS
Use the user's backlink tool export (Ahrefs, Semrush, Moz, or Search Console's Links report) and follow the method below. Say which tool each number came from; tools disagree.
The upstream skill runs these steps through its own Python scripts, slash commands and config files, which are not part of this repository. The method, thresholds and output contracts below are kept; run the data steps through GTM OS (the section above) or through the tool named in each step.
Source Detection
Before analysis, detect available data sources:
- DataForSEO MCP (premium): Check if
backlinks_summarytool is available - Moz API (free signup): a check of which backlink sources the user has access to
- Bing Webmaster (free signup): a check of which backlink sources the user has access to
- Keywords Everywhere (free signup; domain rank plus referring-domain count): a check of which backlink sources the user has access to
- Common Crawl (always available): Domain-level graph with PageRank
- Verification Crawler (always available): Checks if known backlinks still exist
Run a check of which backlink sources the user has access to to detect all sources at once.
If no sources are configured beyond the always-available tier:
- Still produce a report using Common Crawl domain metrics
- Suggest: "Run
backlinks setupto add free Moz and Bing API keys for richer data"
Quick Reference
| Command | Purpose | |
|---|---|---|
backlinks <url> | Full backlink profile analysis (uses all available sources) | |
backlinks gap <url1> <url2> | Competitor backlink gap analysis | |
backlinks toxic <url> | Toxic link detection and disavow recommendations | |
backlinks new <url> | New and lost backlinks (DataForSEO only) | |
backlinks verify <url> --links <file> | Verify known backlinks still exist | |
backlinks setup | Show setup instructions for free backlink APIs |
Analysis Framework
Produce all 7 sections below. Each section lists data sources in preference order.
1. Profile Overview
DataForSEO: backlinks_summary → total backlinks, referring domains, domain rank, follow ratio, trend.
Moz API: the Moz API → Domain Authority, Page Authority, Spam Score, linking root domains, external links.
Keywords Everywhere: Keywords Everywhere → 0-10 Open PageRank (open_page_rank), a global rank, and a referring-domain count (referring_domains), per the current API; no anchors or individual links. Use as a fallback when Moz isn't configured; do not use in place of Moz when both are available.
Common Crawl: the Common Crawl web graph → PageRank, harmonic centrality, and low-confidence rank/presence data.
Scoring:
| Metric | Good | Warning | Critical | |
|---|---|---|---|---|
| Referring domains | >100 | 20-100 | <20 | |
| Follow ratio | >60% | 40-60% | <40% | |
| Domain diversity | No single domain >5% | 1 domain >10% | 1 domain >25% | |
| Trend | Growing or stable | Slow decline | Rapid decline (>20%/quarter) |
2. Anchor Text Distribution
DataForSEO: backlinks_anchors
Moz API: the Moz API
Bing Webmaster: Bing Webmaster Tools (extract anchor text from link details)
Healthy distribution benchmarks:
| Anchor Type | Target Range | Over-Optimization Signal | |
|---|---|---|---|
| Branded (company/domain name) | 30-50% | <15% | |
| URL/naked link | 15-25% | N/A | |
| Generic ("click here", "learn more") | 10-20% | N/A | |
| Exact match keyword | 3-10% | >15% | |
| Partial match keyword | 5-15% | >25% | |
| Long-tail / natural | 5-15% | N/A |
Flag if exact-match anchors exceed 15% as a review heuristic; it may indicate unnatural or link-spam patterns.
3. Referring Domain Quality
DataForSEO: backlinks_referring_domains
Moz API: the Moz API → domains with DA scores
Common Crawl: the Common Crawl web graph → domain-level rank/presence data, no verified referring-domain counts
Analyze:
- TLD distribution: .edu, .gov, .org = high authority. Excessive .xyz, .info = low quality
- Country distribution: Match target market. 80%+ from irrelevant countries = PBN signal
- Domain rank distribution: Healthy profiles have links from all authority tiers
- Follow/nofollow per domain: Sites that only nofollow = limited SEO value
4. Toxic Link Detection
DataForSEO: backlinks_bulk_spam_score + toxic patterns from reference
Moz API: Raw vendor spam_score from the Moz API (source-label the value; apply thresholds only if verified against current Moz docs)
Verification Crawler: re-fetching each linking page (verify suspicious links still exist)
High-risk indicators (flag immediately):
- Links from known PBN (Private Blog Network) domains
- Unnatural anchor text patterns (100% exact match from a domain)
- Links from penalized or deindexed domains
- Mass directory submissions (50+ directory links)
- Link farms (sites with 10K+ outbound links per page)
- Paid link patterns (footer/sidebar links across all pages of a domain)
Medium-risk indicators (review manually):
- Links from unrelated niches
- Reciprocal link patterns
- Links from thin content pages (<100 words)
- Excessive links from a single domain (>50 backlinks from 1 domain)
Load ../seo/references/backlink-quality.md for the full 30 toxic patterns and disavow criteria.
5. Top Pages by Backlinks
DataForSEO: backlinks_backlinks with target type "page"
Moz API: the Moz API
Find:
- Which pages attract the most backlinks
- Pages with high-authority links (link magnets)
- Pages with zero backlinks (internal linking opportunities)
- 404 pages with backlinks (redirect opportunities to reclaim link equity)
6. Competitor Gap Analysis
DataForSEO: backlinks_referring_domains for both domains, then compare
Bing Webmaster: Bing Webmaster Tools only when both properties are registered and accessible to the same Bing API account. For arbitrary competitors, use DataForSEO, Moz, or Common Crawl.
Moz API: Compare DA/PA between domains via the Moz API for each
Output:
- Domains linking to competitor but NOT to target = link building opportunities
- Domains linking to both = validate existing relationships
- Domains linking only to target = competitive advantage
- Top 20 link building opportunities with domain authority
7. New and Lost Backlinks
DataForSEO only: backlinks_backlinks with date filters for 30/60/90 day changes
Verification Crawler: For known links, verify current status with re-fetching each linking page
Note: Free sources cannot track new/lost 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."
Red flags:
- Sudden spike in new links (possible negative SEO attack)
- Sudden loss of many links (site penalty or content removal)
- Declining velocity over 3+ months (content not attracting links)
Backlink Health Score
Calculate a 0-100 score. When mixing sources, apply confidence weighting:
| Factor | Weight | Sources (preference order) | Confidence | |
|---|---|---|---|---|
| Referring domain count | 20% | DataForSEO > Moz | 1.0 / 0.85 | |
| Domain quality distribution | 20% | DataForSEO > Moz DA distribution | 1.0 / 0.85 | |
| Anchor text naturalness | 15% | DataForSEO > Moz > Bing anchors | 1.0 / 0.85 / 0.70 | |
| Toxic link ratio | 20% | DataForSEO > Moz spam score | 1.0 / 0.85 | |
| Link velocity trend | 10% | DataForSEO only | 1.0 | |
| Follow/nofollow ratio | 5% | DataForSEO > Bing details | 1.0 / 0.70 | |
| Geographic relevance | 10% | DataForSEO > Bing country | 1.0 / 0.70 |
Data sufficiency gate: Count how many of the 7 factors have at least one data source available.
- 4+ factors with data: Produce a numeric 0-100 score (redistribute missing weights proportionally)
- Fewer than 4 factors: Do NOT produce a numeric score. Instead display:
`` Backlink Health Score: INSUFFICIENT DATA (X/7 factors scored) ` Show individual factor scores that ARE available with their source and confidence. Recommend: "Configure Moz API (free) for a scoreable profile. Run backlinks setup`"
MUST NOT: score what you did not measure
When Common Crawl is the only available source, you MUST NOT produce a numeric score of any kind -- not a health score, not a per-factor score, not an "approximate" or "estimated" figure. Common Crawl supplies rank and presence signals only. Report low-confidence rank/presence data and the literal string Not Assessed in place of every number.
A finding written with `source: not-assessed` MUST NOT carry a numeric score.
A numeric score with fewer than 4 data sources is misleading: it implies poor health when the reality is that we simply lack data.
Validation gate (required, not optional)
This rule has been stated in this skill before and was violated anyway, so it is now checkable. Before writing any backlink output, run the validator:
Use the validation gate below.
Pass the sources you actually collected (cc_data, moz_data, bing_data, dataforseo_data, scoring_factors, and your findings list). The source_score_consistency check fails the report with status: FAIL when:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gtmos-seo-backlinks/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ay-automate/gtmos-skills/gtmos-seo-backlinks)