AI Agents & SkillsOfficial · microsoft

Wiki Llms Txt skill for Claude

Generates llms.txt and llms-full.txt files for LLM-friendly project documentation following the llms.txt specification.

When Claude uses it

Use when the user wants to create LLM-readable summaries, llms.txt files, or make their wiki accessible to language models.

Wiki Llms Txt SKILL.md

The full skill file from microsoft/skills (MIT).

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:

  1. Check for git remote: Run git remote get-url origin
  2. 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
  3. Determine default branch: Run git rev-parse --abbrev-ref HEAD
  4. 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

  1. H1 — Project name (exactly one, required)
  2. Blockquote — Dense, specific summary (required). Must be unique to THIS project.
  3. Context paragraphs — Non-obvious constraints, things LLMs would get wrong without being told
  4. H2 sections — Organized by topic, each with a list of [Title](url): Description entries
  5. "Optional" H2 — Special meaning: links here can be skipped for shorter context
  6. Relative links — All paths relative to wiki directory
  7. Dynamic — ALL content derived from actual wiki pages, not templates
  8. 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](URL) 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:

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

Output Files

Generate three files:

FilePurposeDiscoverability
./llms.txtRoot discovery fileStandard path per llms.txt spec. GitHub MCP get_file_contents and search_code find this first.
wiki/llms.txtWiki-relative linksFor VitePress deployment and wiki-internal navigation.
wiki/llms-full.txtFull inlined contentComprehensive reference for agents needing all docs in one file.

The root ./llms.txt links into wiki/ (e.g., [Guide](./wiki/onboarding/contributor-guide.md)). The wiki/llms.txt uses wiki-relative paths (e.g., [Guide](./onboarding/contributor-guide.md)).

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

How to install Wiki Llms Txt

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit microsoft/skills/.github/plugins/deep-wiki/skills/wiki-llms-txt#main ~/.claude/skills/wiki-llms-txt

Codex

npx degit microsoft/skills/.github/plugins/deep-wiki/skills/wiki-llms-txt#main ~/.codex/skills/wiki-llms-txt

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Wiki Llms Txt skill do?

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.

+How do I install Wiki Llms Txt in Claude Code?

Copy the skill folder into ~/.claude/skills/wiki-llms-txt, for example with "npx degit microsoft/skills/.github/plugins/deep-wiki/skills/wiki-llms-txt#main ~/.claude/skills/wiki-llms-txt". Claude Code loads it automatically and uses it when a task matches.

+Does Wiki Llms Txt work with ChatGPT or Codex?

Yes. Wiki Llms Txt uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/wiki-llms-txt. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Wiki Llms Txt free?

Wiki Llms Txt is published on GitHub by microsoft under the MIT license, which allows free use.

Related ai agents & skills skills

  1. Grill Me

    A relentless interview to sharpen a plan or design.

    mattpocock/skills★ 327k
  2. Skill Creator

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    anthropics/skills★ 197k
  3. Caveman

    Terse caveman voice: answer first, fluff gone, every technical fact kept.

    JuliusBrussee/caveman★ 121k
  4. Mongodb Mcp Setup

    Official

    Guide users through installing and configuring the MongoDB MCP server.

    mongodb/agent-skills★ 206
  5. Mongodb Qe Size Estimation

    Official

    Estimates the storage and memory impact of encrypting fields in collections with Queryable Encryption (QE) enabled.

    mongodb/agent-skills★ 206
  6. N8n Agents

    Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain, Text…

    WilkoMarketing/antigravity-n8n-skills★ 108
  7. N8n Mcp Tools Expert

    Expert guide for using n8n-mcp MCP tools effectively. Use when searching for nodes, validating configurations, accessing templates,…

    WilkoMarketing/antigravity-n8n-skills★ 108
  8. Using N8n Mcp Skills

    Use when building, editing, validating, testing, or debugging an n8n workflow through the n8n-mcp MCP server — designing a flow,…

    WilkoMarketing/antigravity-n8n-skills★ 108
  9. Llm Council

    Multi-LLM collaborative brainstorming and planning. Use when user explicitly requests consultation with multiple AI models (ChatGPT,…

    gcpdev/llm-council-skill★ 506

See all ai agents & skills skills →

More skills from microsoft

  1. Wiki Onboarding

    Official

    Generates four audience-tailored onboarding guides in an onboarding/ folder — Contributor, Staff Engineer, Executive, and Product Manager.

    microsoft/skills★ 3.2k
  2. Wiki Page Writer

    Official

    Generates rich technical documentation pages with dark-mode Mermaid diagrams, source code citations, and first-principles depth.

    microsoft/skills★ 3.2k
  3. Wiki Qa

    Official

    Answers questions about a code repository using source file analysis.

    microsoft/skills★ 3.2k

All skills by microsoft →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.