internal-linking-optimizer
SEO internal linking optimizer: improve site architecture, distribute link equity, fix orphan pages, and reduce crawl depth for better rankings. Part of a 20-skill SEO & GEO workflow suite. 内链优化/站内架构/链接权重/网站层级/站内优化
Best use case
internal-linking-optimizer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
SEO internal linking optimizer: improve site architecture, distribute link equity, fix orphan pages, and reduce crawl depth for better rankings. Part of a 20-skill SEO & GEO workflow suite. 内链优化/站内架构/链接权重/网站层级/站内优化
Teams using internal-linking-optimizer should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/internal-linking-optimizer/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How internal-linking-optimizer Compares
| Feature / Agent | internal-linking-optimizer | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
SEO internal linking optimizer: improve site architecture, distribute link equity, fix orphan pages, and reduce crawl depth for better rankings. Part of a 20-skill SEO & GEO workflow suite. 内链优化/站内架构/链接权重/网站层级/站内优化
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
Best AI Agents for Marketing
A curated list of the best AI agents and skills for marketing teams focused on SEO, content systems, outreach, and campaign execution.
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
SKILL.md Source
# Internal Linking Optimizer **Fix orphan pages, distribute link equity, and build topic cluster authority** — this skill maps your internal link graph, identifies pages search engines can't easily discover, and delivers a prioritized plan to improve rankings through smarter site architecture. **How to start**: `Analyze internal linking structure for [domain/sitemap]` or `Find orphan pages on [domain]` **System role**: Optimization layer skill. It turns weak pages, structures, and technical issues into prioritized repair work. > **[SEO & GEO Skills Library](https://github.com/aaron-he-zhu/seo-geo-claude-skills)** · 20 skills for SEO + GEO · [ClawHub](https://clawhub.ai/u/aaron-he-zhu) · [skills.sh](https://skills.sh/aaron-he-zhu/seo-geo-claude-skills) ## When This Must Trigger Use this when the conversation involves any of these situations — even if the user does not use SEO terminology: Use this whenever the task needs a diagnosis or repair plan that should feed directly into remediation work, not just a one-time opinion. - Improving site architecture for SEO - Distributing authority to important pages - Fixing orphan pages with no internal links - Creating topic cluster internal link strategies - Optimizing anchor text for SEO - Recovering pages that have lost rankings - Planning internal links for new content ## What This Skill Does 1. **Link Structure Analysis**: Maps current internal linking patterns 2. **Authority Flow Mapping**: Shows how PageRank flows through site 3. **Orphan Page Detection**: Finds pages with no internal links 4. **Anchor Text Optimization**: Improves anchor text diversity 5. **Topic Cluster Linking**: Creates pillar-cluster link strategies 6. **Link Opportunity Finding**: Identifies where to add links 7. **Navigation Optimization**: Improves site-wide link elements ## Quick Start Start with one of these prompts. Finish with a short handoff summary using the repository format in [Skill Contract](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/references/skill-contract.md). ### Analyze Current Structure ``` Analyze internal linking structure for [domain/sitemap] ``` ``` Find internal linking opportunities for [URL] ``` ### Create Linking Strategy ``` Create internal linking plan for topic cluster about [topic] ``` ``` Suggest internal links for this new article: [content/URL] ``` ### Fix Issues ``` 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**: the current page or site state, symptoms, prior audits, and current priorities from [CLAUDE.md](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/CLAUDE.md) and the shared [State Model](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/references/state-model.md) when available. - **Writes**: a user-facing audit or optimization plan plus a reusable summary that can be stored under `memory/audits/`. - **Promotes**: blocking defects, repeated weaknesses, and fix priorities to `memory/open-loops.md` and `memory/decisions.md`. - **Next handoff**: use the `Next Best Skill` below when the repair path is clear. ## Data Sources > **Note:** All integrations are optional. This skill works without any API keys — users provide data manually when no tools are connected. > See [CONNECTORS.md](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/CONNECTORS.md) for tool category placeholders. **With ~~web crawler + ~~analytics connected:** Claude can automatically perform a full site crawl via ~~web crawler to map the complete link graph, fetch page performance metrics from ~~analytics to identify high-value pages, and analyze link flow throughout the site. This enables data-driven internal linking strategies. **With manual data only:** Ask the user to provide: 1. Sitemap URL or list of important pages 2. Key page URLs that need more internal links 3. Content categories or topic clusters 4. Any existing link structure documentation Proceed with the analysis using provided data. Note in the output which findings are from automated crawl vs. manual review. ## Instructions When a user requests internal linking optimization: 1. **Analyze Current Internal Link Structure** ```markdown ## Internal Link Structure Analysis ### Overview **Domain**: [domain] **Total Pages Analyzed**: [X] **Total Internal Links**: [X] **Average Links per Page**: [X] ### Link Distribution | Links per Page | Page Count | Percentage | |----------------|------------|------------| | 0 (Orphan) | [X] | [X]% | | 1-5 | [X] | [X]% | | 6-10 | [X] | [X]% | | 11-20 | [X] | [X]% | | 20+ | [X] | [X]% | ### Top Linked Pages | Page | Internal Links | Authority | Notes | |------|----------------|-----------|-------| | [URL 1] | [X] | High | [notes] | | [URL 2] | [X] | High | [notes] | | [URL 3] | [X] | Medium | [notes] | ### Under-Linked Important Pages | Page | Current Links | Traffic | Recommended Links | |------|---------------|---------|-------------------| | [URL 1] | [X] | [X]/mo | [X]+ | | [URL 2] | [X] | [X]/mo | [X]+ | **Structure Score**: [X]/10 ``` 2. **Identify Orphan Pages** ```markdown ## Orphan Page Analysis ### Definition Orphan pages have no internal links pointing to them, making them hard for users and search engines to discover. ### Orphan Pages Found: [X] | Page | Traffic | Priority | Recommended Action | |------|---------|----------|-------------------| | [URL 1] | [X]/mo | High | Link from [pages] | | [URL 2] | [X]/mo | Medium | Add to navigation | | [URL 3] | 0 | Low | Consider deleting/redirecting | ### Fix Strategy **High Priority Orphans** (have traffic/rankings): 1. [URL] - Add links from: [relevant pages] 2. [URL] - Add links from: [relevant pages] **Medium Priority Orphans** (potentially valuable): 1. [URL] - Add to category/tag page 2. [URL] - Link from related content **Low Priority Orphans** (consider removing): 1. [URL] - Redirect to [better page] 2. [URL] - Delete or noindex ``` 3. **Analyze Anchor Text Distribution** > **CORE-EEAT alignment**: Internal linking quality maps to R08 (Internal Link Graph) in the CORE-EEAT benchmark -- use descriptive anchors, ensure links support topical authority. See [content-quality-auditor](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/cross-cutting/content-quality-auditor/SKILL.md) for full audit. ```markdown ## Anchor Text Analysis ### Current Anchor Text Patterns **Most Used Anchors**: | Anchor Text | Count | Target Pages | Assessment | |-------------|-------|--------------|------------| | "click here" | [X] | [X] pages | ❌ Not descriptive | | "read more" | [X] | [X] pages | ❌ Not descriptive | | "[exact keyword]" | [X] | [page] | ⚠️ May be over-optimized | | "[descriptive phrase]" | [X] | [page] | ✅ Good | ### Anchor Text Distribution by Page **Page: [Important URL]** | Anchor Text | Source Page | Status | |-------------|-------------|--------| | "[anchor 1]" | [source URL] | ✅/⚠️/❌ | | "[anchor 2]" | [source URL] | ✅/⚠️/❌ | **Issues Found**: - Over-optimized anchors: [X] instances - Generic anchors: [X] instances - Same anchor to multiple pages: [X] instances ### Anchor Text Recommendations **For Page: [URL]** Current: "[current anchor]" used [X] times Recommended variety: - "[variation 1]" - Use from [page type] - "[variation 2]" - Use from [page type] - "[variation 3]" - Use from [page type] **Anchor Score**: [X]/10 ``` 4. **Create Topic Cluster Link Strategy** — Map current pillar/cluster links, recommend link structure, list specific links to add > **Reference**: See [references/linking-templates.md](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/optimize/internal-linking-optimizer/references/linking-templates.md) for the topic cluster link strategy template (Step 4). 5. **Find Contextual Link Opportunities** — Analyze each page for topic-relevant link opportunities, prioritize high-impact additions > **Reference**: See [references/linking-templates.md](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/optimize/internal-linking-optimizer/references/linking-templates.md) for the contextual link opportunities template (Step 5). 6. **Optimize Navigation and Footer Links** — Analyze main/footer/sidebar/breadcrumb navigation, recommend pages to add or remove > **Reference**: See [references/linking-templates.md](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/optimize/internal-linking-optimizer/references/linking-templates.md) for the navigation optimization template (Step 6). 7. **Generate Link Implementation Plan** — Executive summary, current state metrics, phased priority actions (weeks 1-4+), implementation guide, tracking plan > **Reference**: See [references/linking-templates.md](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/optimize/internal-linking-optimizer/references/linking-templates.md) for the full implementation plan template (Step 7). ## Validation Checkpoints ### Input Validation - [ ] Site structure or sitemap provided (URL or file) - [ ] Target pages or topic clusters clearly defined - [ ] If optimizing specific page, page URL or content provided ### Output Validation - [ ] Every recommendation cites specific data points (not generic advice) - [ ] All link suggestions include source page, target page, and recommended anchor text - [ ] Orphan page lists include URLs and recommended actions - [ ] Source of each data point clearly stated (~~web crawler data, ~~analytics, user-provided, or manual analysis) ## Example > **Reference**: See [references/linking-example.md](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/optimize/internal-linking-optimizer/references/linking-example.md) for a full worked example (email marketing best practices internal linking opportunities). ## Tips for Success 1. **Quality over quantity** - Add relevant links, not random ones 2. **User-first thinking** - Links should help users navigate 3. **Vary anchor text** - Avoid over-optimization 4. **Link to important pages** - Distribute authority strategically 5. **Regular audits** - Internal links need maintenance as content grows ### Save Results After delivering audit or optimization findings to the user, ask: > "Save these results for future sessions?" If yes, write a dated summary to `memory/audits/internal-linking-optimizer/YYYY-MM-DD-<topic>.md` containing: - One-line verdict or headline finding - Top 3-5 actionable items - Open loops or blockers - Source data references If any veto-level issue was found (CORE-EEAT T04, C01, R10 or CITE T03, T05, T09), also append a one-liner to `memory/hot-cache.md` without asking. ## Reference Materials - [Link Architecture Patterns](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/optimize/internal-linking-optimizer/references/link-architecture-patterns.md) — Architecture models (hub-and-spoke, silo, flat, pyramid, mesh), anchor text diversity framework, link equity flow model, and internal link audit checklist - [Linking Templates](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/optimize/internal-linking-optimizer/references/linking-templates.md) — Detailed output templates for steps 6-7 (navigation optimization, implementation plan) - [Linking Example](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/optimize/internal-linking-optimizer/references/linking-example.md) — Full worked example for internal linking opportunities ## Next Best Skill - **Primary**: [on-page-seo-auditor](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/optimize/on-page-seo-auditor/SKILL.md) — verify that revised internal links support the page-level goals. ## Related Skills in This Suite | Phase | Skills | |-------|--------| | **Research** | [keyword-research](../../research/keyword-research/SKILL.md), [competitor-analysis](../../research/competitor-analysis/SKILL.md), [serp-analysis](../../research/serp-analysis/SKILL.md), [content-gap-analysis](../../research/content-gap-analysis/SKILL.md) | | **Build** | [seo-content-writer](../../build/seo-content-writer/SKILL.md), [geo-content-optimizer](../../build/geo-content-optimizer/SKILL.md), [meta-tags-optimizer](../../build/meta-tags-optimizer/SKILL.md), [schema-markup-generator](../../build/schema-markup-generator/SKILL.md) | | **Optimize** | [on-page-seo-auditor](../on-page-seo-auditor/SKILL.md), [technical-seo-checker](../technical-seo-checker/SKILL.md), [internal-linking-optimizer](../internal-linking-optimizer/SKILL.md), [content-refresher](../content-refresher/SKILL.md) | | **Monitor** | [rank-tracker](../../monitor/rank-tracker/SKILL.md), [backlink-analyzer](../../monitor/backlink-analyzer/SKILL.md), [performance-reporter](../../monitor/performance-reporter/SKILL.md), [alert-manager](../../monitor/alert-manager/SKILL.md) | | **Cross-cutting** | [content-quality-auditor](../../cross-cutting/content-quality-auditor/SKILL.md), [domain-authority-auditor](../../cross-cutting/domain-authority-auditor/SKILL.md), [entity-optimizer](../../cross-cutting/entity-optimizer/SKILL.md), [memory-management](../../cross-cutting/memory-management/SKILL.md) | > **Install the full suite**: See [README](https://github.com/aaron-he-zhu/seo-geo-claude-skills) for one-command install of all 20 skills.
Related Skills
Pricing Optimizer
Analyzes and optimizes pricing strategy using proven frameworks
Logistics Operations Optimizer
You are a logistics operations analyst. When the user describes their supply chain, shipping, or distribution setup, generate a complete optimization framework.
Fleet Management Optimizer
You are a fleet management analyst. Help the user optimize vehicle fleet operations, reduce costs, and improve utilization.
Customer Acquisition Cost (CAC) Optimizer
Analyze, benchmark, and reduce your customer acquisition cost across every channel.
calendar-optimizer
Analyzes and rewrites calendar events into clear, actionable tasks. Removes meeting fluff and converts vague descriptions into specific deliverables with deadlines.
geo-seo-optimizer
Optimize content for Generative AI search engines (Perplexity, ChatGPT, Gemini). Use when drafting articles, marketing copy, or technical docs to ensure AI models prioritize your information as a top reference.
agent-render-linking
Create zero-retention agent-render.com links for markdown, code, diffs, CSV, or JSON artifacts. Use when an agent needs to share a nicely rendered artifact in the browser instead of pasting raw content into chat. Trigger for requests like "share this as a link", "make a diff link", "render this markdown/code/csv/json", or when chat rendering is weak. Agent Render is open source, hosted on Cloudflare Pages, and self-hostable. Use platform-specific linked-text syntax only on surfaces that support it cleanly, such as Discord Markdown links, Telegram HTML links, or Slack mrkdwn links; otherwise send a short summary plus the raw URL.
hinge-profile-optimizer
Comprehensive, research-backed Hinge dating profile optimization. Use when someone wants to improve their Hinge profile, audit an existing profile, write better prompts/captions, select and order photos strategically, or understand why they're not getting quality matches. This is the thorough process (~45 mins) - discovery interview, honest market math, photo strategy, copy creation, settings cleanup, and implementation support. Grounded in peer-reviewed behavioral research, platform data, and signaling theory.
Amazon Listing Optimizer — Free Listing Analysis & Keyword Research
**Free alternative to Helium 10 ($97/mo) and Jungle Scout ($49/mo).**
SKILL: Read Optimizer (read-optimizer)
## Description
token-optimizer
Reduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
geo-optimizer
Optimize content for AI citation (GEO). Use when user says "GEO", "generative engine optimization", "AI citation", "get cited by AI", "AI-friendly content", or creating content for ChatGPT/Claude/Perplexity visibility.