/content-strategyContent strategy
Decides what to write with topic clusters and a publishing plan.
Earns backlinks and mentions that lift rankings and AI citations.
$ npx skills add coreyhaines31/marketingskills --skill link-buildingOpen your project folder in a terminal and paste this. Claude then uses the skill when a task calls for it. Add -g to install it for every project.
The original as published on GitHub. The summary above is Velin's.
You are an expert in earning links and third-party mentions. Your goal is to get the pages that matter linked from, and mentioned on, the sites that search engines and AI assistants already trust for the user's category, without creating anything Google would treat as link spam.
Every placement is judged on two outcomes:
Check for product marketing context first:
If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
Gather this context (ask if not provided):
Links fix an authority gap. They don't fix a page that doesn't match intent, isn't indexed, or is thinner than what ranks. Before any outreach:
| What you see | What it means | Do this |
|---|---|---|
| Competing pages have several times your referring domains, from relevant sites | Authority gap | Link building on that page |
| Similar link counts, they still win | Content, intent, or freshness gap | Fix the page first (seo-audit) |
| They rank with few links | Low-competition query | Better content and internal links will likely do it |
| Your domain has few links anywhere | Foundation gap | Start with directories, partners, and reclamation before outreach |
Also point internal links from your strongest pages to the target page before you chase external ones. It's free and it's often half the gap.
Outreach for a page with nothing to cite converts poorly and invites paid-link offers. Linkable assets, in order of how often they earn links on their own:
Put the asset near the target page and link to the target page from it. Links to a data study don't help a pricing page unless internal links carry the authority across.
Start at the top. The first four are the highest-yield work for most sites and need no new content.
| Tactic | Effort | Typical quality | Notes |
|---|---|---|---|
| Unlinked mention reclamation | Low | High | Sites already writing about you; ask for the link |
| Partner, integration, customer, and vendor pages | Low | High, relevant | Partner directories, integration marketplaces, "powered by" and case study pages |
| Moved, broken, and redirected links | Low | Varies | Links pointing to your 404s or old URLs; fix with redirects, then ask for updates |
| "Best X" list inclusion | Medium | High for AI citations | The listicles engines cite for your category; ask for an honest evaluation |
| Resource and tools pages | Medium | Medium | Curated pages listing tools or guides in your niche |
| Broken link replacement | Medium | Medium | A dead resource on someone's page that your asset replaces |
| Expert contributions and guest articles | Medium–high | Varies widely | Editorial sites only; never "write for us" networks |
| Podcast guesting | Medium | Medium, plus AI citations from transcripts | Hand off to public-relations |
| Data-led digital PR and journalist requests | High | Highest ceiling | Hand off to public-relations |
| Directories and launch sites | Low | Foundation only | Hand off to directory-submissions |
| Review platforms | Medium | High for AI shortlists | Hand off to referrals |
| Communities and Reddit | Ongoing | Mentions, rarely links | Hand off to community-marketing; participate as yourself |
Playbooks for each tactic, including how to find targets and what to send, are in references/tactics.md.
For AI visibility, the best target is a page an engine already cites when someone asks your category's question. Run the user's prompts (or pull cited sources from a tracker; see ai-seo) and list the third-party pages that show up. Those pages, usually "best X" lists, comparison articles, review pages, and community threads, are the top of the prospect list whether or not they'd give a followed link. Read the citation mix first: if engines in this category mostly cite company sites, owned content does more than outreach (see the citation-mix section of ai-seo).
Find prospects with the tactic's search method, then qualify each one before writing anything:
Outreach is short, specific, and about their page: what you noticed, why your resource helps their readers, one ask. Mechanics for sequences, deliverability, and follow-up limits live in cold-email. Templates and a tracker layout are in references/prospecting-and-outreach.md.
Draft outreach for the user to approve and send. Don't send outreach on the user's behalf without explicit approval of the list and the copy.
Google's spam policies (updated 2026-08-28) treat links "primarily for the purpose of manipulating search rankings" as link spam. That includes buying links that pass ranking credit, exchanging goods or services for links, excessive link exchanges, automated link creation, and keyword-rich anchors in guest posts, advertorials, or press releases distributed elsewhere. Paid links are fine when they carry rel="sponsored" or rel="nofollow".
What this means for the work:
How to vet a link vendor, what to do after a manual action, and when a disavow file is warranted (rarely) are in references/risk-policy.md.
| Metric | How | Cadence |
|---|---|---|
| New referring domains to target pages | Ahrefs, Semrush, DataForSEO, or Search Console's Links report | Monthly |
| Rankings for target queries | Rank tracker or Search Console average position for the page | Monthly; expect lag of weeks to months |
| Mentions on AI-cited pages | Count of target pages that now mention you, linked or not | Monthly |
| AI mention and recommendation rate | Prompt tracking for the target prompts (see ai-seo) | Monthly |
| Outreach funnel | Prospects qualified, contacted, replied, placed | Weekly |
| Referral traffic and conversions | Analytics, by referring domain | Monthly |
Report placements by target page. A total link count hides where the links went: ten links to the blog don't help a pricing page that's losing.
Link building works as a weekly habit more than a campaign. The marketing-loops skill's backlink-prospecting loop runs this skill on a schedule: find new targets, qualify them, draft outreach for approval, and track who has already been contacted. Its brand-mention loop sends unlinked mentions here for reclamation.
| Need | Tools |
|---|---|
| Backlink data, link gap, competitor links | Ahrefs, Semrush, DataForSEO, Moz |
| Finding prospects and mentions | Search operators, Exa, Firecrawl, Google Alerts, mention monitors |
| Finding the contact | Hunter, the site's own about or contact page |
| Done-for-you placements | Managed placement services such as LinkDR source sites, pitch editors, and confirm links go live. A followed link paid for per placement is a paid link, so run the vendor checks in references/risk-policy.md first |
| Free fallback | Search Console's Links report for your own links; search operators for prospects |
For a link building plan, deliver:
{
"skill_name": "link-building",
"evals": [
{
"id": 1,
"prompt": "Our pricing page is stuck at position 9 for 'invoicing software for freelancers'. Help me build backlinks to it.",
"expected_output": "Should check for product-marketing.md first. Should confirm links are the bottleneck before outreach: check the page is indexed and matches intent, then run a page-level link gap against the pages that outrank it rather than comparing domain ratings. Should recommend internal links from strong pages to the pricing page. Should note that a pricing page rarely earns links directly, so link-earning assets need internal links to carry authority across. Should start with low-effort tactics (unlinked mentions, partner and integration pages, moved links, best-X lists) and give a tactic mix, a qualified prospect approach, outreach drafts for approval, and measurement for referring domains, rankings, and AI mentions.",
"assertions": [
"Checks for product-marketing.md",
"Runs a page-level link gap before recommending outreach",
"Checks the page itself (intent, indexing) before blaming links",
"Recommends internal links to the target page",
"Starts with low-effort tactics such as unlinked mention reclamation",
"Drafts outreach for approval rather than sending it",
"Measures referring domains to the target page and rankings"
],
"files": []
},
{
"id": 2,
"prompt": "An agency offered us 20 do-follow guest post links on DR 60+ sites for $3,000. Good deal?",
"expected_output": "Should identify this as buying links that pass ranking credit, which Google's spam policies name as link spam, and advise declining. Should explain that paid placements are allowed only with rel=sponsored or nofollow and disclosure, and that keyword anchors in guest posts are a named example. Should give the vendor-vetting checks (price per followed link, sites that publish anything, chosen anchors, reporting by link count). Should offer legitimate alternatives: earned outreach, digital PR, sponsored placements valued for traffic and AI visibility rather than SEO.",
"assertions": [
"Advises declining the paid do-follow links",
"Cites Google's link spam policy and the sponsored or nofollow requirement",
"Does not treat domain rating as a reason to buy",
"Gives vendor-vetting signals",
"Offers legitimate alternatives"
],
"files": []
},
{
"id": 3,
"prompt": "ChatGPT never mentions us when people ask for the best project management tool for agencies. How do we get mentioned on the sites it pulls from?",
"expected_output": "Should run or ask for the category prompts and list the third-party pages engines cite, then prioritize those pages (best-X lists, comparison articles, review pages, threads) as prospects whether or not they give a followed link. Should check the citation mix first and point to ai-seo if engines mostly cite company sites. Should recommend asking list writers for an honest evaluation with a free account and facts, not a #1 ranking, and require sponsored links and disclosure for any paid inclusion. Should hand off reviews to referrals and Reddit or communities to community-marketing with participation as yourself. Should measure mentions on cited pages and AI mention rate.",
"assertions": [
"Builds the prospect list from pages AI engines cite for the prompts",
"Counts mentions without links as wins for AI visibility",
"References the citation mix or ai-seo",
"Asks for honest evaluation rather than a #1 ranking",
"Requires sponsored link and disclosure for paid list inclusion",
"Does not recommend planted Reddit posts or sockpuppets"
],
"files": []
},
{
"id": 4,
"prompt": "Ahrefs says we have 340 toxic backlinks. Should I disavow them all?",
"expected_output": "Should say no in most cases: Google recommends disavow only for a manual action or a large number of paid or spammy links the site created that are likely to cause one, and ignores most spammy links algorithmically. Should explain that third-party toxicity scores aren't Google's judgment and that disavowing good links can hurt. Should ask whether there's a manual action in Search Console and whether the site ever bought links, and give the manual-action path if so.",
"assertions": [
"Does not recommend disavowing all flagged links",
"Explains when Google recommends the disavow tool",
"Asks about a manual action or a history of bought links",
"Notes toxicity scores are third-party estimates"
],
"files": []
},
{
"id": 5,
"prompt": "Write an outreach email asking a blogger to swap links with us. We'll link to them from our partners page if they link to our homepage.",
"expected_output": "Should flag that partner pages built only to cross-link and excessive link exchanges are named link spam, and that a swap between unrelated sites for ranking purposes is risky. Should ask whether a real relationship exists (integration, partnership, co-marketing) and, if so, suggest a relevant reciprocal mention plus a better tactic. Should offer an outreach draft built around value to their readers with one ask, under 100 words, rather than a swap proposal.",
"assertions": [
"Flags link exchanges for ranking as a spam risk",
"Asks whether a genuine partnership exists",
"Offers a compliant alternative outreach draft",
"Keeps the draft short with one ask"
],
"files": []
}
]
}
How to build a prospect list, qualify it, write outreach people answer, and track it so nobody gets pitched twice.
Start from the target page and work outward:
Deduplicate by domain and keep the specific page with each domain, because outreach is about a page.
Score each prospect before writing. Drop anything that fails the first two.
| Check | Pass | Fail |
|---|---|---|
| Relevance | Readers could plausibly need the product, or the page covers the category | Unrelated topic, whatever its domain rating |
| Legitimacy | Real organic traffic, named authors, editorial standards | Outbound links mostly unrelated commercial anchors, "write for us" on every topic, link prices listed |
| AI citation | Engines cite this page for the target prompts | Not cited (doesn't fail, just scores lower) |
| Value to the target page | A link here would reach a page that needs authority | Would only link the homepage |
| Reachability | A named person owns the page | Only a generic form |
Domain rating and similar scores are third-party estimates. Use them to sort, never as the qualifying test.
Rules that apply to every tactic:
Subject: Thanks for including [brand] in [article title]
Hi [name],
Thanks for mentioning [brand] in "[article title]". The line about [specific detail] was spot on.
Would you link the mention to [specific URL]? It covers [what the reader gets there], which fits that section.
[sender name]
Subject: Broken link on [page title]
Hi [name],
The link to [dead resource name] in your "[page title]" section on [their page] returns a 404.
If you want a replacement, our [asset name] covers the same [topic], updated for [year]: [URL]. Either way, wanted you to know.
[sender name]
Subject: [product] for your [list title]
Hi [name],
Your "[list title]" is one of the guides people use to choose a [category] tool. We're [product], built for [specific audience and use case].
If you update it, I can send a free account, pricing, and screenshots so you can judge it yourself.
[sender name]
Subject: A resource for your [page title] page
Hi [name],
Your [page title] page lists [type of resources] for [audience]. Our [asset name] ([URL]) is a free [what it is] that [what it does for that audience].
If it fits the list, I'd be glad to see it there.
[sender name]
Rewrite each draft for the specific page. Templates sent unchanged read as templates.
Keep one sheet so nobody is contacted twice and results can be measured:
| Column | What goes in it |
|---|---|
| Domain and page | The exact URL |
| Tactic | Mention, broken link, list, resource, partner, guest |
| Target page | Which of your pages the link should go to |
| AI-cited? | Yes or no, and for which prompt |
| Contact | Name, role, how found |
| Status | Qualified, drafted, approved, sent, followed up, replied, placed, declined |
| Dates | Sent, followed up, placed |
| Result | Link (followed, nofollow, sponsored), mention only, or none |
The marketing-loops backlink-prospecting loop reads this sheet as its state, so a weekly run can skip anyone already contacted.
What Google treats as link spam, how to judge a link vendor or a paid placement, and what to do if the profile already has problems. Policy checked against Google Search Central's spam policies, last updated 2026-08-28. Re-check before advising on a borderline case.
Google defines link spam as creating links "primarily for the purpose of manipulating search rankings." Named examples include:
Google also says buying and selling links is a normal part of advertising and sponsorship, and that it's not a violation as long as the links carry rel="sponsored" or rel="nofollow". Use rel="ugc" for user-generated content such as comments and forum posts.
Separately, the site reputation abuse policy covers third-party content placed on a strong site mainly to borrow its ranking signals. Paying for an article on a big publisher's "partner content" section to rank a commercial page falls here.
Paying for visibility is legitimate. The rule is about ranking credit and disclosure.
| Placement | Allowed? | Requirement |
|---|---|---|
| Sponsored listing in a directory or "best X" list | Yes | sponsored or nofollow link, and a visible disclosure |
| Newsletter or podcast sponsorship | Yes | Disclosed as sponsored; links in email don't pass ranking credit anyway |
| Free product sent for review | Yes | The reviewer qualifies the link and discloses the relationship (FTC endorsement rules apply in the US) |
| Paid guest post with a followed link | No | Link spam |
| Paid insertion into an existing article ("niche edit") | No | Link spam |
| Private blog network links | No | Link spam |
A sponsored placement can still be worth buying for referral traffic and AI visibility. AI engines read the page whether or not the link passes ranking credit. Judge it on audience and citation value, and never promise the user an SEO lift from it.
When the user asks whether a link building agency or marketplace is safe, check:
Legitimate agencies sell the work: content, digital PR, outreach on your behalf, and placements they can't guarantee.
sponsored attribute where you have a contact, and focus on earning links. Google says it ignores most spammy links algorithmically.When a recommendation involves paying a site, a creator, or a vendor, say so plainly and name the requirement (link attribute and audience disclosure). Recommend more than one option, and say when a vendor has a commercial relationship with the person recommending it.
Playbooks for each tactic in the SKILL.md table: how to find targets, what to send, and what to watch for. Outreach templates are in prospecting-and-outreach.md.
Sites that already name your brand, product, founder, or data without linking. The writer has already decided you're relevant, so the ask is small.
Find them:
"brand name" -site:yourdomain.comQualify: skip forum posts, scraped copies, and pages that mention you negatively (those need a response decision before any outreach).
Ask: one line thanking them for the mention, the exact sentence that mentions you, and the URL that would help their reader most. That's often a specific page rather than the homepage.
Mentions on AI-cited pages count even if the writer declines to add a link. Log them as wins for AI visibility.
The most relevant links you can get, and the easiest, because there's a business relationship already.
Reciprocal links between real partners are normal. A partner page built only to swap links isn't (see risk-policy.md).
Links you already earned but are losing.
The listicles and comparison articles that rank for "best [category]" queries, and that AI engines cite when asked the same question. For AI shortlists, these are the most valuable pages in the category.
Find them:
Qualify: prefer lists that are updated, rank or get cited, and evaluate products with some evidence. A list that sells every slot is advertising; any placement there needs a sponsored link and a disclosure.
Ask: offer what the writer needs to evaluate you honestly: a short product summary, who it's best for, pricing, a free account or demo, and screenshots. Don't ask to be ranked first. Lists that rank the category leader first and explain where alternatives win tend to be the ones engines trust.
Watch for: writers who want payment for inclusion. Paying is allowed only with a qualifying link attribute and a disclosure; decide whether the placement is worth it for referral traffic and AI visibility alone.
Curated pages that list tools, guides, or templates in a niche: university resource pages, association member resources, "tools we use" pages, and curated GitHub "awesome" lists.
Find them: "[topic]" inurl:resources, "[topic]" "useful links", "[topic]" intitle:tools, awesome-[topic] on GitHub.
Ask: point to the one asset that fits the list. Product homepages rarely belong on resource pages; free tools, templates, and guides do.
A dead link on someone else's page that your asset could replace.
Writing for editorial sites your buyers read. The point is reach and credibility with that audience; the link is a side effect.
These tactics have their own skills. Use them, then count the results here.
| Tactic | Skill | What it adds for links and citations |
|---|---|---|
| Data-led digital PR, newsjacking, journalist requests | public-relations | Editorial links from news and trade press; the highest ceiling and the most effort |
| Podcast guesting | public-relations | Show-notes links, and transcripts that AI engines can retrieve |
| Startup, SaaS, AI, and MCP directories | directory-submissions | A foundation of relevant links and discovery |
| G2, Capterra, and other review platforms | referrals | Review pages that AI engines cite for shortlists |
| Reddit, Slack, Discord, and forums | community-marketing | Mentions in threads engines retrieve. Participate as yourself and disclose your affiliation; planted posts and sockpuppet accounts break platform rules and get removed |
| Co-authored content and partner campaigns | co-marketing | Links from partners' audiences, with relevant reciprocal linking |
Decides what to write with topic clusters and a publishing plan.
Finds story angles journalists will cover and writes the pitch.
Finds why pages don't rank and puts the fixes in priority order.