mcpbeat Sign in

Wiki Llms Txt Agent Skill

Generates llms.txt and llms-full.txt files for LLM-friendly project documentation following the llms.txt specification. Use when the user wants to create LLM-readable summaries, llms.txt files, or make their wiki accessible to language models.

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
169 d ago
last touched
this folder, not the whole repository

Install

one command, takes just this skill from the repository
npx skills add https://github.com/microsoft/skills --skill wiki-llms-txt

The instruction itself

11 sections, as written by the author

llms.txt Generator

Generate llms.txt and llms-full.txt files that provide LLM-friendly access to wiki documentation, following the llms.txt specification.

When This Skill Activates

  • User asks to generate llms.txt or mentions the llms.txt standard
  • User wants to make documentation "LLM-friendly" or "LLM-readable"
  • User asks for a project summary file for language models
  • User mentions llms-full.txt or context-expanded documentation

Source Repository Resolution (MUST DO FIRST)

Before generating, resolve the source repository context:

  • Check for git remote: Run git remote get-url origin
  • Ask the user: _"Is this a local-only repository, or do you have a source repository URL?"_
  • Remote URL → store as REPO_URL
  • Local → use relative paths only
  • Determine default branch: Run git rev-parse --abbrev-ref HEAD
  • Do NOT proceed until resolved

llms.txt Format (Spec-Compliant)

The file follows the llms.txt specification:

# {Project Name}

> {Dense one-paragraph summary — what it does, who it's for, key technologies}

{Important context paragraphs — constraints, architectural philosophy, non-obvious things}

## {Section Name}

- [{Page Title}]({relative-path-to-md}): {One-sentence description of what the reader will learn}

## Optional

- [{Page Title}]({relative-path-to-md}): {Description — these can be skipped for shorter context}

Key Rules

  • H1 — Project name (exactly one, required)
  • Blockquote — Dense, specific summary (required). Must be unique to THIS project.
  • Context paragraphs — Non-obvious constraints, things LLMs would get wrong without being told
  • H2 sections — Organized by topic, each with a list of Title: Description entries
  • "Optional" H2 — Special meaning: links here can be skipped for shorter context
  • Relative links — All paths relative to wiki directory
  • Dynamic — ALL content derived from actual wiki pages, not templates
  • Section order — Most important first: Onboarding → Architecture → Getting Started → Deep Dive → Optional

Description Quality

| ❌ Bad | ✅ Good |

|--------|---------|

| "Architecture overview" | "System architecture showing how Orleans grains communicate via message passing with at-least-once delivery" |

| "Getting started guide" | "Prerequisites, local dev setup with Docker Compose, and first API call walkthrough" |

| "The API reference" | "REST endpoints with auth requirements, rate limits, and request/response schemas" |

llms-full.txt Format

Same structure as llms.txt but with full content inlined:

# {Project Name}

> {Same summary}

{Same context}

## {Section Name}

<doc title="{Page Title}" path="{relative-path}">
{Full markdown content — frontmatter stripped, citations and diagrams preserved}
</doc>

Inlining Rules

  • Strip YAML frontmatter (--- blocks) from each page
  • Preserve Mermaid diagrams — keep mermaid ` fences intact
  • Preserve citations — all file:line links stay as-is
  • Preserve tables — all markdown tables stay intact
  • Preserve <!-- Sources: --> comments — these provide diagram provenance

Prerequisites

This skill works best when wiki pages already exist (via /deep-wiki:generate or /deep-wiki:page). If no wiki exists yet:

  • Suggest running /deep-wiki:generate first
  • OR generate a minimal llms.txt from README + source code scan (without wiki page links)

Output Files

Generate three files:

| File | Purpose | Discoverability |

|------|---------|-----------------|

| ./llms.txt | Root discovery file | Standard path per llms.txt spec. GitHub MCP get_file_contents and search_code find this first. |

| wiki/llms.txt | Wiki-relative links | For VitePress deployment and wiki-internal navigation. |

| wiki/llms-full.txt | Full inlined content | Comprehensive reference for agents needing all docs in one file. |

The root ./llms.txt links into wiki/ (e.g., Guide). The wiki/llms.txt uses wiki-relative paths (e.g., Guide).

If a root llms.txt already exists and was NOT generated by deep-wiki, do NOT overwrite it.

Validation Checklist

Before finalizing:

  • [ ] All linked files in llms.txt actually exist
  • [ ] All <doc> blocks in llms-full.txt have real content (not empty)
  • [ ] Blockquote is specific to this project (not generic boilerplate)
  • [ ] Sections ordered by importance
  • [ ] No duplicate page entries across sections
  • [ ] "Optional" section only contains truly optional content
  • [ ] llms.txt is concise (1-5 KB)
  • [ ] llms-full.txt contains all wiki pages

Other skills for the same job

different authors, same section of the catalogue
Skill Creator
by anthropics
vendor ×10

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

56k tokens scripts
Geo Database
by christophacham
×4

Access NCBI GEO for gene expression/genomics data. Search/download microarray and RNA-seq datasets (GSE, GSM, GPL), retrieve SOFT/Matrix files, for transcriptomics and expression analysis.

12k tokens
Pymc Bayesian Modeling
by christophacham
×4

Bayesian modeling with PyMC. Build hierarchical models, MCMC (NUTS), variational inference, LOO/WAIC comparison, posterior checks, for probabilistic programming and inference.

24k tokens scripts
Pymoo
by christophacham
×4

Multi-objective optimization framework. NSGA-II, NSGA-III, MOEA/D, Pareto fronts, constraint handling, benchmarks (ZDT, DTLZ), for engineering design and optimization problems.

19k tokens scripts
Statsmodels
by ComeOnOliver
×4

Statistical modeling toolkit. OLS, GLM, logistic, ARIMA, time series, hypothesis tests, diagnostics, AIC/BIC, for rigorous statistical inference and econometric analysis.

41k tokens
Add Uint Support
by pytorch
vendor ×3

Add unsigned integer (uint) type support to PyTorch operators by updating AT_DISPATCH macros. Use when adding support for uint16, uint32, uint64 types to operators, kernels, or when user mentions enabling unsigned types, barebones unsigned types, or uint support.

2k tokens
At Dispatch V2
by pytorch
vendor ×3

Convert PyTorch AT_DISPATCH macros to AT_DISPATCH_V2 format in ATen C++ code. Use when porting AT_DISPATCH_ALL_TYPES_AND*, AT_DISPATCH_FLOATING_TYPES*, or other dispatch macros to the new v2 API. For ATen kernel files, CUDA kernels, and native operator implementations.

2k tokens
Docstring
by pytorch
vendor ×3

Write docstrings for PyTorch functions and methods following PyTorch conventions. Use when writing or updating docstrings in PyTorch code.

3k tokens

How to use it

Copy the folder

Take microsoft/wiki-llms-txt from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.