Communitygithub.com

cygnixlabs-cmd/cygnix-seo-skills

檢查網站是否擁有有效的 /llms.txt(符合 llmstxt.org 格式、連結可正常運作、檔案大小),以及 robots.txt 是否允許 GPTBot、OAI-SearchBot、ClaudeBot、PerplexityBot 和 Google-Extended 等 AI 爬蟲存取。當使用者詢問 llms.txt、AI 爬蟲存取權限、封鎖或允許 AI 機器人,或 ChatGPT/Claude/Perplexity 是否能讀取他們的網站時使用。唯讀。

cygnix-seo-skills 是什麼?

這是一個唯讀的技術檢查技能,專門用於驗證網站上兩個關鍵檔案:`/llms.txt` 和 `/robots.txt`。它能判斷 `/llms.txt` 是否按照 llmstxt.org 格式正確设置(包含正確的 H1 標題、摘要、章節以及可解析的 Markdown 連結),並檢查檔案大小是否小於約 50 KB,以確保 AI 代理程式可以順利載入。同時,它也會檢查 `/robots.txt` 是否允許主要的 AI 爬蟲(如 GPTBot、OAI-SearchBot、ClaudeBot、PerplexityBot、Google-Extended 等)存取網站根目錄,並報告任何潛在的封鎖問題。此技能完全為唯讀,不會寫入或修改任何檔案。它支援所有平台,只需安裝 Python 3 並對外發出 HTTPS 請求即可執行。使用方式簡單,透過 CLI 指令 `python3 scripts/llms_check.py example.com` 即可開始檢查,最多會針對 `/llms.txt` 中的連結發出約 25 個請求(可設定上限)。此外,它也會提醒使用者:目前 AI 搜尋爬蟲很少實際讀取 `llms.txt`,反倒是編碼代理程式和 IDE 輔助工具會使用它;對於出現在 AI 搜尋結果中,`robots.txt` 的存取權限和伺服器端渲染的內容更為重要。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cygnixlabs-cmd/cygnix-seo-skills/tree/HEAD/skills/llms-txt-check

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

llms.txt 與 AI 爬蟲存取權限檢查

一個唯讀的兩份檔案檢查:/llms.txt 和 /robots.txt。它會回報問題,但不會寫入或變更任何內容。

使用時機

  • "我的 llms.txt 有效嗎?"、"我的網站有封鎖 ChatGPT / Claude / Perplexity 嗎?"、"AI 爬蟲可以讀取我的網站嗎?"

如何執行

python3 scripts/llms_check.py example.com
python3 scripts/llms_check.py https://docs.example.com --max-links 40

需要對外 HTTPS 連線。最多發出約 25 個請求(它會檢查 llms.txt 中最多 --max-links 個連結,並在每個請求之間短暫暫停)。

檢查項目

  • /llms.txt 回傳 200 狀態碼,且內容類型為純文字,而非 HTML 軟 404 頁面。
  • 格式符合 llmstxt.org 規範:一個 # H1 標題、一個 > 摘要、## 章節、Markdown 連結。
  • 檔案大小小於約 50 KB,以便代理程式可以載入。
  • 最多 N 個連結可正常解析(先使用 HEAD,失敗則改用 GET)。
  • 檢查 /llms-full.txt 是否存在(可選)。
  • 檢查 robots.txt 是否允許 GPTBot、OAI-SearchBot、ChatGPT-User、ClaudeBot、Claude-SearchBot、PerplexityBot、Google-Extended 和 CCBot 存取 /。

誠實報告結果

目前 AI 搜尋爬蟲很少實際讀取 llms.txt;編碼代理程式和 IDE 輔助工具才會使用它。若要出現在 AI 回答中,robots.txt 的存取權限和伺服器端渲染的內容更為重要。請向使用者說明這點,而不是過度推銷 llms.txt。

範例

python3 scripts/llms_check.py plausible.io → llms.txt 不存在(404),全部 8 個 AI 爬蟲皆允許存取,已宣告 sitemap → 唯一的修正建議是「發布 /llms.txt」。

想要自動生成檔案嗎?

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

cygnixlabs-cmd/cygnix-seo-skills

Give one web page a quick 0-100 AI search visibility (GEO/AEO readiness) score from its server-rendered HTML - AI crawler access, Organization/WebSite JSON-LD, structured data, title/meta, question headings, answer-first opening, llms.txt and freshness - with the top 5 fixes. Use when the user asks if a page is ready for ChatGPT, Perplexity, Google AI Overviews or other AI search, or wants a GEO/AEO score.

cygnixlabs-cmd/cygnix-seo-skills

Compare two Google Search Console page exports (an earlier period and a recent one) and flag pages that are LOST, DECLINING, in STRIKING_DISTANCE, GROWING or STABLE, ranked by clicks lost. Use when the user asks which pages lost traffic, about content decay, what to refresh or update first, or uploads two GSC page exports. Offline, no API keys.

cygnixlabs-cmd/cygnix-seo-skills

Find queries where two or more of your own pages split Google impressions, from a Google Search Console query+page export, and rank them HIGH/MEDIUM/LOW. Use when the user asks about keyword cannibalization, competing pages, pages fighting for the same keyword, or uploads a GSC export with query and page columns. Offline, no API keys.

cygnixlabs-cmd/cygnix-seo-skills

Group a keyword list into topic clusters with a pillar keyword, majority search intent and suggested page type, so one page targets each cluster. Use when the user pastes keywords or a keyword CSV and asks to cluster, group, organise or map keywords to pages, or plan a content hub. Offline, no API keys.

相關技能