ck:llms

Generate llms.txt indexes from markdown and MDX documentation files.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/hidonguyen/trade-ops --skill ck-llms-hidonguyen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:llms
Source: https://github.com/hidonguyen/trade-ops/tree/main/.opencode/skills/llms
Command: npx skills add https://github.com/hidonguyen/trade-ops --skill ck-llms-hidonguyen

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Large documentation sites and codebase docs are hard for LLMs to consume because context windows are limited and raw sitemaps contain too much noise. This Skill produces concise, curated, LLM-friendly indexes that surface the most relevant pages and short summaries so AI assistants and search agents get the right context quickly.

Core Features & Use Cases

  • Generate llms.txt: curated index of documentation links with short descriptions following llmstxt.org rules.
  • Generate llms-full.txt: optional expanded file with inline document content for offline or context-heavy use.
  • Scans local docs directories or remote documentation sites, extracts H1 titles and first paragraphs, categorizes files into sections, validates required formatting, and builds web-friendly URLs.
  • Use Case: Publish a docs site and include llms.txt at the site root to improve AI discoverability and provide succinct context for chatbots and automated helpers.

Quick Start

Run the llms generator against your docs folder to produce llms.txt and an optional llms-full.txt in the target output directory.

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 for my documentation site?

To generate an llms.txt file, scan your local documentation directory or remote doc site to extract H1 titles and descriptions from markdown and MDX files, categorize the content, and assemble a curated link list validated against llmstxt.org rules.

What is the llms.txt format and why do I need it for my docs?

The llms.txt format provides a concise, curated index of documentation links with short summaries, helping LLMs consume large documentation sites quickly by surfacing relevant pages without the noise of raw sitemaps.

Can I create an expanded documentation index with inline content for offline LLM use?

Yes, you can generate an optional llms-full.txt file that includes expanded inline document content alongside the standard llms.txt, providing context-heavy summaries for offline or automated AI assistants.

Does the llms.txt generator work with both local markdown directories and remote documentation sites?

Yes, the generator scans both local documentation directories and remote documentation sites, extracting titles and first paragraphs from markdown and MDX files to build web-friendly URLs for the index.

How are documentation files categorized when building an llms.txt index?

When building an llms.txt index, the generator scans markdown and MDX files, extracts H1 titles and first paragraphs, and categorizes the content into structured sections to create a curated, LLM-friendly site summary.

What is the best way to make my project documentation discoverable to AI search agents?

Publish an llms.txt file at your site root to improve AI discoverability, providing succinct context and curated link lists that help chatbots and automated helpers navigate your documentation efficiently.