skills/setup-llms-txt/SKILL.md
Create and configure llms.txt for any website or project. Analyzes project structure, generates llms.txt and llms-full.txt, places files in the correct location for your framework. Use when setting up llms.txt, improving AI discoverability, or making a site LLM-friendly.
npx skillsauth add cartoonitunes/inlay-skills setup-llms-txtInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create and configure llms.txt and llms-full.txt for any website. These files help LLMs understand your site — think of them as robots.txt for AI models.
llms.txt is a standard file (served at /llms.txt) that tells AI models:
llms-full.txt is an expanded version with full content that LLMs can ingest without following links.
Spec: https://llmstxt.org
Examine the project structure to understand:
# Check framework
ls package.json next.config.* astro.config.* gatsby-config.* nuxt.config.* 2>/dev/null
# Find key content
find . -name "*.md" -o -name "*.mdx" | head -20
ls -la public/ static/ 2>/dev/null
# Check for existing llms.txt
curl -s "https://YOUR_SITE/llms.txt" | head -5
Create the file following the standard format:
# [Site/Product Name]
> [One-line description of what the site does]
## Docs
- [Getting Started](/docs/getting-started): How to get started with [Product]
- [API Reference](/docs/api): Full API documentation
- [Examples](/docs/examples): Code examples and tutorials
## API
- Base URL: https://api.example.com
- [Authentication](/docs/auth): How to authenticate API requests
- [Rate Limits](/docs/rate-limits): API rate limiting details
## Key Pages
- [Pricing](/pricing): Plans and pricing
- [Blog](/blog): Latest updates and articles
- [Changelog](/changelog): Product updates
## Contact
- Support: [email protected]
- Twitter: @example
Guidelines:
# heading and > blockquote summary## headingsCreate an expanded version with full content inline:
# [Site/Product Name]
> [Description]
## Getting Started
[Full getting started content here, not just a link]
## API Reference
[Full API docs inline]
...
This is especially valuable for documentation sites — LLMs can ingest the full content in one request.
Place based on framework:
| Framework | Location |
|-----------|----------|
| Next.js | public/llms.txt |
| Astro | public/llms.txt |
| Gatsby | static/llms.txt |
| Hugo | static/llms.txt |
| Nuxt | public/llms.txt |
| SvelteKit | static/llms.txt |
| Vite/React | public/llms.txt |
| Plain HTML | Root directory |
| Express/API | Serve via route handler |
# Check it's accessible
curl -s https://YOUR_SITE/llms.txt | head -20
# Verify content type (should be text/plain or text/markdown)
curl -sI https://YOUR_SITE/llms.txt | grep -i content-type
# Check llms-full.txt too
curl -s https://YOUR_SITE/llms-full.txt | head -20
Run an AI readiness audit to confirm the llms.txt is detected:
curl -s -X POST https://www.inlay.dev/api/audit \
-H 'Content-Type: application/json' \
-d '{"url":"https://YOUR_SITE"}'
The llms.txt category score should improve after adding the file.
tools
Set up an MCP (Model Context Protocol) server for any website via Inlay. Enables AI agents to search, browse, and interact with your site programmatically. Use when adding MCP support, enabling AI agent access, or setting up Inlay.
tools
Audit any website for AI agent readiness. Check llms.txt, MCP servers, structured data, semantic HTML, meta quality, and more. Use when optimizing a site for AI agents, checking AI discoverability, or preparing for AI search engines.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.