Internal Link Builder 标志

Internal Link Builder

组织
respira-press
internal-link-builder

当用户说“build internal links”“improve internal linking”“fix orphaned pages”或“create topic clusters”时使用。分析所有已发布的内容,梳理主题之间的关联,并在进行任何更改前提交链接方案供用户批准。

概览

发布者respira-press
代码仓库agent-skills-wordpress
技能名称internal-link-builder
星标数
50
复刻数
8
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 respira-press 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Internal Link Builder AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/respira-press/agent-skills-wordpress/tree/main/skills/internal-link-builder
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/respira-press/agent-skills-wordpress.git /tmp/agent-skills-wordpress
mkdir -p .claude/skills
cp -r /tmp/agent-skills-wordpress/skills/internal-link-builder .claude/skills/internal-link-builder
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Internal Link Builder,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Internal Link Builder。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Internal Link Builder 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Internal Link Builder

Version: 1.2.0 Updated: 2026-06-30 Freshly updated: v1.2.0 snapshots every page with respira_get_snapshot before touching links, locates the exact target paragraph with respira_find_element and inserts contextual links there with respira_update_element instead of rewriting whole pages, applies links across many pages in one pass with respira_batch_update, and persists the per-site linking strategy (anchor-text rules, clusters already built, do-not-link pairs) via respira_get_option / respira_update_option so repeat runs build on prior work.

Strategic internal link building for WordPress sites. Analyzes all published content, maps topic relationships, identifies high-value linking opportunities between pages, and presents a clear plan for approval before making any changes. Use this skill whenever someone mentions internal links, link building, content interlinking, orphaned pages that need links, topic clusters, pillar pages, or wants to improve their site's internal link structure for SEO.

What This Skill Does

Internal links are one of the highest-leverage on-page SEO tactics — they distribute page authority, help search engines understand site structure, and guide visitors to related content. Most WordPress sites under-link dramatically, leaving value on the table.

This skill reads every published page and post, builds a content relationship map, and finds natural opportunities to connect related content through contextual links. It always shows you the full plan before touching anything.

Finds:

  • Orphaned content (pages/posts with zero or few inbound internal links)
  • Hub pages that should link to related sub-pages but don't
  • Blog posts that reference topics covered by other pages without linking
  • Pillar/cluster opportunities (topically related content that should be interlinked)
  • Pages with high authority potential that aren't distributing link equity
  • Over-linked pages (too many outbound links diluting value)
  • Missing contextual links (mentions of topics without corresponding links)

Recommends:

  • Specific source page → target page link pairs
  • Suggested anchor text (natural, descriptive, not keyword-stuffed)
  • Link placement context (which paragraph/section the link belongs in)
  • Priority ranking (high/medium/low impact)
  • Reasoning for each recommendation (why this link makes sense)

Requirements

  • Respira for WordPress plugin installed and connected
  • MCP connection active (desktop or WebMCP)
  • Read access to scan site content
  • Write access to create duplicates (only if user approves changes)

Trigger Phrase

  • "build internal links"

Alternative Triggers

  • "improve internal linking"
  • "find internal link opportunities"
  • "interlink my content"
  • "fix orphaned pages"
  • "create topic clusters"
  • "link my pages together"
  • "internal link audit"

Execution Workflow

Phase 1: Content Inventory & Mapping

  1. Verify Respira + MCP connection via respira_get_site_context. If unavailable, stop and show setup guidance.
  2. Load any saved linking strategy for this site via respira_get_option (key respira_internal_link_strategy). If present, it carries the anchor-text conventions, topic clusters already built, and do-not-link pairs from previous runs. Use it so a repeat run extends prior work instead of re-proposing the same links. If absent, start fresh and write it back in Phase 4.
  3. Fetch all published content:
    • respira_list_pages — get all pages
    • respira_list_posts — get all posts
  4. For each content item, load full content:
    • respira_read_page or respira_read_post
    • Extract: title, URL/slug, headings, main topics, existing internal links, word count
  5. Build a content map — a structured index of:
    • Each page/post's primary topic and subtopics
    • Keywords and phrases each piece targets
    • Existing internal links (source → target pairs)
    • Inbound link count per page
    • Content type (pillar page, blog post, product page, landing page, etc.)

