obsidian-wiki is a framework that helps AI agents build and maintain an interconnected knowledge base from text-based material in an Obsidian vault. It is for people who want their agents to remember discoveries, connect related information, and answer questions with wiki-link citations. Catalogue add-ons provide the agent skills, instructions, agents, and configuration used to create and maintain these wikis.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Ar9av/obsidian-wiki --skill llm-wikigit clone --depth 1 https://github.com/Ar9av/obsidian-wikiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ar9av/obsidian-wiki/llm-wiki)<a href="https://agentmods.dev/skills/ar9av/obsidian-wiki/llm-wiki"><img src="https://agentmods.dev/badge/skills/ar9av/obsidian-wiki/llm-wiki/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ar9av/obsidian-wiki/llm-wiki"><img src="https://agentmods.dev/badge/skills/ar9av/obsidian-wiki/llm-wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.10315 |
| Opus 5.5 | $0.00016 | $0.04126 |
| Sonnet 5.5 | $0.00008 | $0.02063 |
| Haiku 4.5 | $0.00004 | $0.01031 |
Grade A, and why
llm-wiki scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 695 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LLM Wiki — Knowledge Distillation Pattern
You are maintaining a persistent, compounding knowledge base. The wiki is not a chatbot — it is a compiled artifact where knowledge is distilled once and kept current, not re-derived on every query.
Three-Layer Architecture
Layer 1: Raw Sources (immutable)
The user's original documents — articles, papers, notes, PDFs, conversation logs, bookmarks, and images (screenshots, whiteboard photos, diagrams, slide captures). These are never modified by the system. They live wherever the user keeps them (configured via OBSIDIAN_SOURCES_DIR in .env). Images are first-class sources: the ingest skills read them via the Read tool's vision support and treat their interpreted content as inferred unless it's verbatim transcribed text. Image ingestion requires a vision-capable model — models without vision support should skip image sources and report which files were skipped.
Think of raw sources as the "source code" — authoritative but hard to query directly.
Don't confuse this with the in-vault _raw/ staging folder, which is a different thing: a scratch inbox for quick captures and drafts awaiting promotion (see wiki-capture and wiki-ingest). Files there aren't Layer 1 sources, but wiki-ingest still moves rather than deletes them on promotion, since some have no other copy.
Layer 2: The Wiki (LLM-maintained)
A collection of interconnected Obsidian-compatible markdown files organized by category. This is the compiled knowledge — synthesized, cross-referenced, and navigable. Each page has:
- YAML frontmatter (title, category, tags, sources, timestamps)
- Obsidian
[[wikilinks]]connecting related concepts - Clear provenance — every claim traces back to a source
The wiki lives at the path configured via OBSIDIAN_VAULT_PATH in .env.
Layer 3: The Schema (this skill + config)
The rules governing how the wiki is structured — categories, conventions, page templates, and operational workflows. The schema tells the LLM how to maintain the wiki.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago Changed c0cd0ac4408e
- 25d ago Changed 9dd1a96c1427
- 1mo ago Changed · +2 lines f25b6e020b2b
- 1mo ago Changed 1c2915f009be
- 1mo ago Changed · -1 lines 8cf1e42ad285
- 1mo ago Changed · -5 lines · -72 tokens per session da5677fe4290
- 1mo ago Changed 4bbb96786c77
- 2mo ago Changed · +13 lines 5d5bca39e09e
- 2mo ago Changed · +8 lines afe905700dd3
- 2mo ago First seen · 678 lines · 113 tokens per session scan A 6224bb18749e
llm-wiki is a skill published in the GitHub repository Ar9av/obsidian-wiki (3,835 stars, last pushed 3d ago), licensed MIT. It adds 41 tokens to every session and 10,315 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
llm-wiki compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| llm-wikiAr9av/obsidian-wiki | Skill | 3.8k | 3d ago | MIT | A | 41 | Claude Code |
| llmwikiatomicstrata/llm-wiki-compiler | Skill | 2.3k | 2d ago | MIT | A | 66 | Claude Code, Codex |
| wegent-knowledgewecode-ai/Wegent | Skill | 895 | today | Apache-2.0 | A | 60 | Claude Code, Codex |
| llm-wikizosmaai/pi-llm-wiki | Skill | 634 | 5d ago | MIT | A | 52 | Claude Code |
| karpathy-llm-wikiAstro-Han/karpathy-llm-wiki | Skill | 2.8k | 4mo ago | MIT | A | 67 | Claude Code, Codex |
| knowledge-ingestkeshrath/agent-knowledge | Skill | 19 | yesterday | MIT | A | 96 | Claude Code |
| kb-memoryoyi77/1ai-skills | Skill | 19 | today | MIT | A | 31 | Claude Code |