llm-wiki
Что он делает
Скилл поручает вашему ИИ вести базу знаний из связанных файлов Markdown по схеме Андрея Карпаты. Он нужен тем, кто долго исследует тему и хочет, чтобы их заметки опирались друг на друга.
Когда использовать
- ✓Когда вы хотите начать новую вики или базу знаний по теме.
- ✓Когда вы хотите добавить источник, например статью, в существующую вики.
- ✓Когда вы хотите проверить вики на противоречия или отсутствующие ссылки.
Ссылка на скилл
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/research/llm-wiki/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Добавь в мою вики эту статью о переработке аккумуляторов и свяжи её с заметками, которые у меня уже есть о литии.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Вики — это просто папка с файлами Markdown. Ваш ИИ читает источники, пишет краткие изложения, добавляет перекрёстные ссылки и отмечает противоречия, поэтому знания собираются один раз и остаются актуальными.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Karpathy's LLM Wiki
Build and maintain a persistent, compounding knowledge base as interlinked markdown files. Based on Andrej Karpathy's LLM Wiki pattern.
Unlike traditional RAG (which rediscovers knowledge from scratch per query), the wiki compiles knowledge once and keeps it current. Cross-references are already there. Contradictions have already been flagged. Synthesis reflects everything ingested.
Division of labor: The human curates sources and directs analysis. The agent summarizes, cross-references, files, and maintains consistency.
When This Skill Activates
Use this skill when the user:
- Asks to create, build, or start a wiki or knowledge base
- Asks to ingest, add, or process a source into their wiki
- Asks a question and an existing wiki is present at the configured path
- Asks to lint, audit, or health-check their wiki
- References their wiki, knowledge base, or "notes" in a research context
Wiki Location
Location: Set via WIKI_PATH environment variable (e.g. in ${HERMES_HOME:-~/.hermes}/.env).
If unset, defaults to ~/wiki.
WIKI="${WIKI_PATH:-$HOME/wiki}"
The wiki is just a directory of markdown files — open it in Obsidian, VS Code, or any editor. No database, no special tooling required.
Architecture: Three Layers
wiki/
├── SCHEMA.md # Conventions, structure rules, domain config
├── index.md # Sectioned content catalog with one-line summaries
├── log.md # Chronological action log (append-only, rotated yearly)
├── raw/ # Layer 1: Immutable source material
│ ├── articles/ # Web articles, clippings
│ ├── papers/ # PDFs, arxiv papers
│ ├── transcripts/ # Meeting notes, interviews
│ └── assets/ # Images, diagrams referenced by sources
├── entities/ # Layer 2: Entity pages (people, orgs, products, models)
├── concepts/ # Layer 2: Concept/topic pages
├── comparisons/ # Layer 2: Side-by-side analyses
└── queries/ # Layer 2: Filed query results worth keeping
Layer 1 — Raw Sources: Immutable. The agent reads but never modifies these.
Layer 2 — The Wiki: Agent-owned markdown files. Created, updated, and
cross-referenced by the agent.
Layer 3 — The Schema: SCHEMA.md defines structure, conventions, and tag taxonomy.
Resuming an Existing Wiki (CRITICAL — do this every session)
When the user has an existing wiki, always orient yourself before doing anything:
① Read SCHEMA.md — understand the domain, conventions, and tag taxonomy.
② Read index.md — learn what pages exist and their summaries.
③ Scan recent log.md — read the last 20-30 entries to understand recent activity.
WIKI="${WIKI_PATH:-$HOME/wiki}"
# Orientation reads at session start
read_file "$WIKI/SCHEMA.md"
read_file "$WIKI/index.md"
read_file "$WIKI/log.md" offset=<last 30 lines>
Only after orientation should you ingest, query, or lint. This prevents:
- Creating duplicate pages for entities that already exist
- Missing cross-references to existing content
- Contradicting the schema's conventions
- Repeating work already logged
For large wikis (100+ pages), also run a quick search_files for the topic
at hand before creating anything new.
Initializing a New Wiki
When the user asks to create or start a wiki:
- Determine the wiki path (from
$WIKI_PATHenv var, or ask the user; default~/wiki) - Create the directory structure above
- Ask the user what domain the wiki covers — be specific
- Write
SCHEMA.mdcustomized to the domain (see template below) - Write initial
index.mdwith sectioned header - Write initial
log.mdwith creation entry - Confirm the wiki is ready and suggest first sources to ingest
SCHEMA.md Template
Adapt to the user's domain. The schema constrains agent behavior and ensures consistency:
# Wiki Schema
## Domain
[What this wiki covers — e.g., "AI/ML research", "personal health", "startup intelligence"]
## Conventions
- File names: lowercase, hyphens, no spaces (e.g., `transformer-architecture.md`)
- Every wiki page starts with YAML frontmatter (see below)
- Use `[[wikilinks]]` to link between pages (minimum 2 outbound links per page)
- When updating a page, always bump the `updated` date
- Every new page must be added to `index.md` under the correct section
- Every action must be appended to `log.md`
Частые вопросы
Где хранится вики?
В папке, которая задана через WIKI_PATH, а по умолчанию в папке wiki в домашнем каталоге.
Нужно ли специальное ПО?
Нет. Скилл говорит, что вики работает в Obsidian, VS Code или любом редакторе, без базы данных.
Кто решает, что попадёт в вики?
Человек выбирает источники и направляет анализ, а ИИ делает изложения и следит за согласованностью заметок.
Подробности
Оригинальное описание автора
Karpathy's LLM Wiki: build/query interlinked markdown KB.
Популярность
- Звёзды на GitHub
- 260k
- Место в рейтинге
- #554
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
agent-merge-conflict-arbiter
260kРазрешает конфликт слияния git между ветками двух агентов как нейтральная третья сторона и создает один объединенный результат для репозитория.
antigravity-cli
260kПомогает установить, обновить и устранить неполадки в командной строке Antigravity, включая плагины, вход в аккаунт и песочницу.
blackbox
260kПозволяет агенту передать задачу по коду инструменту командной строки Blackbox AI, который запускает несколько ИИ-моделей и выбирает лучший результат.
dynamic-workflow
260kУчит агента выполнять большие пакеты однотипной работы как сохраненный скрипт, чтобы в основной разговор возвращались только проверенные результаты.
Похожие скиллы
graincrawl
394kПозволяет агенту искать в сохраненных заметках и расшифровках встреч Granola, проверять их свежесть и считать за период.
notcrawl
394kПозволяет агенту искать в сохраненной копии рабочего пространства Notion, находить страницы и базы данных и экспортировать страницы в файлы Markdown.
knowledge-entities
394kПомогает агенту определять людей, компании и проекты, а затем писать для них профили с источниками в вашем хранилище Knowledge.