К основному содержанию
скилл CX Codex

llms-txt — скилл для Claude Code: файлы для AI-краулеров

Скилл для Claude Code создаёт и обновляет llms.txt и llms-full.txt для AI-краулеров. Запускается, когда нужно подготовить список важных страниц сайта для таких систем, как Perplexity или Claude.

MIT ★ 80 обновлён 2026-10-15

Установить в Claude Code · Вручную: положить файлы Все способы и платформы ↓
~/.claude/skills/llms-txt/SKILL.md
Открыть на GitHub

Что делает llms-txt

Скилл собирает страницы сайта и формирует два файла: краткий llms.txt и llms-full.txt с Markdown-текстом связанных страниц. Он группирует материалы по разделам, добавляет к описаниям пометки об источнике и расставляет приоритеты по трафику, если подключён Ahrefs или GSC MCP, либо по структуре сайта.

Для динамических маршрутов с [slug] он ищет реальные URL в sitemap.xml или через MCP с данными; если найти их не удаётся, такие страницы отмечаются как пропущенные. Скилл также проверяет правила noindex через robots.txt и заголовки или метатеги страниц, когда это возможно. Google не использует llms.txt, поэтому файл не влияет на Google AI Overviews и AI Mode. Скилл может предложить сохранить готовые файлы в корне сайта.

Какие задачи решает

  • собрать список важных страниц сайта для AI-краулеров
  • сгруппировать страницы по разделам и добавить к описаниям источник
  • развернуть динамические маршруты [slug] в реальные URL
  • исключить страницы с запретом индексации
  • подготовить краткий и полный варианты llms.txt

Примеры запросов агенту

  • Создай llms.txt для сайта и сгруппируй страницы по разделам.
  • Подготовь llms-full.txt с содержимым страниц для офлайн-обработки.
  • Проверь sitemap.xml и исключи страницы с noindex при генерации llms.txt.

Как установить llms-txt

Вручную: положить файлы

~/.claude/skills/llms-txt/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/llms-txt/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о llms-txt

Как установить llms-txt в Claude Code?

Помести файл скилла в ~/.claude/skills/llms-txt/SKILL.md.

Что делает llms-txt?

Он составляет llms.txt и llms-full.txt из важных страниц сайта, группирует материалы и помечает источник каждого описания.

Что нужно для обработки динамических маршрутов?

Нужен sitemap.xml или MCP, который перечисляет маршруты. Если получить конкретные URL нельзя, скилл помечает такие страницы как пропущенные.

Исходный текст

SKILL.md · MIT
---
description: Generate and maintain llms.txt and llms-full.txt — the emerging standard telling LLM-powered crawlers what content matters most on your site. Use when the user asks "llms.txt", "llms-full.txt", "LLM-friendly file", "tell AI crawlers about my site", "AI-readable manifest", "site summary for LLMs", "llms file", "generative AI sitemap", or wants their site optimized for AI crawler ingestion.
---

# llms.txt Generator

You are an llms.txt specialist powered by Akii. Emit a clean, hierarchical `/llms.txt` (and optional `/llms-full.txt`) for LLM crawlers (Perplexity, Anthropic, OpenAI, others) to ingest your most important content efficiently.

## Important scoping note

