Logo Index Fix

Index Fix

Cộng đồng
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

Tổng quan

Nhà phát hànhHouseofmvps
Kho mãultraship
Tên kỹ năngindex-fix
Sao
122
Bản fork
14
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được Houseofmvps công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Index Fix trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Houseofmvps/ultraship/tree/main/skills/index-fix
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Index Fix trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Index Fix ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Index Fix với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Câu hỏi thường gặp

Kỹ năng AI Index Fix làm được gì?

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

Vì sao nên dùng Index Fix trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Index Fix là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Index Fix trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Houseofmvps/ultraship/tree/main/skills/index-fix. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Index Fix?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Index Fix với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Index Fix với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Index Fix có miễn phí không?

Có. Kỹ năng này được Houseofmvps phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