Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aaron-he-zhu avatar

Internal Linking Optimizer

  • 5k installs
  • 115 repo stars
  • Updated July 13, 2026
  • aaron-he-zhu/seo-geo-claude-skills

internal-linking-optimizer is an agent skill that analyzes internal link structure, orphan pages, anchor text, and topic clusters, then delivers a prioritized linking plan with source, target, and anchor recommendations.

About

Internal Linking Optimizer is an SEO agent skill that diagnoses site architecture, authority flow, orphan pages, anchor text patterns, and topic cluster gaps, then delivers a prioritized source, target, and anchor plan. Invoke when users ask to fix internal linking, find orphan pages, improve site architecture, or suggest contextual links for articles. The seven-step workflow scores structure out of one hundred, lists orphans with keep, noindex, or redirect dispositions, audits anchor distribution, maps pillar and cluster links, finds contextual opportunities, reviews navigation and footer paths, and outputs a phased implementation plan with tracking. Labels every metric Measured, User-provided, or Estimated without inventing crawl data. A local crawl.py plus linkgraph.py helper computes orphans, click depth, and internal PageRank when no connector is connected. Hand off to on-page-seo-auditor after links are revised. Not for external backlinks; use backlink-analyzer instead.

  • Seven-step workflow from structure scoring through orphan audit, anchors, clusters, and implementation plan.
  • Structure score out of one hundred with orphan, crawl-depth, and inbound-link penalties.
  • Orphan pages prioritized with keep, noindex, redirect, or delete dispositions.
  • Topic cluster and contextual source, target, and anchor recommendations with navigation review.
  • Local crawl.py and linkgraph.py helper for orphans, click depth, and internal PageRank.

Internal Linking Optimizer by the numbers

  • 5,011 all-time installs (skills.sh)
  • +5 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #138 of 1,881 Marketing & SEO skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

internal-linking-optimizer capabilities & compatibility

Capabilities
score internal link structure out of one hundred · list and prioritize orphan pages with dispositio · audit anchor text distribution and over optimiza · map pillar and cluster links plus contextual sou · generate phased implementation plan with navigat
Use cases
seo · marketing
From the docs

What internal-linking-optimizer says it does

Analyzes internal link structure, authority flow, orphan pages, anchor text, and topic clusters, then delivers a prioritized linking plan with source/target/anchor recommendations.
SKILL.md
Not for external backlinks — use backlink-analyzer.
SKILL.md
npx skills add https://github.com/aaron-he-zhu/seo-geo-claude-skills --skill internal-linking-optimizer

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs5k
repo stars115
Security audit2 / 3 scanners passed
Last updatedJuly 13, 2026
Repositoryaaron-he-zhu/seo-geo-claude-skills

How do I fix messy site architecture, orphan pages, weak anchor distribution, and poor authority flow without guessing link priorities?

Diagnose internal link architecture, orphan pages, anchor text, and crawl depth, then deliver a prioritized source, target, and anchor repair plan.

Who is it for?

Sites needing internal linking strategy, orphan page cleanup, anchor text optimization, or topic cluster link maps from a sitemap or crawl.

Skip if: Skip for external backlink analysis use backlink-analyzer; skip when the task is on-page tags or JSON-LD only.

When should I use this skill?

User asks to fix internal linking, find orphan pages, improve site architecture, optimize anchor text, or suggest internal links for an article.

What you get

A scored diagnosis, orphan dispositions, anchor audit, prioritized source and target plan, navigation fixes, and a handoff summary ready for memory audits.

  • internal linking audit
  • orphan page report
  • anchor text recommendations

By the numbers

  • Published as version 9.9.9 under Apache-2.0 license
  • Accepts a URL or sitemap as the primary analysis input

Files

SKILL.mdMarkdownGitHub ↗

Internal Linking Optimizer

Analyzes internal link structure, authority flow, orphan pages, anchor text, and topic clusters, then delivers a prioritized linking plan with source/target/anchor recommendations.

Quick Start

Start with one of these prompts, then finish with the standard handoff summary from Skill Contract.

Analyze internal linking structure for [domain/sitemap]
Find internal linking opportunities for [URL]
Create internal linking plan for topic cluster about [topic]
Suggest internal links for this new article: [content/URL]
Find orphan pages on [domain]
Optimize anchor text across the site

Skill Contract

Expected output: a scored diagnosis, prioritized repair plan, and a short handoff summary ready for memory/audits/.

  • Reads: sitemap or page list, key page URLs, content categories, and article/URL to link from.
  • Writes: a user-facing linking plan plus a reusable summary that can be stored under memory/audits/.
  • Promotes: blocking defects, repeated weaknesses, fix priorities, and pending decisions to memory/open-loops.md.
  • Done when: orphan pages are listed with a disposition; anchor distribution is checked against thresholds; a prioritized source/target/anchor plan and handoff summary are produced.
  • Primary next skill: use the Next Best Skill below when the repair path is clear.