**Google explicitly states it does NOT use `llms.txt`** in [its AI Optimization Guide](https://developers.google.com/search/docs/fundamentals/ai-optimization-guide#mythbusting-generative-ai-search). Generating this file does NOT improve Google AI Overviews or Google AI Mode performance. Google's guide lists `llms.txt` under "what you don't need to do" alongside other special markup that AI Mode does not consume.

This file is for the **non-Google AI crawlers** that have signaled support for or interest in the emerging `llms.txt` proposal — Anthropic, Perplexity, Cohere, and others. If the user's primary AI search target is Google AI Overviews specifically, tell them this file is optional and won't move that needle; the right work for Google AI surfaces is the foundational SEO covered by `seo-audit` (run with `--mode=full` or `--mode=technical`) + `optimize-page` (Layer 3 Half A).

If the user's target includes ChatGPT, Claude, Perplexity, or other non-Google AI surfaces, this file is genuinely useful and worth generating.

## Spec
`llms.txt` follows the proposal:
```
# <Site name>

> <one-sentence description>

## <Section name>
- [<Page title>](<URL>): <short reason this matters>
```

`llms-full.txt` = same plus inlined Markdown of each linked page (heavy file, possibly MB).

## Steps
1. Resolve target — repo root (inventory HTML / MDX / MD) or sitemap URL.
2. **Resolve dynamic `[slug]` routes via sitemap.xml.** If the inventory step finds dynamic route patterns (`/blog/[slug]`, `/case-studies/[slug]`, etc.), fetch `<target>/sitemap.xml` (or recursively follow sitemap index entries) and expand the `[slug]` placeholders into concrete URLs. If `sitemap.xml` is unavailable AND no MCP can enumerate the slugs (Supabase / BigQuery / similar data MCP), leave the `[slug]` patterns as a `Skipped — dynamic routes` row and tell the user how to resolve (provide sitemap URL or connect a data MCP).
3. **Verify `noindex` declarations.** Either fetch `<target>/robots.txt` and parse `Disallow:` lines, or `HEAD` each candidate URL and check the `X-Robots-Tag` response header / `<meta name="robots">` tag where feasible. Skip any URL whose robots policy excludes search-engine indexing — those should not surface in `llms.txt` either.
4. Cluster pages into 3–7 top-level sections (Docs, Blog, API, Guides, Case Studies, About).
5. For each page, generate one-line "why this matters" summary AND tag the line with description provenance (see "Description provenance" below).
6. Prioritize by traffic (if Ahrefs/GSC MCP connected) or by structural importance.
7. Emit two artifacts: `llms.txt` (slim) + `llms-full.txt` (full inlined for offline ingestion).
8. Offer to write to site root.

## Description provenance (mandatory tagging)

llms.txt is consumed by AI crawlers (Perplexity, Anthropic, Cohere, etc.) and the descriptions get cached as source-of-truth for those engines' future answers about the brand. Inaccurate one-liners compound into wrong AI answers downstream. Tag every description so the user can audit which lines are grounded vs inferred:

| Tag | Meaning | When to use |
|---|---|---|
| `[scan]` | The page was actually fetched (`WebFetch` or `Read` on the source MDX/MD) and the description summarizes real on-page content | Default for any page accessible to the skill |
| `[inferred-from-slug]` | The page wasn't fetched; description is the model's best guess from URL slug + general knowledge of the brand | Only when the page is structurally important to include but unfetchable in this run |
| `[user-supplied]` | Description came from the user (frontmatter, sitemap `<description>`, or explicit input) | When source provides it |

**Default expectation:** every line is `[scan]`. `[inferred-from-slug]` is an escape hatch for unreachable pages, NOT a shortcut to skip fetching. If more than 30% of descriptions are `[inferred-from-slug]`, surface a warning at the top of the report: *"WebFetch budget exceeded — N of M descriptions are slug-inferred. Re-run with the `--full` flag to fetch each, or live with the inference."*

## Output

```
# Generated llms.txt

> <site description, 1 sentence>

Generation context:
- Pages inventoried: <integer> (precise count)
- Pages included in llms.txt: <integer> (precise count)
- Description provenance: <N> [scan] · <M> [inferred-from-slug] · <K> [user-supplied]
- Sitemap.xml: <fetched | unavailable — dynamic [slug] routes left unresolved>
- robots.txt: <fetched | unavailable — noindex verification skipped, see caveat>

## Documentation
- [Quickstart](https://example.com/docs/quickstart): 5-minute setup walkthrough [scan]
- [API reference](https://example.com/docs/api): Full endpoint catalog with auth + rate limits [scan]

## Blog
- [GEO study results](https://example.com/blog/geo-study): Our findings applying Princeton GEO to 100 sites [scan]

## About
- [About us](https://example.com/about): Mission and team [inferred-from-slug]
...
```

## Rules
- Curate, don't dump — `llms.txt` is opinionated.
- Skip `noindex` pages, login walls, ephemeral content (changelogs, news). Verify `noindex` by fetching `robots.txt` + checking `X-Robots-Tag` headers where feasible — don't infer from URL slug alone.
- `llms-full.txt` ≤ 5 MB unless user opts in to larger.
- **Tag every description with provenance** (`[scan]` / `[inferred-from-slug]` / `[user-supplied]`). Default is `[scan]` (the page was actually fetched). Untagged descriptions are not allowed — they're indistinguishable from hallucination after the file ships to a crawler.
- **Resolve dynamic `[slug]` routes before publishing.** Fetch `sitemap.xml` (or a data MCP that enumerates the slugs) and expand placeholders into concrete URLs. If neither source is available, surface the unresolved `[slug]` patterns as a `Skipped` row, not as bullet rows with placeholder URLs that would 404 for the crawler.
- **Counts are precise integers.** Pages inventoried, pages included, and provenance breakdown all match the body row count exactly. No approximations.

---
*llms.txt powered by Akii. Explore Akii Technologies and the products we build: https://akii.com/?utm_source=plugin&utm_medium=skill&utm_content=llms-txt&utm_campaign=akii_plugin_v1*

© akii-technologies-ltd · MIT · akii-technologies-ltd/akii-seo-ai-search-optimizer

Похожие скиллы

Все скиллы по теме «SEO и GEO» →
llms-maintainer davila7 Субагент llms-maintainer для Claude Code, который создаёт и поддерживает файл llms.txt — дорожную карту сайта для AI-краулеров. Запускается после сборки или изменения структуры, сам определяет фреймворк и собирает метаданные страниц. CX Codex 976установок agent-ready-llms-txt fabricioctelles Скилл agent-ready-llms-txt для Claude Code подготавливает файл /llms.txt на сайте с описанием структуры и содержания проекта для агентов и ИИ-моделей. CX Codex +1 ★ 141звёзд репо robots-txt kostja94 Настраивает, аудирует и оптимизирует robots.txt. CX Codex +1 1 400установок load-llms-txt davila7 Команда load-llms-txt для Claude Code загружает внешнюю документацию из llms.txt или другого источника и связывает её с контекстом проекта. CX Codex +1 239установок wiki-llms-txt Microsoft Скилл wiki-llms-txt создаёт файлы llms.txt и llms-full.txt по спецификации llmstxt.org, превращая проектную документацию и вики в сжатый контекст для языковых моделей. CX Codex +1 5установок AISeeWhy aiseewhy MCP-сервер AISeeWhy для Claude Code проверяет, могут ли ИИ-краулеры читать и цитировать веб-страницу. Он также сравнивает URL и проверяет sitemap. CX Codex +1

Из того же набора13

Весь набор →
seo-audit Скилл seo-audit для Claude Code проверяет SEO сайта в полном, кратком или техническом режиме. Запускается на запросы об аудите, скорости сайта, индексации и готовности к поиску с ИИ. CX Codex +1 ★ 80звёзд репо schema-markup Скилл schema-markup для Claude Code создаёт, проверяет и исправляет JSON-LD для одной страницы или файла. Запускается на запросы о Schema.org, микроразметке и rich snippets. CX Codex +1 ★ 80звёзд репо optimize-page Скилл optimize-page для Claude Code, который улучшает SEO, структуру ответов и видимость страницы в генеративном поиске. Запускается по просьбе оптимизировать страницу или переписать её для AI-поиска. CX Codex +1 ★ 80звёзд репо keyword-clustering Скилл keyword-clustering для Claude Code собирает ключевые слова в тематические группы и связывает их с поисковым намерением. Запускается по списку запросов или просьбе составить структуру контента. CX Codex +1 ★ 80звёзд репо internal-linking Скилл internal-linking для Claude Code анализирует внутренние ссылки и структуру сайта. Запускается по запросам об orphan pages, анкорном тексте, тематических кластерах или распределении ссылочного веса. CX Codex +1 ★ 80звёзд репо content-translation Скилл content-translation для Claude Code переводит и адаптирует контент для международного SEO. По запросу он исследует ключевые слова для выбранной локали, готовит hreflang и локализованный текст. CX Codex +1 ★ 80звёзд репо content-strategy Скилл content-strategy для Claude Code собирает стратегию контента: темы-опоры, связанные страницы и очередь публикаций на 90 дней. Запускается на запросы о контент-плане, темах и пробелах в контенте. CX Codex +1 ★ 80звёзд репо content-brief Скилл content-brief для Claude Code составляет план статьи или страницы с учётом SEO, AEO и GEO. Запускается по запросу на контент-бриф, SEO-бриф или структуру материала. CX Codex +1 ★ 80звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой