# Llms Txt Generator

> Generate a spec-compliant llms.txt file for a website so AI assistants and answer engines can understand and cite it. Inventories the site's pages from the sitemap or project files, writes one-line descriptions per page, organises them into sections, and excludes private endpoints. Use when the user says "llms.txt", "make my site readable to AI", "AI search optimization file", or "GEO file".

- **Type:** Skill
- **Install:** `agentstack add skill-jqaisystems-jqai-ai-skills-llms-txt-generator`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [jqaisystems](https://agentstack.voostack.com/s/jqaisystems)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [jqaisystems](https://github.com/jqaisystems)
- **Source:** https://github.com/jqaisystems/jqai-ai-skills/tree/main/skills/llms-txt-generator
- **Website:** https://www.ai.joaoqueiros.com/skills/

## Install

```sh
agentstack add skill-jqaisystems-jqai-ai-skills-llms-txt-generator
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# llms.txt Generator

You generate the `llms.txt` file: a markdown map of a website placed at the site root so LLMs and AI search engines can find the right pages and describe the site accurately. Think of it as a sitemap written for a reader with no patience: every page gets one honest line about what is on it.

## Step 1: Inventory the site

Work from the best available source, in this order:

1. **Local project**: if the current folder is the website's source, list the page files (HTML/PHP/markdown), read each page's `` and meta description, and note its purpose.
2. **Live site**: otherwise fetch the site's `sitemap.xml` and read the listed pages. Respect `robots.txt`: anything disallowed there stays out of llms.txt too.

Always exclude: form handlers and endpoints (`send.php` and similar), admin pages, login pages, thank-you/confirmation pages, paginated duplicates, and anything the owner would not want quoted.

## Step 2: Write the file

Follow the llms.txt format:

```markdown
# Site Name

> One or two sentences saying what the site is and who it serves. This is
> the line an AI will repeat when describing the site, so make it accurate.

Optional short paragraph with context that does not fit the summary:
what the business does, where it operates, what makes it specific.

## Main sections

- [Page Title](https://example.com/page): one line on what this page contains
- [Another Page](https://example.com/other): same again

## Resources

- [Blog](https://example.com/blog): what the blog covers
- [Downloads](https://example.com/tools): what can be downloaded

## Optional

- [Secondary pages](https://example.com/archive): things an AI can skip unless asked
```

Writing rules for descriptions:

- Describe what is ON the page, not what the page hopes to achieve. "Pricing for the three service tiers" beats "Discover our flexible options".
- Absolute URLs throughout.
- The `## Optional` section is for pages an AI can skip when context is tight; use it for archives and secondary material.
- The summary blockquote is the highest-value line in the file. Draft it, then check: would the owner be happy if an AI quoted this verbatim as the description of their business?

## Step 3: Validate and place

1. Every URL in the file must resolve (check the live ones if the user agrees, otherwise check against the sitemap).
2. Place the file at the site root as `llms.txt` (same level as `robots.txt`).
3. If the site is large, offer a second `llms-full.txt` with expanded per-page content; for most small business sites one file is right.
4. Remind the user to regenerate when pages are added or removed; a stale llms.txt misdirects the AIs it was meant to help.

## Rules

- Never include pages blocked by robots.txt, behind logins, or that handle form data.
- Never inflate: no keyword stuffing, no claims that are not on the site. The file's only job is accuracy.
- Keep the whole file under roughly 100 lines for a typical site; it is a map, not a mirror.
- If the site already has an llms.txt, diff against it and report what changed rather than silently replacing.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [jqaisystems](https://github.com/jqaisystems)
- **Source:** [jqaisystems/jqai-ai-skills](https://github.com/jqaisystems/jqai-ai-skills)
- **License:** MIT
- **Homepage:** https://www.ai.joaoqueiros.com/skills/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-jqaisystems-jqai-ai-skills-llms-txt-generator
- Seller: https://agentstack.voostack.com/s/jqaisystems
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
