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` 是否有效(返回 200、纯文本、符合 llmstxt.org 格式、大小不超过 50 KB),并检查 `/llms.txt` 中所有链接的可达性。同时,它检查 `robots.txt` 是否允许主要 AI 爬虫(如 GPTBot、OAI-SearchBot、ClaudeBot、PerplexityBot、Google-Extended 等)访问网站的根路径。该技能支持 Claude Code、Cursor、Codex 等 AI 代理平台,通过命令行运行,需要出站 HTTPS 连接,最多发起约 25 个请求。它不会对网站进行任何写入或修改操作。该技能还能提供实用建议,如告知用户 AI 搜索爬虫目前很少抓取 llms.txt,实际更重要的是 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.

相关技能