llms-txt-builder is a zero-dependency Node CLI that turns repo metadata and selected docs into a draft llms.txt.
If llms-txt-check answers "is this file valid enough to ship?", this repo answers "how do I draft one fast enough to ship at all?"
- builds a draft
llms.txtfrom title, summary, docs, examples, and notes - supports repeated
--docand--exampleentries - writes to stdout or directly to an output file
- pairs naturally with
llms-txt-checkfor a generate-then-validate flow
- Node.js
>=20 - no runtime dependencies
node bin/llms-txt-builder.js \
--title ToolmeshAI \
--summary "Practical MCP, docs, and agent workflow tools." \
--repo-url https://github.com/ToolmeshAI \
--doc README.md \
--doc Guide=docs/guide.md \
--example Quickstart=examples/quickstart.md \
--notes "English-first README|Chinese mirror available" \
--output ./tmp/llms.txt- Social preview: docs/assets/social-preview.png
- Terminal demo: docs/assets/demo-terminal.png
- Animated demo: docs/assets/demo.gif
- Expected sample output: examples/expected/llms.txt
MIT. See LICENSE.
