Index Fix 标志

Index Fix

社区
Houseofmvps
index-fix

Diagnose and fix non-indexed pages using GSC and Bing Webmaster data. Finds exactly why each page isn't indexed and applies the fix.

Add to TypingMind

概览

发布者Houseofmvps
代码仓库ultraship
技能名称index-fix
星标数
122
复刻数
14
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Houseofmvps/ultraship.git /tmp/ultraship
mkdir -p .claude/skills
cp -r /tmp/ultraship/skills/index-fix .claude/skills/index-fix
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Index Fix。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Index Fix — Get Every Page Indexed

Diagnose why pages aren't indexed in Google and Bing, fix the root causes, and resubmit for indexing. This skill uses real data from GSC URL Inspection API and Bing Webmaster Tools — no guessing.

Goal: 100% index coverage for pages that SHOULD be indexed. Not every URL belongs in the index — staging pages, admin panels, thin pagination, and intentionally private content should stay excluded.

Phase 1: Credential Check

Verify data sources:

  1. GSC (required): ULTRASHIP_GSC_CREDENTIALS or ULTRASHIP_GSC_ACCESS_TOKEN
  2. Bing (recommended): ULTRASHIP_BING_KEY

If GSC is not configured, show setup guide and stop — GSC is required for URL inspection.

Phase 2: Index Coverage Overview

Get the current index state:

bash
node ${CLAUDE_PLUGIN_ROOT}/tools/index-doctor.mjs coverage <site-url>

This shows:

  • Total pages submitted via sitemaps
  • Total pages indexed
  • Index rate percentage
  • Health status (HEALTHY/WARNING/CRITICAL)

Phase 3: Cross-Engine Comparison

If Bing key is available:

bash
node ${CLAUDE_PLUGIN_ROOT}/tools/index-doctor.mjs compare <site-url> <sitemap-url>

Compare Google vs Bing indexing to find:

  • Pages indexed by Google but not Bing (submit to Bing)
  • Pages indexed by Bing but not Google (investigate Google issues)
  • Overall gap analysis

Phase 4: Diagnose Non-Indexed Pages

Run the full diagnosis:

bash
node ${CLAUDE_PLUGIN_ROOT}/tools/index-doctor.mjs diagnose <site-url> <sitemap-url>

This inspects up to 50 URLs via GSC URL Inspection API and reports:

  • Which pages are indexed vs not
  • The specific reason each page isn't indexed
  • Severity rating (critical/high/medium/low)
  • Exact fix for each issue

Common Non-Indexing Reasons and Fixes:

Blocked by robots.txt (critical):

  • FIRST: Determine if the block is intentional. Common legitimate reasons to block:
    • Admin/dashboard pages, staging environments, internal tools
    • User-generated content pages, search result pages, faceted navigation
    • API endpoints, health check routes
  • If the block is intentional, do NOT remove it — remove the page from the sitemap instead
  • If the block is unintentional, find the Disallow rule and modify it using the Edit tool
  • Verify the fix: the page should be crawlable

Noindex tag (critical):

  • FIRST: Determine WHY noindex was added. Common legitimate reasons:
    • Staging/preview pages, paginated archives, tag/category pages
    • Thank-you/confirmation pages with sensitive info
    • Legal/compliance requirements, duplicate content by design
    • Pages that should only be accessible via direct link
  • Ask the user before removing noindex — removing it from staging or admin pages can expose sensitive content to search engines
  • If removal is confirmed appropriate, find <meta name="robots" content="noindex"> in the page HTML
  • Remove the noindex directive using the Edit tool
  • Check for X-Robots-Tag header in server config

Soft 404 (high):

  • Google thinks the page looks empty or error-like
  • Add substantial unique content (minimum 300 words)
  • Ensure the page returns HTTP 200 with real content
  • Remove any empty state or placeholder content

Crawled but not indexed (high):

  • Google found the page but decided not to index it
  • Usually means content is too thin, duplicate, or low quality
  • Add more unique, valuable content
  • Build 3+ internal links pointing to this page
  • Differentiate from similar pages on the site

Discovered but not crawled (medium):

  • Google knows the URL exists but hasn't visited it yet
  • Build internal links from high-traffic pages
  • Submit directly for indexing
  • Usually resolves within 1-2 weeks

Redirect (medium):

  • Page redirects to another URL
  • Update sitemap and internal links to use the final destination URL
  • Remove the redirecting URL from sitemap

Canonical mismatch (medium):

  • Google chose a different canonical URL
  • Either fix the canonical tag to point to this URL, or accept Google's choice
  • Remove from sitemap if it's truly a duplicate

Server error (critical):

  • Page returns 5xx error when Google crawls it
  • Fix the server error (check logs)
  • Ensure the page loads correctly under load

404 Not Found (high):

  • Page doesn't exist anymore
  • Remove from sitemap
  • Set up 301 redirect to relevant page

