build-structured-markdown-knowledge-wiki
LLM-maintained personal knowledge base. Compile raw sources into a structured markdown wiki, auto-lint for consistency, serve as a browsable website. Inspired…
от rondoflow★ 37 звёзд на GitHub
Установить build-structured-markdown-knowledge-wiki в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Wiki — LLM-Maintained Knowledge Base
You maintain a personal wiki for the user. The wiki is a collection of markdown articles organized by topic. You are the compiler, editor, and librarian.
Setup
If the wiki doesn't exist yet, run scripts/bootstrap.sh to create the structure, install dependencies, and configure git + static serving.
The wiki lives at ~/wiki/ with this structure:
~/wiki/
├── mkdocs.yml
├── docs/
│ ├── index.md ← master index (you maintain)
│ ├── log.md ← chronological ingest/lint/query log (append-only)
│ ├── raw/ ← inbox for unprocessed sources
│ │ └── processed/ ← archived after compilation
│ └── topics/
│ ├── <topic>/
│ │ ├── _index.md ← topic overview + article list
│ │ └── <article>.md ← individual articles
│ └── ...
└── site/ ← built static site (gitignored)
Core Operations
1. Filing Knowledge (most common)
When conversations produce durable knowledge, file it directly:
- Determine the right topic directory (create new one if needed)
- Write or update the article in
docs/topics/<topic>/<article>.md - Update related pages — scan existing articles for references to the same concepts, entities, or data. Add cross-links, update numbers, note where new info supersedes old claims. A single ingest should touch every relevant page, not just the target article.
- Update
docs/topics/<topic>/_index.mdwith the new article link - Update
docs/index.mdstats if a new topic/article was added - Update
mkdocs.ymlnav section - Append an entry to
docs/log.md - Rebuild:
scripts/build.sh
Articles should be self-contained, factual, and cross-linked where relevant. Use See also: [Title](relative-path.md) for connections.
2. Compiling from raw/
When the user drops sources in docs/raw/ or gives you a URL:
- Read/fetch the source material
- Extract durable knowledge (skip ephemeral details, opinions without evidence)
- File into appropriate topic articles (new or existing)
- Update related pages — same as Filing: scan existing articles and update cross-links, numbers, or claims affected by the new source
- Move the raw source to
docs/raw/processed/ - Append an entry to
docs/log.md - Rebuild:
scripts/build.sh
3. Linting (daily via heartbeat)
Scan ~/wiki/docs/ for:
- Contradictions — facts/numbers/claims in one article that conflict with another. Flag the specific pages and the conflicting statements.
- Stale data — outdated references, old dates paired with "current"/"latest" language, version numbers that have been superseded
- Missing links — references to topics without articles
- Dead cross-links — broken
See alsolinks - Orphan pages — pages with no inbound links from other articles
- Weak pages — articles that are too thin to be useful on their own (candidates for merging or expanding)
Fix within ~/wiki/docs/: broken links, typos, missing cross-links, orphan pages (add links from related articles).
Flag to user: contradictions (with quotes from both sides), stale data, suggested new articles, weak pages.
Append a lint entry to docs/log.md.
4. Filing Good Answers
When a conversation produces a solid synthesized answer (comparison, analysis, deep-dive), proactively offer to file it as a wiki page. Good candidates:
- Comparisons or evaluations (model benchmarks, tool comparisons)
- How-to knowledge derived from troubleshooting
- Synthesized research across multiple sources
- Decisions with rationale
These shouldn't disappear into chat history — they compound in the wiki.
5. Browsing
The wiki is served as a static MkDocs site. After any content change, run scripts/build.sh to regenerate.
Article Style Guide
- Title: H1 at top, descriptive
- Date/context: italicized line under title when relevant (e.g.,
*Tested: 2026-04-02 on Mac mini M4 16GB*) - Structure: use H2 sections, tables for comparisons, code blocks for commands
- Cross-links:
See also: [Article](relative-path.md)at bottom - Be factual: cite sources, include numbers, avoid vague claims
- Keep it dense: this is a reference, not a blog post
Adding New Topics
- Create
docs/topics/<topic>/directory - Create
docs/topics/<topic>/_index.mdwith overview + article list - Add to
docs/index.mdtopic list - Add to
mkdocs.ymlnav section
Dependencies & System Changes
This skill requires or will install the following:
| Dependency | Purpose | Installed by |
|---|---|---|
| Python 3 | MkDocs runtime | Must be pre-installed |
| mkdocs + mkdocs-material | Static site generator | bootstrap.sh via pipx or pip3 |
| git | Version control | Must be pre-installed |
What bootstrap.sh does
- Creates
~/wiki/directory structure - Installs
mkdocs+mkdocs-materialvia pipx/pip3 if not already installed - Initializes a git repository
- Creates a *
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл build-structured-markdown-knowledge-wiki?
LLM-maintained personal knowledge base. Compile raw sources into a structured markdown wiki, auto-lint for consistency, serve as a browsable website. Inspired by Karpathy's 'LLM Knowledge Bases' workflow. Use when: user asks to create/manage a wiki, 'wiki this', 'add to wiki', '…
Как установить скилл build-structured-markdown-knowledge-wiki?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл build-structured-markdown-knowledge-wiki запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…