Phase 2: Opportunity Analysis

Analyze the content map to find linking opportunities. For each potential link, evaluate:

  1. Topical relevance — Does the source content naturally relate to the target? Only recommend links where the connection is genuinely useful to a reader. A link should feel like a helpful "read more about this" moment, not a forced SEO play.

  2. Context fit — Is there a natural place in the source content where the link fits? Look for:

    • Mentions of the target page's topic without an existing link
    • Paragraphs that discuss related concepts
    • Lists or resource sections where the target would be a natural addition
    • Introductions or conclusions that reference broader topics
  3. Link equity value — Consider:

    • Orphaned pages (0-1 inbound links) get priority as targets
    • High-traffic/high-authority pages are valuable as sources
    • Deep pages that are hard to reach from navigation benefit most
    • Don't over-link any single page (diminishing returns after ~3-5 new links per page)
  4. Anchor text quality — Suggest anchor text that:

    • Reads naturally in context
    • Describes what the reader will find (not "click here")
    • Uses relevant keywords without being spammy
    • Varies across different links to the same target

Phase 3: Present the Plan

Present the linking plan as a clear, scannable report. Group recommendations by priority:

## Internal Link Building Plan

### Site Overview
- Total pages/posts scanned: X
- Existing internal links found: X
- Orphaned content (0-1 inbound links): X
- New links recommended: X

### High Priority (orphaned pages & pillar connections)

1. **[Source Page Title]** → **[Target Page Title]**
   - Why: [Brief reasoning — e.g., "Source discusses WordPress security but doesn't link to your dedicated security guide"]
   - Anchor text: "[suggested anchor text]"
   - Placement: [Where in the source content — e.g., "In the paragraph about plugin vulnerabilities (under H2 'Keeping Your Site Safe')"]

2. ...

### Medium Priority (topical cluster links)
...

### Low Priority (nice-to-have contextual links)
...

### Summary
- High priority: X links (strongly recommended)
- Medium priority: X links (good for SEO)
- Low priority: X links (optional enhancement)

Then ask:

Here's the internal linking plan. Would you like me to:

  1. Apply all recommendations (creates duplicates for review)
  2. Apply only high-priority links
  3. Let you pick specific links to apply
  4. Just keep this as a reference — no changes

Wait for explicit confirmation before proceeding.

