llm-wiki
What it does
It turns an AI agent into a note keeper that reads papers, articles and books and files them into an interlinked Obsidian vault. It suits researchers, students, readers and teams who want notes to build up over time.
When to use it
- βWhen you want a paper, article or book filed into a personal knowledge base.
- βWhen you are researching a topic over weeks and want the notes to connect.
- βWhen you want an Obsidian vault kept up to date and checked for problems.
Skill link
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/llm-wiki/skills/llm-wiki/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI want you to add this article to my Obsidian research vault and link it to my existing notes on the topic.β
5 new skills a week. 1 minute to read.
How it works
The agent reads each source once, writes it into the vault, and updates the index and cross-references. A helper script checks the vault for problems.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
LLM Wiki β Second Brain for Claude Code + Obsidian
Inspired by Andrej Karpathy's LLM Wiki pattern (gist). This skill turns Claude Code (or any agent CLI) into a disciplined wiki maintainer that incrementally builds and maintains a persistent, interlinked Obsidian vault as you feed it sources. The knowledge compounds β cross-references, contradictions, and synthesis are already there when you query.
Core principle
Most LLM+docs workflows are RAG: retrieve fragments at query time, synthesize from scratch, forget. The wiki is compounding: sources are read once, integrated into a persistent markdown knowledge base, and kept current. You curate and ask; the LLM reads, files, cross-references, and maintains.
Obsidian is the IDE. The LLM is the programmer. The wiki is the codebase.
When to use
- Personal: track goals, health, psychology, journaling, self-improvement
- Research: deep dives over weeks on a topic β papers, articles, reports, evolving thesis
- Book companion: file chapters as you read; build a fan-wiki-style companion for characters, themes, plot threads
- Business/team: internal wiki fed by Slack, meeting notes, calls β LLM does maintenance nobody else wants to do
- Competitive analysis, due diligence, trip planning, course notes, hobby deep-dives
Do NOT use when: you need one-shot Q&A over a fixed document (use RAG), you don't plan to add sources over time, or you don't want Obsidian in the loop.
Architecture (three layers)
vault/
βββ raw/ # Layer 1 β IMMUTABLE source of truth
β βββ <source files> # Articles, papers, PDFs, images, data
β βββ assets/ # Downloaded images from clipped articles
βββ wiki/ # Layer 2 β LLM-owned knowledge base
β βββ index.md # Content catalog (LLM updates every ingest)
β βββ log.md # Append-only timeline (## [YYYY-MM-DD] <op> | <title>)
β βββ entities/ # Person/Org/Place pages
β βββ concepts/ # Ideas, theories, frameworks
β βββ sources/ # One summary page per ingested source
β βββ comparisons/ # Cross-source analysis pages
β βββ synthesis/ # High-level syntheses, theses, overviews
βββ CLAUDE.md # Schema + conventions (Claude Code)
βββ AGENTS.md # Same content, for Codex/Cursor/Antigravity
- Layer 1 (raw/) β you own. LLM only reads; never writes.
- Layer 2 (wiki/) β LLM owns. It creates, updates, and cross-references pages. You read it.
- Layer 3 (CLAUDE.md / AGENTS.md) β the schema. Conventions, workflows, frontmatter rules. Co-evolved by you and the LLM.
Three core operations
- Ingest β LLM reads a source, discusses takeaways with you, writes a source summary, updates 10-15 relevant pages, updates index, appends to log. See
references/ingest-workflow.md. - Query β LLM reads
index.mdfirst, drills into relevant pages, synthesizes with citations. Good answers get filed back into the wiki so explorations compound. Seereferences/query-workflow.md. - Lint β Health check: contradictions, stale claims, orphan pages, missing cross-refs, concepts mentioned but lacking their own page, data gaps to fill with web search. See
references/lint-workflow.md.
Quick start
# 1. Initialize a vault (in Obsidian's vault directory)
python scripts/init_vault.py --path ~/vaults/research --topic "LLM interpretability"
# 2. Drop a source into raw/, then ingest
/wiki-ingest ~/vaults/research/raw/anthropic-monosemanticity.pdf
# 3. Ask questions (answers can be re-filed into the wiki)
/wiki-query "how does monosemanticity compare to mechanistic interpretability?"
# 4. Periodic health check
/wiki-lint
# 5. See the timeline
/wiki-log --last 10
Slash commands (this plugin ships)
| Command | Purpose |
|---|---|
/wiki-init |
Bootstrap a fresh vault with schema files + starter structure |
/wiki-ingest <path> |
Read a source, discuss, update wiki, log it |
/wiki-query <question> |
Search wiki, synthesize answer, offer to file back |
/wiki-lint |
Run health check β contradictions, orphans, stale claims, gaps |
/wiki-log |
Show recent log entries (uses unix tools on log.md) |
Sub-agents (this plugin ships)
| Agent | When dispatched |
|---|---|
wiki-ingestor |
Delegated ingest flow β reads source, proposes updates, app |
FAQ
How is this different from searching my notes?
Instead of searching each time, the knowledge is written down once and kept connected, so it builds up over time.
Do I need Obsidian?
Obsidian is the tool the vault is built around, so the skill is designed for it.
What does the vault check look for?
It checks the vault for issues with its structure and links.
Details
Original description by the author
Use when building or maintaining an Obsidian second brain that an LLM keeps up to date, or when ingesting a paper, article or book into it. Ingests with ingest_source.py, maintains index and links and checks the vault with lint_wiki.py.
Popularity
- GitHub stars
- 29k
- Ranking position
- #9566
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
knowledge-entities
394kHelps your agent identify people, companies, and projects, then write sourced profile pages for them in your Knowledge vault.