‹ 首页

internal-linking-optimizer

@aaron-he-zhu · 收录于 1 周前

Use when the user asks to "fix internal linking" or "find orphan pages"; maps link architecture, authority flow, anchor text, and crawl depth, then delivers a prioritized source/target/anchor plan. Not for external backlinks — use backlink-analyzer. 内链优化/站内架构

适合你,如果运营网站需要改善内部链接布局和流量分配

/ 下载安装
internal-linking-optimizer.skill双击,或拖进 Claude 桌面版 / Cowork,即完成安装↓ .skill↓ .zip
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code~/.claude/skills/(项目级 .claude/skills/)
Codex CLI~/.codex/skills/
Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add aaron-he-zhu/aaron-marketing-skills/internal-linking-optimizer
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- aaron-he-zhu/aaron-marketing-skills/internal-linking-optimizer
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify aaron-he-zhu/aaron-marketing-skills/internal-linking-optimizer
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
2351GitHub stars
待重算上下文体积
镜像托管

怎么用

商店整理自技能原文 · 版本 4c381c8 · 表述以原文为准
它做什么

装上后,Claude 会分析网站的内部链接结构,找出孤岛页面、锚文本分布和链接深度问题,然后给出一个按优先级排序的链接优化方案,包括从哪里链接到哪里以及用什么锚文本。

什么时候触发

当你要求“修复内部链接”或“查找孤岛页面”,或者询问网站架构优化时触发。

装好后可以这样说
Claude 会扫描网站并生成诊断报告。
Claude 会推荐具体的源页面、目标页面和锚文本。
Claude 会列出没有入站内链的页面并给出处理建议。
技能原文 SKILL.md作者撰写 · Apache-2.0 · 4c381c8

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](../../references/skill-contract.md).

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](../../references/skill-contract.md).
Data Sources

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

Zero-dependency local helper (no tool needed): python3 "${CLAUDE_PLUGIN_ROOT}/scripts/connectors/crawl.py" <url> | python3 "${CLAUDE_PLUGIN_ROOT}/scripts/connectors/linkgraph.py" - computes orphans, click-depth, and internal PageRank from a live crawl. See [scripts/connectors/README.md](../../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](references/link-architecture-patterns.md); 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](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](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](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](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](references/linking-templates.md) contains the Step 7 template.
Site-Map Diagram (optional)

To make orphan pages and link islands visible, draw a Mermaid graph TD with one subgraph per nav zone. Orphans sit in their own subgraph with no inbound edges; islands are clusters that link among themselves but never back to a pillar. Paste into any Mermaid renderer.

graph TD
  subgraph Pillars
    H[Home] --> P[Pillar: Email]
  end
  subgraph Cluster
    P --> A[List building]
    P --> B[Subject lines]
  end
  subgraph Orphans
    O[Old promo page]
  end
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](references/link-architecture-patterns.md), 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](references/linking-example.md) for the full worked example.
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
  • [Link Architecture Patterns](references/link-architecture-patterns.md) — Architecture models, selection thresholds, migration safeguards, and measurement targets
  • [Linking Templates](references/linking-templates.md) — Detailed output templates for steps 3-7
  • [Linking Example](references/linking-example.md) — Full worked example for internal linking opportunities
Next Best Skill

Primary: [on-page-seo-auditor](../on-page-seo-auditor/SKILL.md) — verify that revised internal links support page-level goals.

按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。