llms-txt
Skill301 starsChanged 17 days agoMITView on GitHub
Build the files AI reads first: llms.txt, facts.json, robots.txt, sitemap.xml and a static fact site generated from a fact card. Use when the user asks for llms.txt, wants a site agents can read without JavaScript, needs machine-readable facts about a product as files, or wants GitHub Pages to publish an AI-readable fact sheet from confirmed facts only. Starts from a fact card that already exists; reconciling scattered sources into that card is ai-content-writer. Generates the site, refuses unconfirmed facts, and explains what llms.txt can and cannot do. For crawl diagnostics, see ai-crawler-audit. For prose that gets cited, see ai-content-writer.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- visibian/seo-geo-skillstheir own version, first seen Nov 22, 2026
- saizul/seo-audit-skillstheir own version, first seen Nov 22, 2026
- sitetiller/ai-visibility-skillstheir own version, first seen Nov 15, 2026
- aelena/claude-skillstheir own version, first seen Nov 13, 2026
- 6t9xstar/one-step-seotheir own version, first seen Nov 8, 2026
- genericService/claude-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use ecommerce-seo, content-brief and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MYehia565Skillecommerce-seo
Applies Google ecommerce SEO guidance: IA/URLs, product data, and shopping-related structured data. Use when building or fixing product/category/store search presence.
Also in 3 projects that use this
LangChainSkillcontent-brief
Turn a vague or multi-asset design ask into a brief. Pull what is already known, ask at most two questions with reasons, decide the rest and say what you decided.
Also in 5 projects that use this
akii-technologies-ltdSkillinternal-linking
Analyze and improve internal linking strategy. Use when the user asks about "internal links", "link structure", "site architecture", "link strategy", "orphan pages", "link equity", "page authority distribution", "anchor text", "topical clusters", "siloing", or wants to improve how pages connect.
Also in 3 projects that use this
huiferSkilllocal-seo
本地 SEO 分析和优化专家。自动检测项目是否需要本地 SEO,分析 NAP(Name, Address, Phone)一致性、本地关键词优化、Google Business Profile (GBP) 优化和本地结构化数据生成。提供本地商家搜索引擎排名优化建议,包括 NAP 标准化、本地关键词策略、GBP 完整性检查、评论策略、地图嵌入和本地 SEO 审计。
Also in 3 projects that use this
silvainfmSkillschema-markup
When the user wants to add, fix, or optimize schema markup and structured data on their site. Also use when the user mentions "schema markup," "structured data," "JSON-LD," "rich snippets," "schema.org," "FAQ schema," "product schema," "review schema," or "breadcrumb schema." For broader SEO issues, see seo-audit.
Also in 3 projects that use this
AnthropicSkillseo-audit
Run a comprehensive SEO audit — keyword research, on-page analysis, content gaps, technical checks, and competitor comparison. Use when assessing a site's SEO health, when finding keyword opportunities and content gaps competitors own, or when you need a prioritized action plan split into quick wins and strategic investments.
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- akii-technologies-ltd/akii-seo-ai-search-optimizer★ 80same name
- jsath/claude-skills★ 14same name
- littlebearapps/pitchdocs★ 8same name
- 6t9xstar/one-step-seo★ 5same name
- Anas660/claude-seo-desk★ 3same name
- AgentCTO/claude-skills★ 2same name
- jstanx/aeo-toolkit★ 2same name
- marcelo-earth/llms-txt-generator★ 2same name
- genericService/claude-skills★ 1same name
- howseen-ai/howseen-geo-skills★ 1same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- ai-content-writerSkill
- ai-crawler-auditSkill
- ai-visibilitySkill
- geo-doctorSkill
- geo-publishSkill
The file
Files
给 AI 读的站点与 llms.txt
只做一件事:把事实变成机器能直接读的文件和页面。 一次生成,长期维护,不靠人工一页页改。
用用户的语言交流;本文件是中文的,读懂后用用户的语言转述。
什么时候用
- "帮我加个 llms.txt" / "llms.txt 该怎么写"
- "AI 读不懂我的官网" / "我的站全是 JS 渲染的"
- "有没有一个页面能让 AI 一次看清我是什么产品?"
- 想把事实卡变成可部署的静态站(GitHub Pages 也行)
不接的活:查为什么抓不到 → ai-crawler-audit;写文章 → ai-content-writer;发到第三方平台 → geo-publish。
两个必须先说清的前提
llms.txt不是官方标准,也没有公开证据表明主流 AI 已经普遍读取它。 它值得做,因为成本极低、人和机器都能读;但不要说"加上就会被引用"。说这种话就是承诺结果。- 真正决定能不能被读懂的是正文在 HTML 里、robots 放行、内容可摘录。
llms.txt是锦上添花,不是地基。
流程
以本 SKILL.md 所在目录为技能根,说明见 references/llms-txt.md,脚本 scripts/geo-site.mjs(零依赖)。
1. 先有事实卡
事实卡来自 ai-content-writer(geo/fact-card.yaml)。没有就先建:只有状态为"已确认"的条目会进站点,其余会让构建失败并点名——这是故意的。
2. 生成
node scripts/geo-site.mjs build --facts geo/fact-card.yaml --out dist --dry-run
node scripts/geo-site.mjs build --facts geo/fact-card.yaml --out dist --base-url https://you.github.io/brand/产出:index.html(事实页)、faq.html、llms.txt、facts.json、robots.txt;给了 --base-url 才会写 sitemap.xml 和 canonical。--drafts geo/drafts 可把已确认的文章一起生成。
3. 部署
node scripts/geo-site.mjs action 会写一个 GitHub Actions 工作流:geo/ 一变就重建、部署到 GitHub Pages、顺手体检。也可以把 dist/ 部署到任意静态托管。
4. 部署后自检
用 ai-crawler-audit 体检线上地址,重点看三件事:正文在不在原始 HTML 里、robots 有没有放行、llms.txt 和 facts.json 能不能直接取到。只生成不体检 = 没做完。
不能运行脚本时
按 references/llms-txt.md 的清单手写这几个文件,并在对话里给出完整可复制内容、注明"待保存"。手写 llms.txt 的最小结构:一级标题(站点/产品名)、一句话摘要(这是什么、给谁用)、分节链接清单(每个链接后跟一句说明)。facts.json 至少包含产品名、一句话定位、价格、能力、明确不支持的事、更新日期,每条带来源。
产出
dist/(或用户指定目录)下的站点文件、.github/workflows/geo-site.yml(用 action 生成)。
结束时
用 3 到 5 行说明:生成了哪几个文件、哪几条事实因为未确认被挡住、线上地址是什么、下一步该验什么。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