Phase 4: Apply Links (Only If Approved)

  1. Before any edits, snapshot the pages you're about to touch with respira_get_snapshot. One snapshot covers the run and makes the whole pass reversible in one step via respira_restore_snapshot. This replaces the older duplicate-first dance for the common case: you edit in place, but the snapshot is the safety net. (Duplicate-first via respira_create_page_duplicate / respira_create_post_duplicate remains an option when the user explicitly wants a side-by-side draft to review before publishing.)
  2. For each approved link, find the exact insertion point rather than rewriting the page:
    • Use respira_find_element to locate the target paragraph or block where the link belongs (match on the surrounding text or heading recorded in the plan's Placement note)
    • Apply the link to just that element with respira_update_element, inserting <a href="...">anchor text</a> inline in the matched text. This leaves the rest of the page byte-for-byte unchanged.
    • Respect the page builder format (Gutenberg blocks, Divi shortcodes, Elementor data, etc.). For deep structural cases use respira_extract_builder_content to understand the node tree first.
  3. When many pages get links in the same run, apply them in one pass with respira_batch_update instead of a separate write per page. Build the edit list (page/post id + element target + new markup) from the approved plan and submit it together. Fall back to individual respira_update_element / respira_update_page / respira_update_post calls only for one-off insertions.
  4. After all edits are applied, provide a summary:
    • Number of pages modified
    • Total links added
    • The snapshot id for rollback, plus links to review the modified pages in WordPress admin
  5. Persist the updated linking strategy with respira_update_option (key respira_internal_link_strategy): record the clusters now built, the anchor-text conventions used, and any do-not-link pairs, so the next run starts from this state.

Link Quality Rules

These rules prevent the skill from making harmful or spammy recommendations:

  • Relevance first — Never recommend a link purely for SEO mechanics. Every link must be genuinely useful to a human reader navigating between the two pages.
  • No self-links — Don't link a page to itself.
  • No duplicate links — Don't recommend a link that already exists on the source page.
  • Respect existing links — If a paragraph already has 2+ links, don't add more to it. Link density matters for readability.
  • Natural anchor text — No exact-match keyword stuffing. Anchor text should read as part of the sentence.
  • Builder-aware — When inserting links, preserve the page builder's content format. Don't break Divi shortcodes, Elementor JSON, or Gutenberg block markup.
  • Conservative by default — When in doubt about a link's relevance, leave it out. It's better to recommend 10 great links than 30 mediocre ones.

Output Format

Always include:

  1. Site content summary (pages/posts scanned, existing link density)
  2. Content map highlights (topic clusters identified, orphaned content found)
  3. Prioritized linking plan (high/medium/low with reasoning for each)
  4. Clear confirmation prompt — never proceed without approval
  5. Impact estimate (which orphaned pages get rescued, which clusters get strengthened)

If changes are applied, also include:

  1. Change summary (pages modified, links added, snapshot id)
  2. Review instructions (which pages to review in WordPress, and how to roll back)

Safety Model

  • Read-only analysis first — full content scan before any changes
  • Explicit user confirmation before any edits
  • Snapshot before writing — respira_get_snapshot captures the pages first, so the whole run reverts in one step via respira_restore_snapshot
  • Targeted edits — respira_find_element + respira_update_element change only the matched paragraph, leaving the rest of the page untouched (no whole-page rewrite)
  • Duplicate-first remains available when the user wants a side-by-side draft instead of an in-place edit
  • Provides rollback guidance (restore the snapshot if not wanted)
  • Preserves all existing content and links — only adds, never removes

Honest Disclaimer

This skill identifies internal linking opportunities and creates optimized duplicates for review.

It cannot:

  • Guarantee ranking improvements
  • Fix external/backlink profile
  • Replace a proper content strategy
  • Publish changes without your review

It can:

  • Find genuine content relationships you've missed
  • Rescue orphaned pages from obscurity
  • Strengthen topical clusters with contextual links
  • Save hours of manual content auditing

Tooling

Core WordPress tools

  • respira_get_site_context
  • respira_list_pages
  • respira_list_posts
  • respira_read_page
  • respira_read_post
  • respira_extract_builder_content
  • respira_inject_builder_content
  • respira_create_page_duplicate
  • respira_create_post_duplicate
  • respira_update_page
  • respira_update_post

Targeted insertion (preferred for link edits)

  • respira_find_element — locate the exact target paragraph/block for contextual insertion
  • respira_update_element — insert the link into just that element, no whole-page rewrite
  • respira_batch_update — apply links across many pages in one pass

Snapshot & rollback

  • respira_get_snapshot — capture pages before editing
  • respira_restore_snapshot — one-step revert

Per-site strategy persistence

  • respira_get_option — load the saved linking strategy (respira_internal_link_strategy)
  • respira_update_option — persist clusters built, anchor-text rules, and do-not-link pairs

Telemetry

After run completion, send fire-and-forget usage tracking to:

  • POST https://www.respira.press/api/skills/track-usage

Include:

  • skill_slug = internal-link-builder
  • site/version context
  • duration and success
  • pages scanned, links recommended, links applied counts
  • tools used

Never block user flow on telemetry failure.

Related Skills

  • SEO & AEO Amplifier (complements this — run SEO audit first, then build links)
  • WordPress Site DNA (understand site structure before linking)
  • Technical Debt Audit

Built by Respira Team https://respira.press/skills/internal-link-builder

常见问题

Internal Link Builder AI 技能有什么作用?

当用户说“build internal links”“improve internal linking”“fix orphaned pages”或“create topic clusters”时使用。分析所有已发布的内容,梳理主题之间的关联,并在进行任何更改前提交链接方案供用户批准。

为什么在 TypingMind 中使用 Internal Link Builder?

因为您只需安装一次,就能搭配任何模型使用。Internal Link Builder 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Internal Link Builder?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/respira-press/agent-skills-wordpress/tree/main/skills/internal-link-builder。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Internal Link Builder?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Internal Link Builder 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Internal Link Builder 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Internal Link Builder AI 技能免费吗?

是的。respira-press 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