Create LLMs
GitHubOfficialOriginally contributed by @PlagueHO as prompts/create-llms.prompt.md; moved into a skill by pull request #761Distributed by GitHub
- Skill
- Content generator
- Documents and content
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill automates the creation of an llms.txt file, a standardized index that helps large language models (LLMs) effectively navigate and comprehend a project's structure and documentation. By following the official llms.txt specification, the agent analyzes your repository to identify key files, documentation, and configuration, then organizes them into a clear, machine-readable, and human-friendly format at the root of your project.
What it does
- Analyzes repository structure to identify essential documentation and configuration files.
- Generates a compliant llms.txt file at the repository root.
- Organizes project content into logical H2 sections like Documentation, Specifications, and Examples.
- Drafts concise summaries and descriptive links for key project files.
- Ensures the output adheres to the official llms.txt specification for optimal AI consumption.
When to use it
- When you want to improve the performance of AI agents working on your codebase.
- When onboarding new developers or AI tools to a complex repository.
- When you need to provide a clear entry point for LLMs to understand your project's scope.
- When maintaining open-source projects to ensure better discoverability by AI tools.
Advantages
- Improves AI agent context-gathering efficiency.
- Ensures consistent documentation standards across projects.
- Reduces time spent by AI agents searching for relevant project information.
- Maintains a human-readable index that doubles as a project map.
Usage examples
- “Create an llms.txt file for this repository.”
- The agent will scan the current directory, identify the README, docs, and config files, and generate a properly formatted llms.txt file in the root.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/github/create-llms/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip create-llms.zip -d .agents/skills
Documentation by PlagueHO
Create LLMs.txt File from Repository Structure
Create a new llms.txt file from scratch in the root of the repository following the official llms.txt specification at https://llmstxt.org/. This file provides high-level guidance to large language models (LLMs) on where to find relevant content for understanding the repository's purpose and specifications.
Primary Directive
Create a comprehensive llms.txt file that serves as an entry point for LLMs to understand and navigate the repository effectively. The file must comply with the llms.txt specification and be optimized for LLM consumption while remaining human-readable.
Analysis and Planning Phase
Before creating the llms.txt file, you must complete a thorough analysis:
Step 1: Review llms.txt Specification
Review the official specification at https://llmstxt.org/ to ensure full compliance
Understand the required format structure and guidelines
Note the specific markdown structure requirements
Step 2: Repository Structure Analysis
Examine the complete repository structure using appropriate tools
Identify the primary purpose and scope of the repository
Catalog all important directories and their purposes
List key files that would be valuable for LLM understanding
Step 3: Content Discovery
Identify README files and their locations
Find documentation files (
.mdfiles in/docs/,/spec/, etc.)Locate specification files and their purposes
Discover configuration files and their relevance
Find example files and code samples
Identify any existing documentation structure
Step 4: Create Implementation Plan
Based on your analysis, create a structured plan that includes:
Repository purpose and scope summary
Priority-ordered list of essential files for LLM understanding
Secondary files that provide additional context
Organizational structure for the llms.txt file
Implementation Requirements
Format Compliance
The llms.txt file must follow this exact structure per the specification:
H1 Header: Single line with repository/project name (required)
Blockquote Summary: Brief description in blockquote format (optional but recommended)
Additional Details: Zero or more markdown sections without headings for context
File List Sections: Zero or more H2 sections containing markdown lists of links
Content Requirements
Required Elements
Project Name: Clear, descriptive title as H1
Summary: Concise blockquote explaining the repository's purpose
Key Files: Essential files organized by category (H2 sections)
File Link Format
Each file link must follow: [descriptive-name](relative-url): optional description
Section Organization
Organize files into logical H2 sections such as:
Documentation: Core documentation files
Specifications: Technical specifications and requirements
Examples: Sample code and usage examples
Configuration: Setup and configuration files
Optional: Secondary files (special meaning - can be skipped for shorter context)
Content Guidelines
Language and Style
Use concise, clear, unambiguous language
Avoid jargon without explanation
Write for both human and LLM readers
Be specific and informative in descriptions
File Selection Criteria
Include files that:
Explain the repository's purpose and scope
Provide essential technical documentation
Show usage examples and patterns
Define interfaces and specifications
Contain configuration and setup instructions
Exclude files that:
Are purely implementation details
Contain redundant information
Are build artifacts or generated content
Are not relevant to understanding the project
Execution Steps
Step 1: Repository Analysis
Examine the repository structure completely
Read the main README.md to understand the project
Identify all documentation directories and files
Catalog specification files and their purposes
Find example files and configuration files
Step 2: Content Planning
Determine the primary purpose statement
Write a concise summary for the blockquote
Group identified files into logical categories
Prioritize files by importance for LLM understanding
Create descriptions for each file link
Step 3: File Creation
Create the
llms.txtfile in the repository rootFollow the exact format specification
Include all required sections
Use proper markdown formatting
Ensure all links are valid relative paths
Step 4: Validation
Verify compliance with https://llmstxt.org/ specification
Check that all links are valid and accessible
Ensure the file serves as an effective LLM navigation tool
Confirm the file is both human and machine readable
Quality Assurance
Format Validation
✅ H1 header with project name
✅ Blockquote summary (if included)
✅ H2 sections for file lists
✅ Proper markdown link format
✅ No broken or invalid links
✅ Consistent formatting throughout
Content Validation
✅ Clear, unambiguous language
✅ Comprehensive coverage of essential files
✅ Logical organization of content
✅ Appropriate file descriptions
✅ Serves as effective LLM navigation tool
Specification Compliance
✅ Follows https://llmstxt.org/ format exactly
✅ Uses required markdown structure
✅ Implements optional sections appropriately
✅ File located at repository root (
/llms.txt)
Example Structure Template
# [Repository Name]
> [Concise description of the repository's purpose and scope]
[Optional additional context paragraphs without headings]
## Documentation
- [Main README](README.md): Primary project documentation and getting started guide
- [Contributing Guide](CONTRIBUTING.md): Guidelines for contributing to the project
- [Code of Conduct](CODE_OF_CONDUCT.md): Community guidelines and expectations
## Specifications
- [Technical Specification](spec/technical-spec.md): Detailed technical requirements and constraints
- [API Specification](spec/api-spec.md): Interface definitions and data contracts
## Examples
- [Basic Example](examples/basic-usage.md): Simple usage demonstration
- [Advanced Example](examples/advanced-usage.md): Complex implementation patterns
## Configuration
- [Setup Guide](docs/setup.md): Installation and configuration instructions
- [Deployment Guide](docs/deployment.md): Production deployment guidelines
## Optional
- [Architecture Documentation](docs/architecture.md): Detailed system architecture
- [Design Decisions](docs/decisions.md): Historical design decision recordsSuccess Criteria
The created llms.txt file should:
Enable LLMs to quickly understand the repository's purpose
Provide clear navigation to essential documentation
Follow the official llms.txt specification exactly
Be comprehensive yet concise
Serve both human and machine readers effectively
Include all critical files for project understanding
Use clear, unambiguous language throughout
Organize content logically for easy consumption
Files
- ATTRIBUTION.mdAdded by AutoGineer1.1 KiB
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md7.2 KiB
Requirements and compatibility
Written for: GitHub Copilot
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Originally contributed by
@PlagueHOas prompts/create-llms.prompt.mdmoved into a skill by pull request #761
- Publisher
- GitHub (Official)
- Distributed by
- GitHub
- Source
- github/awesome-copilot · skills/create-llms · commit 797337f
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- CypherHK, PlagueHO, derekclair
AutoGineer is not affiliated with or endorsed by PlagueHO or GitHub.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download create-llms.zip