mcpField
I
internal-links

internal-links

github.com/kostja94Marketing & growth1.1k1.1k installsUpdated 2d ago
Repository

About internal-links

A guide for SEO practitioners planning internal links across a site. It covers page structure, orphan pages, anchor text, and link placement for audits and improvements.

Key features

  1. 01Assess site hierarchy and priority pages
  2. 02Identify orphan pages and link needs
  3. 03Plan contextual links and anchor text
  4. 04Review link placement and page depth

Use cases

  1. 01Plan links to priority pages
  2. 02Find and address orphan pages
  3. 03Improve topic-cluster link structure

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/kostja94/marketing-skills --skill internal-links

After installing, type/internal-linksin Claude Code to confirm it loaded.

Details

From the project README

SEO On-Page: Internal Links

Guides internal linking strategy for SEO: crawlability, link equity distribution, and user navigation.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Scope (On-Page SEO)

  • Internal links: Contextual links; descriptive anchor text; related posts; hub pages
  • Breadcrumbs: Implement for large sites (e.g. ecommerce); see breadcrumb-generator

Initial Assessment

Project context: Read root contextus.md when present and load only the modules relevant to this task. Without Contextus, use available project material or user-provided facts and ask for missing information; do not create a parallel context system.

Identify:

  1. Site structure: Hub pages, pillar content, supporting pages
  2. Orphan pages: Pages with no or few internal links
  3. Priority pages: Pages that need more link equity

Best Practices

Link Structure
PrincipleGuideline
DepthImportant pages within 3 clicks from homepage
Orphan pagesAvoid; ensure every page has at least one internal link; see site-crawlability for technical detection and crawl issues
Hub-to-spokeLink from hub/pillar pages to cluster articles; topic cluster structure
ContextualPlace links in relevant body content, not just footers
Anchor Text
PrincipleGuideline
DescriptiveUse anchor text that describes the target page
VariationAvoid over-optimization; use natural variation
KeywordInclude target keyword when natural
Placement
LocationUse
First paragraphPrimary link to related content
BodyContextual links throughout
Related/RecommendedEnd-of-article links
NavigationKey site sections

Common Issues

IssueFix
Orphan pagesAdd internal links from hub pages or navigation; site-crawlability for technical audit
Too many linksFocus on most important; avoid link stuffing
Generic anchorsUse descriptive "learn more about X" instead of "click here"
Broken linksAudit and fix 404s; see site-crawlability for technical audit

Output Format

  • Internal link audit (if auditing)
  • Link opportunities for key pages
  • Anchor text recommendations
  • Structure improvements

Related Skills

  • article-page-generator: Related posts, contextual links, end-of-article recommendations
  • website-structure: Plan page structure and hierarchy; informs internal linking
  • site-crawlability: Internal links enable crawling
  • url-structure: URL structure affects link patterns
  • content-strategy: Topic clusters inform link structure; pillar <-> cluster; cluster <-> cluster
  • breadcrumb-generator: Breadcrumbs are internal links; category hierarchy

Comments

Markdown supported