Index of every page on this site: llms.txt
All skills
Run it yourself

Validates an existing llms.txt (catches HTML soft-404s, missing H1, relative links, dead links) or generates one from a site's sitemap. Use when the user asks for llms.txt, "add llms.txt", "is my llms.txt right", or wants a clean machine-readable site summary.

  • 2 files
  • 11 KB
  • Updated 17 hours ago
  • GitHub
Use this Skill: https://skilld.dev/gh/citedby-eu/ai-search-skills/llms-txt

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈68 tokens for metadata: the name and description. ≈344 when used: this file.

Description uses 3.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈271 characters, or 3.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

llms.txt: validate or generate

Format: https://llmstxt.org (H1 with the name is the only required part; then an optional blockquote summary, then H2 sections of - [title](url): note links).

Say this first

There is no published evidence that AI search crawlers read llms.txt, and studies found no clear link to citations (https://citedby.eu/blog/does-llms-txt-work). Treat the file as cheap hygiene and a clean summary for agents and tools that do fetch it. Never sell it as a ranking or citation lever.

Validate

python3 skills/llms-txt/llms_txt.py validate <domain|./llms.txt> [--check-links]

Errors: HTML served at /llms.txt (soft 404), no H1, a link that returns 4xx/5xx. Warnings: no summary, no sections, relative links, bare URLs, links without notes, file over 200 KB.

Generate

python3 skills/llms-txt/llms_txt.py generate <domain> --max-pages 40 --out llms.txt

Reads sitemap.xml (and child sitemaps), takes the shortest paths first, fetches each page's title and meta description, groups by first path segment. Then edit it by hand: drop pages that are thin, duplicate, gated or stale, and rewrite notes so each says what question the page answers. A stale llms.txt that lists removed pages is worse than none.

Report

ai-visibility/02-llms-txt.md: validation output, what you changed, and the sentence above.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at ce516b4. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 16 hours ago.

Activeupdated 17 hours ago
Other metadata
metadata
{
  "author": "citedby-eu",
  "source": "https://github.com/citedby-eu/ai-search-skills",
  "version": "0.1.0"
}

README badge

README badge for citedby-eu/ai-search-skills/llms-txt