ck:llms

Generate llms.txt and llms-full.txt indexes from markdown documentation.

1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/quanganh208/cookmate --skill ck-llms-quanganh208
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:llms
Source: https://github.com/quanganh208/cookmate/tree/main/.opencode/skills/llms
Command: npx skills add https://github.com/quanganh208/cookmate --skill ck-llms-quanganh208

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Generate concise, LLM-friendly llms.txt and llms-full.txt indexes from a project's documentation or scanned codebase to avoid manual curation and provide AI-ready context for assistants and search.

Core Features & Use Cases

  • Automated discovery: Recursively finds .md and .mdx files in a docs directory or a specified path and reads titles and lead paragraphs.
  • Structured output: Produces llms.txt with categorized link lists and optional llms-full.txt that inlines document content, following the llmstxt.org specification.
  • Context optimization: Categorizes content (Getting Started, API Reference, Optional) and truncates descriptions for compact, useful summaries; ideal for publishing docs sites, preparing context for chatbots, or creating AI-friendly site indexes.

Quick Start

Generate an llms.txt from your project's docs directory by running the llms skill against the docs path or providing a source URL.

Frequently Asked Questions about ck:llms

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

FAQPage Schema
How do I generate an llms.txt file from my project's markdown documentation?

To generate an llms.txt file, the skill recursively scans your markdown and mdx files to extract titles and descriptions, producing categorized link lists that satisfy llmstxt.org formatting rules for AI consumption.

What is an llms.txt index and why do I need it for my documentation site?

An llms.txt index is a curated markdown site index that provides AI assistants with structured context, avoiding manual curation and enabling efficient documentation discovery for chatbots and search.

Can I automatically create an llms-full.txt file that inlines all my documentation content?

Yes, you can create an llms-full.txt file that inlines document content alongside the standard llms.txt, ensuring comprehensive AI-ready context by processing your local docs folders or remote documentation sites.

Does the llms.txt generator work with both local docs folders and remote documentation sites?

The llms.txt generator works with both local docs directories and remote documentation sites, extracting titles and lead paragraphs to produce categorized, truncated summaries optimized for AI consumption.

What is the best way to structure documentation for AI assistants without manual curation?

The best way to structure documentation for AI assistants is automated discovery, which recursively finds markdown files, categorizes content into Getting Started and API Reference sections, and truncates descriptions for compact summaries.

Are there limitations when scanning markdown files for llms.txt generation?

A limitation is that the scanner specifically targets .md and .mdx files to extract titles and lead paragraphs, meaning non-markdown documentation formats will not be included in the generated llms.txt or llms-full.txt indexes.