$npx -y skills add TheMattBerman/seo-kit --skill seo-linksBacklink acquisition engine. Mines competitor backlinks, finds unlinked brand mentions, discovers broken link opportunities, audits internal linking, and prospects resource pages. Turns link building from guesswork into a repeatable system.
| 1 | # SEO Links — Backlink Acquisition Engine |
| 2 | |
| 3 | Content without backlinks is a prayer. This skill turns link building from a manual grind into a repeatable, agent-driven system. |
| 4 | |
| 5 | Five scripts. Each one finds a different type of link opportunity. Run them weekly and you'll never run out of outreach targets. |
| 6 | |
| 7 | --- |
| 8 | |
| 9 | ## Scripts |
| 10 | |
| 11 | ### 1. `link-mine.sh` — Competitor Backlink Mining |
| 12 | |
| 13 | Pulls every site linking to your competitors. Finds the ones most likely to link to you. |
| 14 | |
| 15 | **Usage:** |
| 16 | ```bash |
| 17 | bash skills/seo-links/scripts/link-mine.sh <competitor-domain> [--limit 50] |
| 18 | ``` |
| 19 | |
| 20 | **What it does:** |
| 21 | - Pulls competitor's backlink profile via DataForSEO Backlinks API |
| 22 | - Filters for dofollow links with Domain Rating > 20 |
| 23 | - Categorizes by type: resource pages, roundups, directories, editorial, guest posts |
| 24 | - Cross-references against your existing backlinks (if you provide your domain) |
| 25 | - Outputs prioritized list with: URL, anchor text, DR, page type, contact suggestion |
| 26 | |
| 27 | **Without DataForSEO:** Falls back to web search queries like `"competitor.com" + "resources"` and `"competitor.com" + "best tools"`. Less data but still finds resource pages and roundups. |
| 28 | |
| 29 | ### 2. `link-mentions.sh` — Unlinked Brand Mentions |
| 30 | |
| 31 | Finds pages that mention your brand/product but don't link to you. Easiest links to get — they already know you exist. |
| 32 | |
| 33 | **Usage:** |
| 34 | ```bash |
| 35 | bash skills/seo-links/scripts/link-mentions.sh <brand-name> <your-domain> |
| 36 | ``` |
| 37 | |
| 38 | **What it does:** |
| 39 | - Searches web for brand name mentions excluding your own domain |
| 40 | - Filters out pages that already link to you |
| 41 | - Checks each result for actual brand mention vs false positive |
| 42 | - Outputs list with: URL, mention context, contact suggestion, draft outreach snippet |
| 43 | |
| 44 | **Outreach template:** |
| 45 | "Hey, noticed you mentioned [brand] in [article]. Thanks for the shoutout! Would you mind adding a link so your readers can find us? Here's the URL: [link]" |
| 46 | |
| 47 | This converts at 15-25% because there's zero friction. They already wrote about you. |
| 48 | |
| 49 | ### 3. `link-broken.sh` — Broken Link Building |
| 50 | |
| 51 | Finds dead links on sites in your niche, then suggests your content as the replacement. |
| 52 | |
| 53 | **Usage:** |
| 54 | ```bash |
| 55 | bash skills/seo-links/scripts/link-broken.sh <niche-keyword> [--limit 30] |
| 56 | ``` |
| 57 | |
| 58 | **What it does:** |
| 59 | - Finds resource pages and roundups for your niche keyword |
| 60 | - Crawls each page checking for 404/dead outbound links |
| 61 | - Matches dead links to content you already have (or suggests content to create) |
| 62 | - Outputs: page URL, dead link URL, your replacement URL, contact suggestion, draft pitch |
| 63 | |
| 64 | **Why this works:** You're doing them a favor by reporting broken links. The ask ("replace it with my link") is natural, not pushy. |
| 65 | |
| 66 | ### 4. `link-internal.sh` — Internal Link Audit |
| 67 | |
| 68 | Audits your own site's internal linking structure. Finds orphan pages, suggests cross-links, builds hub-and-spoke connections. |
| 69 | |
| 70 | **Usage:** |
| 71 | ```bash |
| 72 | bash skills/seo-links/scripts/link-internal.sh <your-domain> [--sitemap URL] |
| 73 | ``` |
| 74 | |
| 75 | **What it does:** |
| 76 | - Crawls your sitemap (or top pages from GSC) |
| 77 | - Maps internal link structure: which pages link to which |
| 78 | - Identifies orphan pages (no internal links pointing to them) |
| 79 | - Suggests new internal links based on keyword overlap between pages |
| 80 | - Flags pages with thin internal linking (< 3 inbound internal links) |
| 81 | - Outputs actionable list: "Add link from [Page A] to [Page B] with anchor text [keyword]" |
| 82 | |
| 83 | **Run this every time you publish a new article.** The agent should automatically check if any existing content should link to the new piece, and if the new piece should link to existing content. |
| 84 | |
| 85 | ### 5. `link-prospect.sh` — Resource Page Prospecting |
| 86 | |
| 87 | Finds pages that curate links in your niche — "best tools," "top resources," "ultimate guides" — and haven't listed you yet. |
| 88 | |
| 89 | **Usage:** |
| 90 | ```bash |
| 91 | bash skills/seo-links/scripts/link-prospect.sh <niche-keyword> [--limit 20] |
| 92 | ``` |
| 93 | |
| 94 | **What it does:** |
| 95 | - Searches for resource pages using queries like: "[keyword] + resources", "[keyword] + best tools", "[keyword] + ultimate guide" |
| 96 | - Filters for pages that actually curate external links (vs single-product pages) |
| 97 | - Checks if you're already listed |
| 98 | - Scores by Domain Rating and relevance |
| 99 | - Outputs: URL, page type, DR, whether you're listed, draft pitch |
| 100 | |
| 101 | --- |
| 102 | |
| 103 | ## Weekly Link Building Workflow |
| 104 | |
| 105 | ``` |
| 106 | Monday: link-internal.sh → Fix orphan pages, add cross-links |
| 107 | Tuesday: link-mine.sh → Pull competitor backlinks, find targets |
| 108 | Wednesday: link-mentions.sh → Find unlinked mentions, send quick emails |
| 109 | T |