Phase 5: Apply Fixes

⚠️ SAFETY FIRST: Before applying ANY fix, verify the block/exclusion wasn't intentional. Ask the user if unsure. Removing noindex from staging pages or robots.txt Disallow from admin paths can expose sensitive content.

For each diagnosed issue, apply the fix:

robots.txt fixes:

  • Read the current robots.txt
  • Check if the Disallow rule protects staging, admin, or private pages — if so, remove the page from the sitemap instead of unblocking it
  • Only edit rules that are clearly unintentional blocks on public content
  • Ensure important public paths are not blocked

noindex fixes:

  • Verify with the user that the page should be public before removing noindex
  • Search HTML files for noindex tags
  • Remove them using Edit tool only after confirming they're not protecting sensitive content

Content quality fixes:

  • Identify thin pages (<300 words)
  • Flag for content expansion
  • Cannot auto-generate content, but can restructure and add schema

Sitemap cleanup:

  • Remove 404 and redirect URLs from sitemap
  • Regenerate if needed:
bash
node ${CLAUDE_PLUGIN_ROOT}/tools/sitemap-generator.mjs <dir> <base-url>

Internal linking:

  • Find high-traffic pages (from GSC query data)
  • Add contextual links from high-traffic pages to non-indexed pages
  • Use descriptive anchor text with target keywords

Phase 6: Resubmit for Indexing

Only resubmit pages where you've made SUBSTANTIAL fixes (added content, removed blocking directives, fixed server errors). Do NOT resubmit unchanged pages — this wastes API quota and can flag your account for spam.

After fixes, submit to both search engines:

Google:

bash
# Resubmit sitemap (only after sitemap changes)
node ${CLAUDE_PLUGIN_ROOT}/tools/gsc-client.mjs submit-sitemap <site-url> <sitemap-url>

Bing:

bash
# Submit sitemap (only after sitemap changes)
node ${CLAUDE_PLUGIN_ROOT}/tools/bing-webmaster.mjs submit-sitemap <site-url> <sitemap-url>

# Batch submit specific fixed URLs for fast indexing (max 500/day — only URLs you actually fixed)
node ${CLAUDE_PLUGIN_ROOT}/tools/bing-webmaster.mjs submit-url-batch <site-url> <url1> <url2> ...

Phase 7: Auto-Fix and Resubmit

Run the auto-fix command which diagnoses AND submits non-indexed URLs:

bash
node ${CLAUDE_PLUGIN_ROOT}/tools/index-doctor.mjs fix <site-url> <sitemap-url>

This automatically:

  1. Inspects all sitemap URLs
  2. Identifies non-indexed pages
  3. Submits fixable URLs to Bing for re-indexing
  4. Returns a prioritized fix plan

Phase 8: Verification Plan

After applying fixes:

  1. Re-run coverage check to compare before/after
  2. Set a reminder to re-check in 1-2 weeks (Google re-crawl takes time)
  3. Monitor GSC for new indexing issues
bash
node ${CLAUDE_PLUGIN_ROOT}/tools/index-doctor.mjs coverage <site-url>

Phase 9: Prevention

Advise on preventing future indexing issues:

  • Always test new pages for noindex tags before deploying
  • Keep sitemap updated (auto-generate on deploy)
  • Monitor robots.txt changes
  • Ensure all pages have unique, substantial content
  • Build internal links to every new page
  • Submit sitemap to both GSC and Bing after every deploy

Key Principles

  1. Diagnose before fixing — understand WHY each page isn't indexed
  2. Verify intent before removing blocks — noindex and robots.txt Disallow rules are often intentional (staging, admin, privacy, legal). Ask before removing.
  3. Fix the root cause — don't just resubmit, fix the underlying issue
  4. Both engines matter — Bing powers ChatGPT Search, DuckDuckGo, Yahoo
  5. Only submit pages you've actually fixed — resubmitting unchanged pages wastes quota and can trigger spam flags
  6. Prevention > cure — set up processes to catch issues before they happen

Rollback Plan

If fixes cause unexpected issues (pages appearing in search that shouldn't, traffic drops):

  1. Re-add noindex to any pages that were incorrectly unblocked
  2. Restore robots.txt Disallow rules that were removed in error
  3. Remove pages from sitemap that shouldn't be indexed
  4. Re-run coverage to verify the rollback took effect
  5. Google re-crawl may take 1-2 weeks — request re-crawl via GSC for urgent fixes

常见问题

Index Fix AI 技能有什么作用?

Diagnose and fix non-indexed pages using GSC and Bing Webmaster data. Finds exactly why each page isn't indexed and applies the fix.

为什么在 TypingMind 中使用 Index Fix?

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

如何在 TypingMind 中安装 Index Fix?

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

哪些 AI 模型可以使用 Index Fix?

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

Index Fix 可以搭配多少个 AI 模型使用?

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

Index Fix AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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