yvonshong16 downloadsIncremental personal knowledge base using LLMs for Obsidian
An Incremental Personal Knowledge Base using LLMs for Obsidian
GenWiki is an Obsidian plugin inspired by Andrej Karpathy's "LLM Wiki" concept. It aims to solve the limitations of traditional RAG (Retrieval-Augmented Generation) systems—where search is ephemeral and knowledge doesn't compound—by using LLMs to incrementally build, structure, and audit a persistent personal knowledge base directly within your vault.
Unlike standard search tools, GenWiki parses your web clippings, merges new findings with your existing notes, structures them with bidirectionally-linked wiki files, and continuously audits your knowledge base for conflicts and gaps.
[[Entity_Name]]) to connect concepts automatically.wiki/log.md.[[Tool_Obsidian#Features]]).GenWiki enforces a clean three-tier structure inside your wiki/ directory:
wiki/
├── _skills/ # Modular Agent Prompts (Ingest.md, Query.md, Lint.md, SavePage.md)
├── _agents/ # System SOP Specifications (CLAUDE.md)
├── _database/ # Flat-file Local Database Index (index.json)
├── index.md # Visual, card-style personal knowledge map
└── log.md # Action audit logs
To bypass iOS sandbox constraints and support frictionless cross-device synchronization (e.g., via iCloud, Git, or Obsidian Sync), all indexing metadata (aliases, summaries, backlinks, and claims) is stored in a lightweight flat JSON database (_database/index.json). No binary database or server infrastructure is required.
main.js, manifest.json, styles.css) from the Releases page..obsidian/plugins/ (create the directory if it doesn't exist).genwiki and paste the three files inside it.Open Obsidian Settings and navigate to GenWiki under Community Plugins.
gemini-3.5-flash)claude-sonnet-4-6)gpt-5.4-mini)deepseek-v4-flash, supports OpenAI/Anthropic-compatible endpoints)kimi-k2.6)openrouter/free, handles unified model endpoints)Clippings) and the destination Wiki folder (default: wiki).Clippings/ folder, open the Chat Panel, and click 📥 Process Clippings at the top. The plugin will automatically parse, link, and index them.GenWiki is completely prompt-driven. You can inspect or rewrite the system prompts and instruction flows directly inside your Obsidian editor:
wiki/_skills/Ingest.md — Incremental clipping extraction, linking, and contradiction checks.wiki/_skills/Query.md — Context retrieval guidelines and link citations.wiki/_skills/Lint.md — Knowledge audit heuristics.wiki/_skills/SavePage.md — De-conversationalizing text format rules.This project is licensed under the CC BY-NC-SA 4.0 License (Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International). It is free to share and adapt for non-commercial purposes.