Handoff Summary

Emit the standard shape from skill-contract.md §Handoff Summary Format.

Data Sources

Uses ~~web crawler and ~~analytics when connected; otherwise asks user for sitemap, key page URLs, and content categories. See CONNECTORS.md and SECURITY.md §Scraping Boundaries.

Zero-dependency local helper (no tool needed): python3 scripts/connectors/crawl.py <url> | python3 scripts/connectors/linkgraph.py - computes orphans, click-depth, and internal PageRank from a live crawl. See scripts/connectors/README.md.

Instructions

Label every metric Measured (tool/export), User-provided, or Estimated (model inference); never present an estimate as measured; if a required metric is unavailable, mark it N/A — do not invent it.

When a user requests internal linking optimization:

1. Analyze Current Structure — Capture domain, pages analyzed, total internal links, average links/page, link distribution, top linked pages, under-linked important pages, and a structure score /100 (start at 100; −10 per orphan page, −5 per important page deeper than 3 clicks, −5 per page with 0 inbound contextual links, −10 if avg links/page is outside the architecture model's target range in Link Architecture Patterns; floor 0). Flag crawl-depth and authority-flow problems. 2. Identify Orphan Pages — List pages with no inbound internal links. Prioritize high-value orphans with traffic/rankings, medium-potential pages that need category/tag links, and low-value pages to delete, noindex, or redirect. 3. Analyze Anchor Text Distribution — Check current anchor patterns, distribution by page, over-optimization, generic anchors, and CORE-EEAT R08 alignment. Anchor Score /10 and thresholds are defined in the Step 3 template.

Reference: references/linking-templates.md contains the Step 3 output template.

4. Create Topic Cluster Link Strategy — Map pillar/cluster links, recommend structure, and list specific links to add.

Reference: references/linking-templates.md contains the Step 4 template.

5. Find Contextual Link Opportunities — For each page, identify topic-relevant source/target/anchor opportunities and prioritize high-impact additions.

Reference: references/linking-templates.md contains the Step 5 template.

6. Optimize Navigation and Footer Links — Review main/footer/sidebar/breadcrumb navigation; recommend pages to add, demote, or remove.

Reference: references/linking-templates.md contains the Step 6 template.

7. Generate Implementation Plan — Include executive summary, current-state metrics, phased priority actions, implementation guide, and tracking plan.

Reference: references/linking-templates.md contains the Step 7 template.

Decision Gates

Stop and ask the user when:

  • A high-value orphan must be deleted, noindexed, or redirected and its traffic/ranking value is unknown — state what you see and ask: (1) keep and add links, (2) noindex, (3) 301-redirect to the nearest relevant page.

Continue silently (never stop for):

  • Which architecture model to apply — infer it from site type and page count using Link Architecture Patterns, state the choice, and proceed.
  • No crawler/analytics data — work from the provided sitemap or page list, label inferred metrics Estimated, and proceed.
  • A low-value orphan with no traffic — recommend the default disposition (noindex or redirect) without stopping.

Example

User: "Find internal linking opportunities for my blog post on 'email marketing best practices'"

Output: 5 high-value links with source paragraph, destination URL, recommended anchor text, and priority. Example targets might include list-building, subject-line, segmentation, automation, and tools pages.

Reference: See references/linking-example.md for the full worked example.

Tips for Success

  • Prioritize relevance and user navigation over link volume.
  • Use descriptive, varied anchors; avoid exact-match repetition.
  • Link important pages from hubs, navigation, or strong contextual sources.
  • Audit regularly as content grows.

Save Results

Ask to save results; if yes, write a dated summary to memory/audits/internal-linking-optimizer/YYYY-MM-DD-<topic>.md. Hand off veto-level risks to the auditor gate before any hot-cache marker.

Reference Materials

Next Best Skill

Primary: on-page-seo-auditor — verify that revised internal links support page-level goals.

Related skills

How it compares

Pick internal-linking-optimizer over general SEO content skills when the bottleneck is site graph connectivity, not keyword copy or metadata tags.

FAQ

What defines done for internal-linking-optimizer?

Orphan pages listed with dispositions, anchor distribution checked against thresholds, and a prioritized source, target, and anchor plan plus handoff summary are produced.

How are metrics labeled when crawl data is missing?

Every metric is Measured, User-provided, or Estimated; unavailable required metrics are marked N/A and estimates are never presented as measured.

Does this skill handle external backlinks?

No. It focuses on internal link architecture; use backlink-analyzer for external backlink work.

Is Internal Linking Optimizer safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Marketing & SEOseocontent

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.