llms-txt-check is a zero-dependency Node CLI that validates a repo's llms.txt before you publish broken links, weak summaries, or messy section structure.
If you want a quick answer to "is this llms.txt credible enough to ship?", this repo gives it in one command.
- validates the required H1 title and summary paragraph
- catches duplicate headings and malformed Markdown links
- flags unusual ordering for common sections such as
DocsandExamples - prints human-readable text or JSON for CI and tooling
- Node.js
>=20 - no runtime dependencies
npm installnode bin/llms-txt-check.js --file examples/good/llms.txt --format textJSON mode:
node bin/llms-txt-check.js --file examples/bad/llms.txt --format json- Social preview: docs/assets/social-preview.png
- Terminal demo: docs/assets/demo-terminal.png
- Animated demo: docs/assets/demo.gif
- Good sample: examples/good/llms.txt
- Broken sample: examples/bad/llms.txt
llms.txt check passed
title: ToolmeshAI
summary: Practical MCP, docs, and agent workflow tools for builders who want reusable open-source utilities.
npm testMIT. See LICENSE.
