
lewislulu/llm-wiki-skill
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
lewislulu/llm-wiki-skill — это кандидат на навык агента, импортированный из https://github.com/lewislulu/llm-wiki-skill.
Обзор
lewislulu/llm-wiki-skill — это кандидат на навык агента, импортированный из https://github.com/lewislulu/llm-wiki-skill.
Обзор (машинный перевод)
Навык OpenClaw / Codex Agent для создания баз знаний LLM в стиле Карпати.
Экспериментальный навык — будет развиваться со временем. Пожалуйста, присылайте свои отзывы в github issues.
Вдохновлённый llm-wiki Gist Андрея Карпати и работой сообщества, развивающегося на нём.
Что это такое
Вместо RAG (повторного извлечения сырых документов по каждому запросу) этот шаблон включает компиляцию исходных источников LLM ** в устойчивую, перекрёстно связанную вики Markdown. Каждый проход compile, ingest, query, lint и audit делает вики богаче. Знания накапливаются со временем.
- Вы владеете: источником сырья, задаванием хороших вопросов, указанием направления, обратной связью по ошибкам ИИ.
- LLM владеет: всем письмом, перекрёстными ссылками, архивированием, бухгалтерией и действиями на основе вашей обратной связи.
В этом репозитории есть два дополнительных инструмента:
plugins/obsidian-audit/— плагин Obsidian: выбирает текст на любой странице, оставляет комментарий с серьёзностью, комментарий записывается вaudit/как закреплённый файл markdown.web/— локальный сервер предпросмотра Node.js: отображает вики с помощью русалки, KaTeX и вики-ссылок, позволяет выбирать + обратной связи файлов из браузера и показывает открытые аудиты на каждой странице.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
llm-wiki
An OpenClaw / Codex Agent Skill for building Karpathy-style LLM knowledge bases.
Experimental skill — will iterate over time. Please send your feedbacks in github issues.
Inspired by Andrej Karpathy’s llm-wiki Gist and the community’s work building on it.
What this is
Instead of RAG (re-retrieving raw docs on every query), this pattern has the LLM compile raw sources into a persistent, cross-linked Markdown wiki. Every compile, ingest, query, lint, and audit pass makes the wiki richer. Knowledge compounds over time.
- You own: sourcing raw material, asking good questions, steering direction, filing feedback on things the AI got wrong.
- LLM owns: all writing, cross-referencing, filing, bookkeeping, and acting on your feedback.
The skill comes with two companion tools in this repo:
plugins/obsidian-audit/— an Obsidian plugin: select text in any page, leave a comment with severity, the comment is written intoaudit/as an anchored markdown file.web/— a local Node.js preview server: renders the wiki with mermaid, KaTeX, and wikilinks, lets you select + file feedback from the browser, and shows open audits per page.
Both tools share a single TypeScript library (audit-shared/) so audit files written from Obsidian and the web viewer are byte-identical in shape.
Install
# Copy the skill into your agent's skills directory
cp -r llm-wiki/ ~/.claude/skills/llm-wiki/
# or for Codex
cp -r llm-wiki/ ~/.codex/skills/llm-wiki/
Then reference it in your agent config, or simply paste llm-wiki/SKILL.md into your agent context.
Quick start
# 1. Scaffold a new wiki
python3 llm-wiki/scripts/scaffold.py ~/my-wiki "My Research Topic"
# 2. Add a source
cp my-article.md ~/my-wiki/raw/articles/
# 3. Tell your agent: "ingest raw/articles/my-article.md"
# 4. Ask questions: "what does the wiki say about X?"
# 5. Run lint periodically
python3 llm-wiki/scripts/lint_wiki.py ~/my-wiki
# 6. File a comment from the web viewer or Obsidian plugin, then process it
python3 llm-wiki/scripts/audit_review.py ~/my-wiki --open
# then tell the agent: "audit: process the open comments"
Repo contents
llm-wiki-skill/
├── llm-wiki/ ← The skill
│ ├── SKILL.md ← Main skill file (read by agent)
│ ├── references/
│ │ ├── schema-guide.md ← CLAUDE.md schema template
│ │ ├── article-guide.md ← Article writing (divide & conquer, mermaid, KaTeX)
│ │ ├── log-guide.md ← log/ folder convention
│ │ ├── audit-guide.md ← audit file format + processing workflow
│ │ └── tooling-tips.md ← Obsidian, qmd, plugin + web
│ └── scripts/
│ ├── scaffold.py ← Bootstrap new wiki directory
│ ├── lint_wiki.py ← 7-pass health check (links, audit, log shape)
Рекомендуемые инструменты
Попробуйте другой запрос или уберите фильтр.
Установка
npx skillfish add lewislulu/llm-wiki-skill