Skip to main content
Category: Developer Tools · Version: 1.0.0 · Author: OpenDirectory · Compatibility: All targets (claude, codex, opencode, gemini, anti-gravity, openclaw, hermes)
llms-txt-generator Generate a standards-compliant llms.txt file for any website. Makes your site fully readable and citable by AI agents the GEO (Generative Engine Optimization) equivalent of having a great sitemap.

Install

What It Does

The skill crawls your website using Chrome DevTools, reads your actual pages, and produces a clean llms.txt file in the format specified by Jeremy Howard’s llms.txt standard. When AI agents (Claude, ChatGPT, Gemini) visit your site, they read llms.txt first to understand what you are and where to find authoritative content. Without llms.txt: AI agents guess, hallucinate, or cite competitors instead.
With llms.txt: AI agents cite your product correctly and know exactly where your docs, blog, and key pages live.

Two Modes

Codebase Mode (no Chrome needed)

If you’re inside a website’s repo, the skill reads your source files directly pages, routes, blog posts, frontmatter, site config. It writes llms.txt straight to public/ when you approve. No browser required. Supported frameworks: Next.js (pages + app router), Astro, Nuxt, Gatsby, SvelteKit, Hugo, Jekyll

Live Site Mode (Chrome or fetch fallback)

If you only have the URL, the skill crawls the live site using Chrome DevTools MCP. Falls back to standard web fetch if Chrome isn’t available.

Requirements

Codebase Mode: No extra setup. Just be inside the repo directory. Live Site Mode:
  • Chrome with remote debugging enabled (or any live URL skill will fall back to web fetch)
  • Chrome DevTools MCP server configured in your agent (optional, improves JS-rendered sites)

Setup

For Live Site Mode: Start Chrome with Remote Debugging

Mac:
Linux:
Windows:

2. Set up Chrome DevTools MCP Server

Follow the setup at: https://github.com/ChromeDevTools/chrome-devtools-mcp Add to your agent’s MCP configuration:

3. Configure Environment (Optional)

Copy .env.example to .env and fill in:
GITHUB_TOKEN and GITHUB_REPO are only needed if you want the agent to automatically open a GitHub PR with the generated file.

How to Use

Codebase Mode just be inside your project and ask:
The agent will detect your framework, read your pages and blog posts from source, generate llms.txt, and write it to the right directory (e.g. public/llms.txt) after you confirm. Live Site Mode provide a URL:
The agent will:
  1. Check if llms.txt already exists at the domain
  2. Crawl homepage, docs, blog, about, pricing, and API pages
  3. Generate llms.txt following the official spec
  4. Optionally generate llms-full.txt with full page content
  5. Save the file locally and give you deployment instructions
  6. Optionally open a GitHub PR if configured

Where to Deploy the File

Place llms.txt at your web root so it’s accessible at https://yourdomain.com/llms.txt:

Output Files

Project Structure

License

MIT