llms-txt-generator

Generate llms.txt and llms-full.txt files from MkDocs navigation and markdown content.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/Peleke/hunter --skill llms-txt-generator-peleke
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llms-txt-generator
Source: https://github.com/Peleke/hunter/tree/main/skills/llms-txt-generator
Command: npx skills add https://github.com/Peleke/hunter --skill llms-txt-generator-peleke

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of llms.txt and llms-full.txt files for MkDocs documentation sites, enabling AI tools to query your project's documentation effectively.

Core Features & Use Cases

  • AI-Queryable Docs: Generates a curated index (llms.txt) and a full inlined version (llms-full.txt) of your MkDocs content.
  • MkDocs Build Hook: Integrates seamlessly with MkDocs build process to auto-generate llms-full.txt.
  • Use Case: When adding AI-powered search or Q&A to your project's existing MkDocs documentation, this Skill ensures the necessary index files are created and maintained.

Quick Start

Use the llms-txt-generator skill to add AI-queryable documentation to the current project's MkDocs site.

Frequently Asked Questions about llms-txt-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make my MkDocs documentation AI-queryable?

An `llms.txt` file provides a curated index of your documentation, while `llms-full.txt` contains a full inlined version of all content. These files enable AI tools to effectively query and understand your project's documentation structure and details.

How do I generate llms.txt files automatically during an MkDocs build?

You can generate `llms.txt` files automatically during an MkDocs build by using a build hook. This hook integrates seamlessly into the standard MkDocs build process to parse markdown content and auto-generate the `llms-full.txt` file without manual intervention.

Do I need Python 3 to generate llms.txt for MkDocs?

Yes, you need Python 3 and a standard MkDocs build environment to generate `llms.txt` files. The generation process relies on Python scripts that parse the existing MkDocs markdown content and navigation structure.

What's the best way to add AI-powered search to existing MkDocs documentation?

The best way to add AI-powered search to existing MkDocs documentation is to generate `llms.txt` and `llms-full.txt` index files. These files provide a curated index and full inlined content, ensuring AI tools can accurately query your documentation.

Does the llms.txt generator work with standard MkDocs navigation?

Yes, the `llms.txt` generator works with standard MkDocs navigation. It parses the existing MkDocs navigation structure and markdown content to create both a curated index and a fully inlined version of your documentation.