obsidian-wiki

Active
GitHub Python MIT

Description

Framework for AI agents to build and maintain an Obsidian wiki using Karpathy's LLM Wiki pattern.

Key Features

  • LLM Wiki pattern: compile knowledge once into interconnected markdown files instead of repeated RAG queries
  • Compatible with all major AI coding agents: Claude Code, Cursor, Windsurf, Codex, Gemini CLI, and more
  • Pip-installable CLI with automatic skill distribution to all installed agents
  • Wiki skill files that agents can read and execute for knowledge ingestion and querying
  • Symlink-based skill management so upgrades propagate to all agents automatically
  • Project-local or global skill installation with AGENTS.md integration

Use Cases

💡 Building a personal knowledge base maintained by AI agents using Obsidian as the viewer
💡 Creating interconnected documentation wikis that agents can query instead of using RAG
💡 Managing cross-agent knowledge sharing across multiple coding assistants
💡 Automating documentation ingestion from codebases into a structured wiki
💡 Reducing token usage by pre-compiling knowledge rather than querying LLMs repeatedly

Categories

Quick Start

```bash
pip install obsidian-wiki
obsidian-wiki setup --vault /path/to/your/vault
```
Open your project in any AI agent and say **"set up my wiki"**. The CLI installs wiki skills into all your agents and writes config to `~/.obsidian-wiki/config`.

Related Projects