$npx skillfedfor your agent

llm-wiki

llm-wiki creates and updates a structured markdown documentation system for any codebase, storing it in a `.llm-wiki/` directory at your project root. It handles reconnaissance, skeleton generation, article writing, cross-linking, and linting—letting humans direct while the LLM manages the bookkeeping. The wiki compounds over time as your codebase evolves, capturing architecture, modules, concepts, APIs, and guides in an interlinked format.

llm-wiki builds and maintains a structured markdown wiki that documents your codebase's architecture, modules, and APIs in a `.llm-wiki/` directory.

AI-generated summary based on this skill's SKILL.md

631 121 MITupdated by staruhub

Decision gist · record as of 2026-07-21

llm-wiki builds and maintains a structured markdown wiki that documents your codebase's architecture, modules, and APIs in a `.llm-wiki/` directory. llm-wiki creates and updates a structured markdown documentation system for any codebase, storing it in a `.llm-wiki/` directory at your project root. It handles reconnaissance, skeleton generation, article writing, cross-linking, and linting—letting humans direct while the LLM manages the bookkeeping. The wiki compounds over time as your codebase evolves, capturing architecture, modules, concepts, APIs, and guides in an interlinked format.

manual: git clone https://github.com/staruhub/ClaudeSkills → cp -r ClaudeSkills/llm-wiki ~/.claude/skills/llm-wiki
llm-wiki/SKILL.md · version 69583f58

Use it when

  • Yes.
  • llm-wiki detects changes in your source code and updates the existing wiki accordingly.

Verify before relying

Read SKILL.md below before installing (3 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

staruhub/ClaudeSkills/llm-wiki · repository language: Python

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I build a wiki for my codebase?

llm-wiki creates a structured markdown documentation system stored in a `.llm-wiki/` directory at your project root. It handles reconnaissance of your source code, generates a skeleton structure, writes articles on architecture and modules, cross-links them, and lints the output—all while letting you direct the process. The wiki compounds over time as your codebase evolves.

Can llm-wiki generate documentation from source code automatically?

Yes. llm-wiki analyzes your codebase and uses LLM generation to produce documentation covering architecture, modules, concepts, and APIs. It creates interlinked markdown articles with code examples and diagrams, building a persistent knowledge base that captures your project structure without manual documentation overhead.

How does llm-wiki update existing wiki content?

llm-wiki detects changes in your source code and updates the existing wiki accordingly. Rather than starting from scratch, it maintains your `.llm-wiki/` directory structure and refreshes articles as your codebase evolves, keeping documentation synchronized with your project.

What format does llm-wiki use for documentation?

llm-wiki generates cross-linked markdown documentation stored in your project's `.llm-wiki/` directory. The output includes structured articles on modules, APIs, and architecture, with code examples and diagrams embedded, all organized for easy team collaboration and version control.

How can I use llm-wiki to understand an unfamiliar codebase?

llm-wiki analyzes unfamiliar source code and generates LLM-powered documentation that explains the project structure, key modules, and APIs. This lets you quickly grasp architecture and concepts without reading raw code, making onboarding and knowledge transfer faster for your team.

Is llm-wiki suitable for team collaboration?

Yes. llm-wiki creates a persistent, version-controlled knowledge base stored in your repository's `.llm-wiki/` directory. Your team can collaborate on the wiki, track changes over time, and maintain a shared understanding of codebase architecture and design as the project evolves.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

LLM Wiki for Codebases

Build a persistent, interlinked markdown wiki that captures the architecture, modules, patterns, and APIs of a codebase. The wiki lives in .llm-wiki/ at the project root. Humans curate and direct; the LLM handles all bookkeeping.

Based on Andrej Karpathy's LLM Wiki pattern: raw sources are "compiled" into a structured wiki that compounds over time.

Mode Detection

Determine the mode based on current state:

  • No .llm-wiki/ directory exists -> Full Build mode
  • .llm-wiki/ exists -> Update mode (diff and refresh)

Full Build Workflow

Phase 1: Reconnaissance
  1. Read top-level files: README,

(truncated - see the full file via the links below)

File tree — 3 files
llm-wiki/SKILL.md
llm-wiki/references/article-templates.md
llm-wiki/references/wiki-schema.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Build and maintain a structured wiki that documents codebase architecture, modules, and APIs”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Llm Wiki
by akillness · akillness/jeo-skills

Llm Wiki helps you create and sustain a markdown-based knowledge repository where an LLM handles ongoing maintenance and synthesis. Ingest raw sources—articles, papers, transcripts, screenshots—into immutable storage, then let the agent populate wiki pages, cross-links, and navigation files. Periodic lint passes keep the vault healthy and coherent.

no license declared → metadata onlyupdated Jul 2026
★ 38repo stars
llm-wiki
by NousResearch · NousResearch/hermes-agent

llm-wiki lets you construct and maintain a compounding knowledge base as organized markdown files, with the agent handling summarization, cross-referencing, and consistency checks while you direct curation. Unlike RAG systems that rediscover knowledge per query, your wiki compiles once and stays current, with contradictions flagged and synthesis reflecting all ingested material.

MITupdated Jul 2026
★ 221,503repo stars
llm-wiki
by moltis-org · moltis-org/moltis

llm-wiki helps you create and maintain a compounding knowledge base as interlinked markdown files, inspired by Andrej Karpathy's pattern. Unlike traditional retrieval systems that rediscover information per query, this skill compiles knowledge once and keeps it current with built-in cross-references and contradiction detection. The agent handles summarization, filing, and maintenance while you curate sources and direct analysis.

MITupdated Jul 2026
★ 2,795repo stars
Skill
by nanzhipro · nanzhipro/Karpathy-llm-wiki-bootstrap-skill

LLM Wiki Bootstrap helps you build and operate a personal knowledge base structured around immutable raw sources, a curated wiki layer, and a SCHEMA.md operating contract. Set up preferences, ingest sources, query your wiki, or configure full-text search—the skill handles scaffolding, content compilation, and consistency checks.

no license declared → metadata onlyupdated May 2026
★ 98repo stars
llm-wiki
by sammcj · sammcj/agentic-coding

LLM Wiki lets you build and maintain a self-contained personal knowledge base as plain markdown, organized into immutable source material and compiled articles you own. Sources land in a `raw/` directory, you compile them into `wiki/` articles, and the system keeps everything local—readable on GitHub and openable as an Obsidian vault. Query your knowledge, ingest new sources, lint for health, audit claims against their sources, or critique reasoning, all without external servers or embeddings.

Apache-2.0updated Jul 2026
★ 153repo stars
llm-wiki
by mduongvandinh · mduongvandinh/llm-wiki

LLM Wiki is a self-maintaining personal knowledge base that ingests articles, notes, PDFs, and Reddit threads into a structured wiki with automatic cross-references and contradiction detection. It supports discovery, querying, linting, and synthesis workflows to keep your knowledge organized and current.

MITupdated Apr 2026
★ 212repo stars

More skills karpathy-llm-wiki (MIT) · wiki-manager (MIT) · ml-llm-wiki (Apache-2.0) · knowledge-base (MIT) · project-maintainer (MIT) · wiki-query (MIT) · lwy-dispatch (MIT)

Tags
code-documentationwiki-generationarchitecture-mappingknowledge-compilationsource-analysismarkdown-wikicodebase-indexingpersistent-docsautomated-documentationproject-knowledge-base