generate-llms-txt

Generate llms.txt and llms-full.txt indexes from local or GitHub repositories.

Updated May 24, 2026
One-click install
npx skills add https://github.com/empty-can/cc-relative-info --skill generate-llms-txt-empty-can
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-llms-txt
Source: https://github.com/empty-can/cc-relative-info/tree/main/.claude/skills/generate-llms-txt
Command: npx skills add https://github.com/empty-can/cc-relative-info --skill generate-llms-txt-empty-can

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the manual work of turning a code repository into navigable llms.txt and llms-full.txt files for LLM discovery and context loading.

Core Features & Use Cases

  • Repository-to-index generation: Builds both llms.txt and llms-full.txt from a local repository path or a GitHub repository URL.
  • Batch processing: Handles multiple repositories from a target list, including per-target options like base URL overrides and source signature extraction.
  • Claude Code extension indexing: Supports a specialized mode for Skill, Rule, and Agent repositories, preserving existing SKILL.md descriptions while generating a repository-level summary.
  • Use Case: Use this Skill when you maintain documentation or Claude Code extension repositories and need consistent, validated LLM-readable indexes for search, browsing, or downstream automation.

Quick Start

Ask the generate-llms-txt skill to build llms.txt and llms-full.txt for a local repository or GitHub URL, and include target-list or cc-extensions options when you need batch processing or Claude Code extension indexing.

Frequently Asked Questions about generate-llms-txt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate llms.txt files for a GitHub repository?

To generate llms.txt files for a GitHub repository, provide the repository URL to automate cloning, source signature extraction, and validated index creation for LLM navigation.

What is the best way to batch process multiple repositories for LLM indexing?

Batch processing multiple repositories for LLM indexing uses a target list to automate per-repository cloning, apply base URL overrides, and generate consolidated llms.txt outputs.

Can I index Claude Code extensions like Skills, Rules, and Agents?

Yes, you can index Claude Code extensions using a specialized mode that preserves existing SKILL.md descriptions while generating a repository-level summary for Skill, Rule, and Agent collections.

Do I need to manually clone repositories before generating llms-full.txt indexes?

No, you do not need to manually clone repositories, because the generation process handles repository cloning or refresh automatically before producing validated llms-full.txt indexes.

Does generating llms.txt require base URL resolution for local repositories?

Generating llms.txt involves optional base URL resolution to correctly format relative paths, ensuring local repository indexes remain navigable for downstream LLM context assembly.