Skip to content
Skillpedia
Research29k Β· #9566

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.md

Copy 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

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/llm-wiki/skills/llm-wiki/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

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

  1. 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.
  2. Query β€” LLM reads index.md first, drills into relevant pages, synthesizes with citations. Good answers get filed back into the wiki so explorations compound. See references/query-workflow.md.
  3. 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.

repo: alirezarezvani/claude-skills

Popularity

GitHub stars
29k
Ranking position
#9566
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills