Optimize markdown documentation for LLMs and RAG systems, reducing token consumption by 67-95%.
llm-docs-builder is easy to set up with strong trust signals. Check agent compatibility and use-case fit before adding it to your workflow.
gh repo view mensfeld/llm-docs-builder --webOpen the official repository or website.
Check the README for package manager, auth, and platform requirements.
Try it in a small test task inside your agent workflow.
Repository setup guidance
Strong trust signals; still review the README and permissions before production use.
Last commit was about 98 days ago.
92 GitHub stars indicate community interest.
5 open issues signal maintenance load.
Open-source GEO audit engine to optimize websites for AI search visibility and citability.
11 opinionated Claude skills for SEO: page audits, content briefs, article writing, link building, and more.
Connect Google Search Console to AI assistants for natural language SEO analysis.
This tool takes your existing documentation and makes it smaller and cleaner so AI models can understand it better. It removes unnecessary parts like navigation bars and footers, and converts HTML to markdown. This saves up to 95% of the tokens (words) that AI models need to process, making your docs cheaper and faster to use with LLMs.
llm-docs-builder is a Ruby-based CLI tool that transforms and optimizes markdown documentation for Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG) systems. It addresses the problem that LLMs waste 70-90% of their context window on human-oriented HTML content (navigation, footers, JavaScript, CSS). The tool normalizes links, removes unnecessary content, optimizes documents for LLM context windows, and enhances documents for RAG retrieval with hierarchical heading context and metadata. It can automatically convert HTML to markdown, measure token savings by comparing human vs AI versions, and generate llms.txt files for standardized documentation indexing. Real-world tests show an average reduction of 83% fewer tokens. The tool supports Docker and RubyGems installation, and can process local files or remote URLs.
Optimize markdown documentation for LLMs and RAG systems, reducing token consumption by 67-95%.
Open-source maintainers who want their docs to be AI-friendly., Developers building RAG pipelines that ingest documentation., Technical writers optimizing documentation for LLM consumption.
The setup section provides repository-level starting guidance, not a guarantee of an independently verified installation. Check the official README and release notes.
The tool modifies documentation files; ensure you have backups before running bulk transformations. When fetching remote URLs, the tool sends requests to those servers; respect robots.txt and rate limits.
Similar or complementary options to evaluate include geo-optimizer-skill, superseo-skills, mcp-gsc.
Aug 20, 2026
MIT license detected.
3 security/trust notes recorded.
Setup difficulty is 2/5.
92
Stars
5
Forks
5
Issues
MIT
License