obsidian-wiki
AGENTS.md3.5k starsChanged 2 months agoMITView on GitHub
A skill-based framework for building and maintaining an Obsidian knowledge base. No scripts or dependencies — everything is markdown instructions that you execute directly. README.md and every README_<LANG>.md translation (today README_TW.md) are one documentation surface. Keep headings, examples, links, and user-facing behavior aligned across them. The check is advisory and never blocks a PR: the readme-translation-drift CI job only reports drift. Run python tools/check_readme_sync.py to list, per translation, the commits that changed README.md without a later update to that translation,…
- Reads credentials
Trending
More talk lately.about the whole repository
Who's talking about Ar9av/obsidian-wiki
- @pythonhub.dev“obsidian-wiki Framework for AI agents to build and maintain a digital brain through Obsidian wiki using …”Bluesky · Jun 23, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.ar9av.obsidian-wiki: init at 2026.10.1”GitHub · Oct 3, 2026
- ProSkillsMD/proskills“[Candidate] ar9av/obsidian-wiki/.skills/llm-wiki - llm-wiki”GitHub · Sep 27, 2026
- ProSkillsMD/proskills“[Candidate] ar9av/obsidian-wiki/.skills/impl-validator - impl-validator”GitHub · Sep 27, 2026
- ProSkillsMD/proskills“[Candidate] ar9av/obsidian-wiki/.skills/hermes-history-ingest - hermes-history-ingest”GitHub · Sep 27, 2026
The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 16
Talked about on GitHub and Bluesky (16 times).
On GitHub · 15
- Oct 3, 2026agent-skills.github.ar9av.obsidian-wiki: init at 2026.10.1 — sudosubin/agents.nix0 reactions
- Sep 27, 2026[Candidate] ar9av/obsidian-wiki/.skills/llm-wiki - llm-wiki — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 27, 2026[Candidate] ar9av/obsidian-wiki/.skills/impl-validator - impl-validator — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 27, 2026[Candidate] ar9av/obsidian-wiki/.skills/hermes-history-ingest - hermes-history-ingest — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] ar9av/obsidian-wiki/.skills/graph-colorize - graph-colorize — ProSkillsMD/proskills0 reactions · 2 comments
10 more on GitHub
- Sep 26, 2026[Candidate] ar9av/obsidian-wiki/.skills/cross-linker - cross-linker — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] ar9av/obsidian-wiki/.skills/copilot-history-ingest - copilot-history-ingest — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] ar9av/obsidian-wiki/.skills/codex-history-ingest - codex-history-ingest — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] ar9av/obsidian-wiki/.skills/code-understand - code-understand — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] ar9av/obsidian-wiki/.skills/claude-history-ingest - claude-history-ingest — ProSkillsMD/proskills0 reactions · 1 comment
- Jul 12, 2026Add obsidian-wiki as a local workspace — aristoapp/awesome-second-brain0 reactions
- Jun 20, 2026feat: Obsidian-compatible wiki.md output from compiled graph — manhhailua/lorekeep0 reactions · 1 comment
- Jun 15, 2026Daily tribute 2026-06-15: obsidian-wiki by @_ar9av — Talonsturgill/signalsniper0 reactions
- May 15, 2026Tracking: AI workflow patterns & companion plugins — brenthaertlein/universal-skills0 reactions · 1 comment
- Apr 9, 2026wiki 生成质量提高 — nashsu/llm_wiki0 reactions · 2 comments
On Bluesky · 1
- Jun 23, 2026obsidian-wiki Framework for AI agents to build and maintain a digital brain through Obsidian wiki using Karpathy's LLM Wiki pattern.… — @pythonhub.dev1 likes and repost · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository4 other files it gives its agents.
- docs/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/obsidian-wiki.mdcCursor rule
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 57
Every wiki page has required frontmatter: title, category, tags, sources, created, updated.
- Distinctive: line 116
If the user wants knowledge preserved, ingest.
- Very specific: line 127
Write to $VAULT/projects/<project-name>.md, cross-linking to concept/entity pages as needed
- Very specific: line 128
Update .manifest.json, index.md, and log.md
- Distinctive: line 136
Only open page bodies when the index pass can't answer
- Very specific: line 166
Track everything: Update .manifest.json after ingesting, index.md, log.md, and hot.md after any write operation.
- Very specific: line 167
Connect with
[[wikilinks]]: Every page should link to related pages. - Very specific: line 168
Frontmatter is required: Every wiki page needs: title, category, tags, sources, created, updated.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Obsidian Wiki — Agent Context
A skill-based framework for building and maintaining an Obsidian knowledge base. No scripts or dependencies — everything is markdown instructions that you execute directly.
README Translation Parity
README.md and every README_<LANG>.md translation (today README_TW.md) are one documentation surface. Keep headings, examples, links, and user-facing behavior aligned across them. The check is advisory and never blocks a PR: the readme-translation-drift CI job only reports drift. Run python tools/check_readme_sync.py to list, per translation, the commits that changed README.md without a later update to that translation, along with the pending English diff — then translate and backfill those changes. Reviewers assess translation quality. Adding a language is covered in docs/contributing.md.
Configuration
Resolve config using the Config Resolution Protocol in llm-wiki/SKILL.md:
- Inline vault override (
@name) — if the request contains an@<name>token, resolve<global config dir>/config.<name>directly, overriding the steps below. See "Targeting a specific vault" right after this list. - Walk up from CWD — look for a
.envfile in the current directory, then each parent, up to$HOME. Stop at the first.envthat containsOBSIDIAN_VAULT_PATH. If its value is empty, stop there too: tell the user which.envblocked resolution (a blank line copied from.env.exampledoes this) instead of falling through to the global config. - Global config — if no local
.envis found, read<global config dir>/config. - Prompt setup — if neither exists, tell the user to run
wiki-setup.
The global config dir is XDG-style: $XDG_CONFIG_HOME/obsidian-wiki (default ~/.config/obsidian-wiki). Installs that already have a ~/.obsidian-wiki directory keep using it, so existing setups never break; new installs use the XDG path.
The resolved config sets OBSIDIAN_VAULT_PATH (where the wiki lives). It may also set OBSIDIAN_WIKI_REPO (where this repo is cloned) and other optional variables.
Targeting a specific vault
You can maintain multiple vaults (each a <global config dir>/config.<name> file managed by wiki-switch) and reach any of them from any directory:
@name(per-invocation override) — prefix or mention@<name>anywhere in a request to route that one command to that vault, e.g.@work save thisorwiki-query @personal what do I know about X. It overrides the CWD.envand the active symlink for that invocation only — it does not flip your default vault. Ifconfig.<name>doesn't exist, the skill reports it and lists available vaults; do not silently fall back to the default. The@nameis stripped before the rest of the request is used as content./wiki-switch <name>(persistent default) — re-points the active symlink so all future requests use that vault. This is your default "brain" vault; use@nameto dip into the other one without switching.
After reading config, always read $OBSIDIAN_VAULT_PATH/AGENTS.md if it exists. It contains owner-specific conventions (domain vocabulary, ingest preferences, writing style, project scoping) that override framework defaults for all skills. Apply it for the duration of the session.
Vault Structure
$OBSIDIAN_VAULT_PATH/
├── index.md # Master index — every page listed, always kept current
├── log.md # Chronological activity log (ingests, updates, lints)
├── hot.md # Session hot cache — ~500-word semantic snapshot (generated)
├── .manifest.json # Tracks every ingested source: path, timestamps, pages produced
├── _meta/
│ ├── taxonomy.md # Controlled tag vocabulary
│ ├── profile.md # Durable facts about the vault owner (memory skill)
│ ├── todos.md # Open threads carried between sessions (memory skill)
│ └── *.base # Obsidian Bases dashboard definitions (wiki-dashboard skill)
├── _insights.md # Graph analysis output (hubs, bridges, dead ends)
├── _raw/ # Staging area — drop rough notes here, next ingest promotes them
├── _readouts/ # Derived narrative readouts saved by wiki-narrate — not knowledge pages
├── concepts/ # Abstract ideas, patterns, mental models
├── entities/ # Concrete things — people, tools, libraries, companies
├── skills/ # How-to knowledge, techniques, procedures
├── references/ # Factual lookups — specs, APIs, configs
├── synthesis/ # Cross-cutting analysis connecting multiple concepts
├── journal/ # Time-bound entries — daily logs, session notes
└── projects/
└── <project-name>.md # One page per project synced via wiki-updateEvery wiki page has required frontmatter: title, category, tags, sources, created, updated. Pages connect via internal links — [[wikilinks]] by default, or standard Markdown links when OBSIDIAN_LINK_FORMAT=markdown is set in config.
Skill Routing
Skills live in .skills/<name>/SKILL.md. Match the user's intent to the right skill:
| User says something like… | Skill |
| "set up my wiki" / "initialize" | wiki-setup |
| "/wiki-history-ingest claude" / "/wiki-history-ingest copilot" / "/wiki-history-ingest codex" / "/wiki-history-ingest hermes" / "/wiki-history-ingest openclaw" / "/wiki-history-ingest pi" | wiki-history-ingest |
"ingest" / "add this to the wiki" / "process these docs" / "process this export" / "ingest this data" / logs, transcripts / "/ingest-url <url>" / "add this URL" / "ingest this link" / "save this page" | wiki-ingest |
| "import my Claude history" / "mine my conversations" | claude-history-ingest |
| "import my Codex history" / "mine my Codex sessions" | codex-history-ingest |
| "import my Hermes history" / "mine my Hermes memories" / "ingest ~/.hermes" | hermes-history-ingest |
| "import my OpenClaw history" / "mine my OpenClaw sessions" / "ingest ~/.openclaw" | openclaw-history-ingest |
| "import my Copilot history" / "mine my Copilot sessions" / "ingest ~/.copilot" | copilot-history-ingest |
| "import my Pi history" / "mine my Pi sessions" / "ingest ~/.pi" | pi-history-ingest |
| "what's the status" / "what's been ingested" / "show the delta" | wiki-status |
| "wiki insights" / "hubs" / "wiki structure" | wiki-status (insights mode) |
| "is my vault at equilibrium" / "wiki equilibrium" / "is maintenance done" / "are my skills fighting" | wiki-status (equilibrium mode) |
| "what do I know about X" / "find info on Y" / any question | wiki-query |
| "use my vault as context" / "context pack for X" / "bounded context" | wiki-context-pack |
| "narrate" / "briefing" / "explain this topic" / "/wiki-narrate" | wiki-narrate |
| "audit" / "lint" / "find broken links" / "wiki health" | wiki-lint |
| "dedup my wiki" / "find duplicate pages" / "merge duplicates" / "identity resolution" / "consolidate my wiki" | wiki-dedup |
| "rebuild" / "start over" / "archive" / "restore" | wiki-rebuild |
| "link my pages" / "cross-reference" / "connect my wiki" | cross-linker |
| "fix my tags" / "normalize tags" / "tag audit" | tag-taxonomy |
| "update wiki" / "sync to wiki" / "save this to my wiki" | wiki-update |
@work update wiki / wiki-query @personal ... / @research save this | Any matching wiki skill + Config Resolution Protocol @name override |
| "export wiki" / "export graph" / "graphml" / "neo4j" / "export to OKF" / "OKF bundle" / "open knowledge format" | wiki-export |
| "import wiki" / "import from export" / "load graph.json" / "import vault" / "import OKF bundle" / "/wiki-import" | wiki-import |
| "color my graph" / "color code obsidian" / "color by tag/category/visibility" | graph-colorize |
| "save this" / "/wiki-capture" / "capture this" / "file this conversation" / "/wiki-capture --quick" / "quick capture" / "capture this finding" / "save this gotcha" / "drop to raw" | wiki-capture |
| "/wiki-research [topic]" / "research X" / "find everything about Y" | wiki-research |
| "create a dashboard" / "vault dashboard" / "show all X as a table" / "dynamic view" | wiki-dashboard |
| "synthesize my wiki" / "find connections" / "what concepts keep coming up together" / "/wiki-synthesize" | wiki-synthesize |
| "create a new skill" | skill-creator |
| "/vault-skill-factory" / "make a skill from my wiki" / "turn these pages into a skill" / "package my notes on X as a skill" / "build a domain-expert skill from my vault" | vault-skill-factory |
| "/wiki-claude [topic]" / "/wiki-codex [topic]" / "/wiki-hermes [topic]" / "/wiki-openclaw [topic]" / "/wiki-copilot [topic]" / "/wiki-pi [topic]" | wiki-agent |
| "/memory-bridge" / "browse codex memory" / "what did codex know about X" / "compare tool memories" / "cross-tool memory" | memory-bridge |
| "/session-brain" / "build my session map" / "cluster my claude sessions" / "rebuild the session graph" / "what topics have gone stale" | session-brain |
| "/wiki-sessions [topic]" / "which session did I do X in" / "find the session about X" / "when did I last work on X" / "have I done this before" | session-search |
| "/daily-update" / "morning sync" / "refresh the wiki index" / "set up the daily cron" / "install terminal notification" | daily-update |
| "/impl-validator" / "check this implementation" / "validate what you did" / "is this correct?" | impl-validator |
| "/wiki-switch NAME" / "switch to my work wiki" / "switch vault" / "change wiki" / "list my wikis" / "show my vaults" / "create a new vault config" | wiki-switch |
| "/wiki-digest" / "what did I learn this week" / "weekly digest" / "knowledge summary" / "what's new in my wiki" / "summarize my recent learning" / "monthly review" | wiki-digest |
| "/wiki-context-pack" / "make a context pack" / "context slice for X" / "pack the wiki for my agent" / "bounded context for Y" | wiki-context-pack |
| "/wiki-stage-commit" / "review staged pages" / "commit staged writes" / "promote staged pages" / "what's waiting in staging" | wiki-stage-commit |
| "restyle Obsidian" / "adjust the vault layout" / "CSS snippet" / "tune tabs/sidebars/graph panes" | obsidian-layout-adjustment |
Session history: ingest vs. retrieve
Three skills read agent session caches, and they are not interchangeable:
wiki-history-ingest(and its per-agent variants) ingests — distils sessions into permanent vault pages.wiki-agentingests a slice — finds sessions about one topic in another agent's history and pulls them into the vault.session-brain/session-searchretrieve — build a topic graph over the raw sessions and find or load one. They write a sidecar at~/.claude/session-brain/and never touch the vault.
If the user wants knowledge preserved, ingest. If they want to find the session where something happened, retrieve.
Cross-Project Usage
The main use case: you're working in some other project and want to sync knowledge into your wiki, query it, or compile bounded context. Three portable skills handle this — wiki-update, wiki-query, and wiki-context-pack. They work from any directory.
wiki-update (write to wiki)
- Resolve config using the Config Resolution Protocol to get
OBSIDIAN_VAULT_PATH - Scan the current project: README, source structure, git log, package metadata
- Distill what's worth remembering (architecture decisions, patterns, trade-offs — not code listings)
- Write to
$VAULT/projects/<project-name>.md, cross-linking to concept/entity pages as needed - Update
.manifest.json,index.md, andlog.md
On repeat runs, it checks last_commit_synced in .manifest.json and only processes the delta via git log <last_commit>..HEAD.
wiki-query (read from wiki)
- Resolve config using the Config Resolution Protocol to get
OBSIDIAN_VAULT_PATH - Scan titles, tags, and
summary:frontmatter fields first (cheap pass) - Only open page bodies when the index pass can't answer
- Return a synthesized answer with
[[wikilink]]citations
wiki-context-pack (read-only context)
- Resolve the target vault and read its owner
AGENTS.md - Rank existing notes without requiring schema migration
- Compile summaries and selected excerpts within a hard token budget
- Return a provenance-rich pack; never write it back to the vault
Visibility Tags (optional)
Pages can carry a visibility/ tag to mark their intended reach. This is entirely optional — untagged pages behave exactly as they always have (visible everywhere). The system stays single-vault, single source of truth.
| Tag | Meaning |
| (no tag) | Same as visibility/public — visible in all modes |
visibility/public | Explicitly public — visible in all modes |
visibility/internal | Team-only — excluded when querying in filtered mode |
visibility/pii | Sensitive data — excluded when querying in filtered mode |
Filtered mode is opt-in, triggered by phrases like "public only", "user-facing answer", "no internal content", or "as a user would see it" in a query. Default mode shows everything.
visibility/ tags are system tags — they don't count toward the 5-tag limit and are listed separately from domain/type tags in the taxonomy.
See wiki-query and wiki-export skills for how the filter is applied.
Core Principles
- Compile, don't retrieve. The wiki is pre-compiled knowledge. Update existing pages — don't append or duplicate.
- Track everything. Update
.manifest.jsonafter ingesting,index.md,log.md, andhot.mdafter any write operation. - Connect with
[[wikilinks]]. Every page should link to related pages. This is what makes it a knowledge graph, not a folder of files. - Frontmatter is required. Every wiki page needs:
title,category,tags,sources,created,updated. - Single source of truth. Visibility tags shape how content is surfaced — they don't duplicate or separate it.
- Keep context warm.
hot.mdis a ~500-word semantic snapshot of recent activity. Every write skill updates it so the next session can pick up where the last one left off without crawling the full vault. - Write memory through the CLI.
index.md,log.md,hot.md,_meta/profile.md, and_meta/todos.mdare maintained byobsidian-wiki memory, which locks and writes atomically. Callobsidian-wiki memory sync --verb <VERB> --field k=vafter a write operation instead of editing those files by hand — hand edits in a parallel run drop whichever write lands second. The one exception is## Key Takeawaysinhot.md, which is yours: pass it withmemory hot --takeaways.
Architecture Reference
For the full pattern (three-layer architecture, page templates, project org), read .skills/llm-wiki/SKILL.md.
Human-facing documentation lives in docs/ — installation.md, agents.md, skills.md, cli.md, configuration.md, architecture.md, session-brain.md, contributing.md. README.md is a landing page only; when you add a skill, CLI command, or config variable, update the matching docs/ page rather than the README.
The vault format is structurally conformant with the Open Knowledge Format (OKF) v0.2 — markdown files with YAML frontmatter, category subfolders, reserved index.md/log.md. wiki-export (OKF mode) and wiki-import are the bridge: they translate between our native frontmatter (title/category/tags/sources/created/updated + summary) and OKF (type/title/description/tags/generated/sources, plus status and verified from lifecycle and trust reviews), making vaults exchangeable with any OKF tool. The OKF round-trip is lossless; the graph.json round-trip is not.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

