Generate llms.txt and llms-full.txt files for AI agent consumption following the llmstxt.org standard. Use when updating site content that should be reflected in the llms files, or when building/deploying the site.
Generate /llms.txt and /llms-full.txt files that help AI agents understand and use the agentconfig.org site content.
This skill generates machine-readable documentation files following the llmstxt.org standard:
/llms.txt — A curated table of contents with links to detailed pages/llms-full.txt — Comprehensive markdown containing all site content/*.md — Page-specific markdown files (skills.md, agents.md, mcp.md, etc.)Pages are automatically discovered from the page registry at site/src/data/pages.ts:
export const pages: readonly PageMeta[] = [
{
slug: 'skills',
title: 'Skills Tutorial',
description: 'How to create agent skills...',
mdFile: 'skills.md',
partNumber: 4,
},
// ... more pages
]
When creating a new page, add an entry to the registry to include it in the llms files.
Use this skill when:
site/src/data/*.ts)The llms files are generated from these TypeScript data files:
| File | Content |
|------|---------|
| site/src/data/pages.ts | Page registry - lists all pages for llms generation |
| site/src/data/primitives.ts | 13 AI primitives with descriptions, use cases, and provider implementations |
| site/src/data/comparison.ts | Four-provider comparison matrix derived from primitives.ts |
| site/src/data/providerProfiles.ts | Per-provider profiles derived from primitives.ts |
| site/src/data/skillsTutorial.ts | Skills tutorial sections and concepts |
| site/src/data/skillExamples.ts | 5 example skills with full code |
| site/src/data/agentsTutorial.ts | Agent instructions guide with code samples |
| site/src/data/hooksTutorial.ts | Hooks tutorial with provider tabs, lifecycle events, and reusable policy logic |
| site/src/data/mcpTutorial.ts | MCP tutorial sections and code samples |
site/public/
├── llms.txt # Table of contents (llmstxt.org format)
├── llms-full.txt # Complete site content in one file
├── skills.md # Skills page content (rich markdown)
├── agents.md # Agents page content (rich markdown)
├── hooks.md # Hooks page content (rich markdown)
├── mcp.md # MCP page content (rich markdown)
└── profiles.md # Provider profiles content (rich markdown)
/llms.txt (Table of Contents)The homepage llms.txt follows the strict llmstxt.org format:
# agentconfig.org
> A reference site for configuring AI coding assistants. Covers 13 AI primitives,
> provider comparison across GitHub Copilot, Claude Code, Cursor, and OpenAI Codex,
> and progressive tutorials for skills, instructions, hooks, and MCP.
## Pages
- [Homepage](https://agentconfig.org/): AI primitives reference, file tree, provider comparison
- [Skills Tutorial](https://agentconfig.org/skills): How to create agent skills following agentskills.io
- [Agent Instructions](https://agentconfig.org/agents): Project instructions across GitHub Copilot, Claude Code, Cursor, and OpenAI Codex
## Docs
- [Full site content](/llms-full.txt): Complete content for deep context
- [Skills page content](/skills.md): Skills tutorial with 5 example skills
- [Agents page content](/agents.md): Agents tutorial with code samples
## Optional
- [agentskills.io specification](https://agentskills.io/specification): The skills format
- [AGENTS.md specification](https://agents.md): Open format for coding agents
/llms-full.txt (Complete Content)Run the generation script:
bun .github/skills/generate-llms/scripts/generate-llms-full.ts
This reads all data files and generates comprehensive markdown including:
.md Files/skills.md:
/agents.md:
If the script isn't available, generate manually by:
site/src/data/### {name}
{description}
**What it is:** {whatItIs}
**Use when:**
{useWhen as bullet list}
**Prevents:** {prevents}
**Combine with:** {combineWith as comma-separated list}
**Provider Implementations:**
| Provider | Implementation | Location | Support |
|----------|---------------|----------|---------|
| Copilot | {implementation} | {location} | {support} |
| Claude | {implementation} | {location} | {support} |
### {displayName}
**Complexity:** {complexity}
**Demonstrates:** {demonstrates}
{description}
**Files:**
\`\`\`{language}
// {path}
{content}
\`\`\`
**Key Takeaways:**
{keyTakeaways as bullet list}
After generating, verify:
Generate all the llms.txt files for agentconfig.org
I updated the primitives data, regenerate the llms files
What content should be included in llms-full.txt?
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer