ML

mduongvandinh/llm-wiki

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

221 stars 质量 57 趋势 0MIT

mduongvandinh/llm-wiki 是从 https://github.com/mduongvandinh/llm-wiki. 导入的代理技能候选人。

概览

mduongvandinh/llm-wiki 是从 https://github.com/mduongvandinh/llm-wiki. 导入的代理技能候选人。

概述(AI 翻译)

一个自我构建和维护的个人知识库。

把文章、笔记、PDF或Reddit帖子放进文件夹。你的AI会阅读所有内容,构建带有交叉引用的结构化维基,检测来源间的矛盾,并自动保持所有内容的最新。

你只需要阅读并提问。

灵感来自 Andrej Karpathy 的 LLM Wiki 模式。扩展了自动发现、Reddit 扫描、GitHub 追踪以及针对常见场景的现成变体。


为什么不直接用RAG?

传统RAG LLM维基
知识 每次查询都重新检索 编译一次,持续维护
交叉引用 无 自动构建和维护
矛盾 未检测到 摄入即刻标记
复利 平 随着时间增长
基础设施 矢量数据库 + 嵌入 仅文件夹 + 标记

快速启动

选项A — 从现成的变体开始(推荐)

不要从零配置。选择一个符合你用例的变体——配置、模式和演示数据都是预先调优好的:

选项B — 从零开始

然后把内容放进raw/articles/,运行你的第一个循环。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

LLM Wiki

A personal knowledge base that builds and maintains itself.

Drop articles, notes, PDFs, or Reddit threads into a folder. Your AI reads everything, builds a structured wiki with cross-references, detects contradictions between sources, and keeps it all up to date — automatically.

You just read and ask questions.

Inspired by Andrej Karpathy’s LLM Wiki pattern. Extended with auto-discovery, Reddit scanning, GitHub tracking, and ready-made variants for common use cases.


Why not just use RAG?

Traditional RAG LLM Wiki
Knowledge Re-retrieved fresh every query Compiled once, maintained continuously
Cross-references None Built and maintained automatically
Contradictions Not detected Flagged immediately on ingest
Compounding Flat Grows richer over time
Infrastructure Vector DB + embeddings Just folders + markdown

Quick Start

Don’t configure from scratch. Pick a variant that matches your use case — config, schema, and demo data are pre-tuned:

git clone https://github.com/mduongvandinh/llm-wiki.git my-wiki
cd my-wiki

# Install skill (Claude Code only — other tools skip this)
cp -r skills/llm-wiki ~/.claude/skills/llm-wiki

# Pick your variant:
/llm-wiki setup book-companion      # 📚 Reading companion
/llm-wiki setup competitive-intel   # 🎯 Track competitors
/llm-wiki setup job-search          # 💼 Job search research

Option B — Start from scratch

git clone https://github.com/mduongvandinh/llm-wiki.git my-wiki
cd my-wiki

cp config.example.yaml config.yaml
# Edit config.yaml: set your topics, keywords, feeds

Then drop content into raw/articles/ and run your first cycle.


Variants

Pre-configured templates for specific use cases. One command setup, includes demo data.

Variant Use Case Key Command
📚 book-companion Build a companion wiki as you read — characters, timeline, factions, lore auto-extracted book-summary · demo
🎯 competitive-intel Track competitors, detect pricing/feature changes, generate battlecards competitive-brief "Linear"
💼 job-search Research target companies, prep interview 1-pagers interview-prep "Stripe"

→ See all variants →


Using with Your AI Tool

LLM Wiki works with any AI coding assistant. The wiki is just folders and markdown — the AI reads CLAUDE.md (or AGENTS.md) to understand the schema and rules, then operates on files.

Claude Code

The primary supported tool. Has a slash command skill for the best experience.

Install the skill:

cp -r skills/llm-wiki ~/.claude/skills/llm-wiki
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add mduongvandinh/llm-wiki
新手?先看 mcpskill.org 教程 →