/llms-txt-generator
Generates and maintains a standards-compliant llms.txt file for any website — either by crawling the live site OR by reading the website's codebase directly. Use this skill when asked to create an llms.txt, add AI discoverability to a site, improve GEO (Generative Engine
$ npx -y skills add Varnan-Tech/opendirectory --skill llms-txt-generator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/llms-txt-generator
Context preview
The summary Claude sees to decide when to auto-load this skill.
Generates and maintains a standards-compliant llms.txt file for any website — either by crawling the live site OR by reading the website's codebase directly. Use this skill when asked to create an llms.txt, add AI discoverability to a site, improve GEO (Generative Engine
SKILL.md
llms-txt-generator.SKILL.mdname: llms-txt-generator
description: Generates and maintains a standards-compliant llms.txt file for any website — either by crawling the live site OR by reading the website's codebase directly. Use this skill when asked to create an llms.txt, add AI discoverability to a site, improve GEO (Generative Engine Optimization), make a website readable by AI agents, generate an llms-full.txt, check if a site has llms.txt, or audit a site's AI readiness for generative search. Trigger this skill any time a user mentions llms.txt, AI discoverability, LLM site readability, or wants their site to appear in AI-generated answers. Also trigger when the user is inside a website codebase and asks about SEO, AI readiness, or content structure.
compatibility: [claude-code, gemini-cli, github-copilot]
author: OpenDirectory
version: 1.0.0
llms.txt Generator
You are an expert in Generative Engine Optimization (GEO) and the llms.txt standard. Your job is to crawl a website and produce a perfectly structured `llms.txt` file that makes the site fully readable and citable by AI agents.
**CRITICAL RULE: DO NOT INVENT CONTENT.** Every link, title, and description must come from what you actually found on the site during the crawl. Never fabricate URLs or describe content you did not visit.
**MANDATORY SETUP CHECK:** Before starting, confirm you have:
- Chrome running with remote debugging enabled (`chrome --remote-debugging-port=9222`)
- Chrome DevTools MCP server configured in your agent settings
- Target website URL from the user
If Chrome is not available, fall back to standard web fetch tools to retrieve page content. If neither is available, STOP and ask the user to provide Chrome access or the raw page content.
---
Workflow
Step 1: Detect Source — Codebase or Live Site?
Before anything else, check whether you are inside a website codebase:
1. Look for `package.json`, `astro.config.*`, `next.config.*`, `nuxt.config.*`, `gatsby-config.*`, `vite.config.*`, or `_config.yml` in the current working directory or its parent. 2. If found → **Codebase Mode** (go to Step 2A). 3. If not found → ask the user for the target URL and proceed to **Step 2B**.
---
Step 2A: Codebase Mode — Read the Repo Directly
You have access to the source. Extract everything from the code — this gives better coverage than crawling because you get content before it's rendered.
**2A-1. Detect the framework and site config:**
- Read `package.json` → identify framework (next, astro, nuxt, gatsby, @sveltejs/kit, etc.) and the `name`/`description` fields
- Read framework config file (`next.config.*`, `astro.config.*`, etc.) for `basePath`, `site`, or `siteUrl`
- Check `public/` or `static/` or `dist/` for an existing `llms.txt` — if found, read it
- **QA:** What framework is this? What is the base URL? Does llms.txt already exist?
**2A-2. Discover all pages/routes:**
| Framework | Where to look | |-----------|--------------| | Next.js (pages router) | `pages/**/*.tsx`, `pages/**/*.jsx` — skip `_app`, `_document`, `api/` | | Next.js (app router) | `app/**/page.tsx`, `app/**/page.jsx` — directory name = route | | Astro | `src/pages/**/*.astro`, `src/pages/**/*.md` | | Nuxt | `pages/**/*.vue` | | Gatsby | `src/pages/**/*.tsx`, `src/pages/**/*.jsx` | | SvelteKit | `src/routes/**/+page.svelte` | | Hugo / Jekyll | `content/**/*.md`, `_posts/**/*.md` |
Read each page file and extract: page title (`<title>`, `export const metadata`, frontmatter `title:`), meta description, and main headings (H1, H2).
**2A-3. Find blog/content posts:**
- Check `content/`, `posts/`, `src/content/`, `_posts/`, `blog/` for markdown/MDX files
- Read frontmatter (`title`, `description`, `date`, `slug`) from each file
- List the 5–10 most recent or most important posts
**2A-4. Read the site's existing SEO/meta config:**
- `src/config.ts`, `src/site.config.ts`, `seo.config.*`, or any file exporting `siteTitle`, `siteDescription`, `siteUrl`
- `constants.ts`, `config/index.ts` — look for site-level metadata
**2A-5. Construct the base URL:**
- Prefer `siteUrl` or `site` from config files
- Fall back to asking the user: "What is your production URL? (e.g. https://yoursite.com)"
- **QA:** Is the base URL confirmed? All links in llms.txt must use the full absolute URL.
Then skip to **Step 4** to generate the file using codebase data.
---
Step 2B: Live Site Mode — Get Target URL
If the user hasn't provided a URL, ask: "What website should I generate llms.txt for?"
Step 3: Check for Existing llms.txt (Live Site Mode only)
Before crawling, check if the site already has one: 1. Navigate to `[URL]/llms.txt` 2. If it exists: read it, note what's there, and plan to update/improve it rather than replace blindly 3. If it doesn't exist: proceed to full crawl
- **QA:** Did you check the existing file? Note its status (missing / outdated / present and good).
Step 3B: Connect to Browser and Crawl
Use the Chrome DevTools MCP server to connect to the live browser. Follow the same connection pattern as the chrome-cdp-skill: 1. Connect to `http://localhost:9222` via Chrome DevTools MCP 2. Navigate to the homepage — take note of: site name, tagline, main navigation links, primary value proposition 3. Navigate to each key page that exists (check nav links): `/docs`, `/blog`, `/api`, `/about`, `/pricing`, `/examples`, `/changelog` 4. For each page: read the H1, main content sections, and any sub-navigation links 5. For the blog: read titles and descriptions of the 5-10 most relevant/recent posts
If Chrome DevTools MCP is unavailable, fall back to fetching pages with standard web tools (curl, fetch). If the site returns 403, try adding a browser User-Agent header.
- **QA:** Did you successfully load and read each page? List which pages you visited and which returned 404. Do not include 404 pages.
Step 4: Read the Spec and Template
Before writing output, read both reference files:
- `references/llms-txt-spec.md` — the format rules and validatio
Read more
name: llms-txt-generator description: Generates and maintains a standards-compliant llms.txt file for any website — either by crawling the live site OR by reading the website's codebase directly. Use this skill when asked to create an llms.txt, add AI discoverability to a site, improve GEO (Generative Engine Optimization), make a website readable by AI agents, generate an llms-full.txt, check if a site has llms.txt, or audit a site's AI readiness for generative search. Trigger this skill any time a user mentions llms.txt, AI discoverability, LLM site readability, or wants their site to appear in AI-generated answers. Also trigger when the user is inside a website codebase and asks about SEO, AI readiness, or content structure. compatibility: [claude-code, gemini-cli, github-copilot] author: OpenDirectory version: 1.0.0
llms.txt Generator
You are an expert in Generative Engine Optimization (GEO) and the llms.txt standard. Your job is to crawl a website and produce a perfectly structured `llms.txt` file that makes the site fully readable and citable by AI agents.
**CRITICAL RULE: DO NOT INVENT CONTENT.** Every link, title, and description must come from what you actually found on the site during the crawl. Never fabricate URLs or describe content you did not visit.
**MANDATORY SETUP CHECK:** Before starting, confirm you have:
- Chrome running with remote debugging enabled (`chrome --remote-debugging-port=9222`)
- Chrome DevTools MCP server configured in your agent settings
- Target website URL from the user
If Chrome is not available, fall back to standard web fetch tools to retrieve page content. If neither is available, STOP and ask the user to provide Chrome access or the raw page content.
---
Workflow
Step 1: Detect Source — Codebase or Live Site?
Before anything else, check whether you are inside a website codebase:
1. Look for `package.json`, `astro.config.*`, `next.config.*`, `nuxt.config.*`, `gatsby-config.*`, `vite.config.*`, or `_config.yml` in the current working directory or its parent. 2. If found → **Codebase Mode** (go to Step 2A). 3. If not found → ask the user for the target URL and proceed to **Step 2B**.
---
Step 2A: Codebase Mode — Read the Repo Directly
You have access to the source. Extract everything from the code — this gives better coverage than crawling because you get content before it's rendered.
**2A-1. Detect the framework and site config:**
- Read `package.json` → identify framework (next, astro, nuxt, gatsby, @sveltejs/kit, etc.) and the `name`/`description` fields
- Read framework config file (`next.config.*`, `astro.config.*`, etc.) for `basePath`, `site`, or `siteUrl`
- Check `public/` or `static/` or `dist/` for an existing `llms.txt` — if found, read it
- **QA:** What framework is this? What is the base URL? Does llms.txt already exist?
**2A-2. Discover all pages/routes:**
| Framework | Where to look | |-----------|--------------| | Next.js (pages router) | `pages/**/*.tsx`, `pages/**/*.jsx` — skip `_app`, `_document`, `api/` | | Next.js (app router) | `app/**/page.tsx`, `app/**/page.jsx` — directory name = route | | Astro | `src/pages/**/*.astro`, `src/pages/**/*.md` | | Nuxt | `pages/**/*.vue` | | Gatsby | `src/pages/**/*.tsx`, `src/pages/**/*.jsx` | | SvelteKit | `src/routes/**/+page.svelte` | | Hugo / Jekyll | `content/**/*.md`, `_posts/**/*.md` |
Read each page file and extract: page title (`<title>`, `export const metadata`, frontmatter `title:`), meta description, and main headings (H1, H2).
**2A-3. Find blog/content posts:**
- Check `content/`, `posts/`, `src/content/`, `_posts/`, `blog/` for markdown/MDX files
- Read frontmatter (`title`, `description`, `date`, `slug`) from each file
- List the 5–10 most recent or most important posts
**2A-4. Read the site's existing SEO/meta config:**
- `src/config.ts`, `src/site.config.ts`, `seo.config.*`, or any file exporting `siteTitle`, `siteDescription`, `siteUrl`
- `constants.ts`, `config/index.ts` — look for site-level metadata
**2A-5. Construct the base URL:**
- Prefer `siteUrl` or `site` from config files
- Fall back to asking the user: "What is your production URL? (e.g. https://yoursite.com)"
- **QA:** Is the base URL confirmed? All links in llms.txt must use the full absolute URL.
Then skip to **Step 4** to generate the file using codebase data.
---
Step 2B: Live Site Mode — Get Target URL
If the user hasn't provided a URL, ask: "What website should I generate llms.txt for?"
Step 3: Check for Existing llms.txt (Live Site Mode only)
Before crawling, check if the site already has one: 1. Navigate to `[URL]/llms.txt` 2. If it exists: read it, note what's there, and plan to update/improve it rather than replace blindly 3. If it doesn't exist: proceed to full crawl
- **QA:** Did you check the existing file? Note its status (missing / outdated / present and good).
Step 3B: Connect to Browser and Crawl
Use the Chrome DevTools MCP server to connect to the live browser. Follow the same connection pattern as the chrome-cdp-skill: 1. Connect to `http://localhost:9222` via Chrome DevTools MCP 2. Navigate to the homepage — take note of: site name, tagline, main navigation links, primary value proposition 3. Navigate to each key page that exists (check nav links): `/docs`, `/blog`, `/api`, `/about`, `/pricing`, `/examples`, `/changelog` 4. For each page: read the H1, main content sections, and any sub-navigation links 5. For the blog: read titles and descriptions of the 5-10 most relevant/recent posts
If Chrome DevTools MCP is unavailable, fall back to fetching pages with standard web tools (curl, fetch). If the site returns 403, try adding a browser User-Agent header.
- **QA:** Did you successfully load and read each page? List which pages you visited and which returned 404. Do not include 404 pages.
Step 4: Read the Spec and Template
Before writing output, read both reference files:
- `references/llms-txt-spec.md` — the format rules and validatio
AI Agent Skills built for Founders who hate Marketing
Repo: Varnan-Tech/opendirectory
Other skills on opendirectory-gtm-skills.
- /app-store-review-arbitrage
Fetches low-star App Store and Google Play reviews, clusters them into broken-promise patterns, and generates a ranked copy brief with positioning opportunities.
Open skill - /blog-cover-image-cli
Use when the user asks to generate a blog cover image, thumbnail, or article header. Automatically uses modern typography, brand logos, and Google Search grounding to create beautiful 16:9 images with Gemini 3.1 Flash Image Preview.
Open skill - /brand-alchemy
World-class brand strategist and naming expert. Uses an interrogation-led discovery phase to extract your brand's DNA, then applies scientific naming frameworks (Phonosemantics) and automated multi-TLD domain checking.
Open skill - /claude-md-generator
Use when the user asks to generate or update a project's CLAUDE or AGENTS context file from a codebase scan. Writes a focused file under 100 lines containing only the non-obvious build commands, conventions, and gotchas Claude Code needs.
Open skill - /cold-email-verifier
Use when the user wants to verify cold emails, enrich a lead list, or autonomously guess email addresses from a CSV using ValidEmail.co or the open-source Reacher engine.
Open skill - /company-radar
Competitive intelligence orchestrator tracking companies across 8+ platforms (GitHub, Twitter, Reddit, HN, PH, YC Jobs) with heat scores and AI briefings.
Open skill

