Skip to main content

obsidian-wiki

A digital brain you grow with your AI agent.

It remembers what you figure out, connects it to what you already know,
and answers when you ask.

PyPI Ask DeepWiki PRs Welcome X

obsidian-wiki

English | 繁體中文


You solve a hard problem on a Tuesday. Three months later, in a different repo, you solve it again from scratch — because the answer lived in a chat log you'll never find.

This fixes that. Point it at a folder, tell your agent what to remember, and it compiles what you learn into interconnected markdown you own. The pattern comes from Andrej Karpathy's LLM Wiki gist: compile knowledge once and keep it current, instead of asking an LLM the same questions forever or re-running RAG every time.

Your second brain. Your AI agent is how you grow it.

Every skill here is a markdown file that any agent — Claude Code, Cursor, Codex, Windsurf, Gemini CLI, and a dozen more — reads and runs. No runtime, no API keys, no vendor.

60 seconds

pip install obsidian-wiki
obsidian-wiki setup --vault ~/brain

Then open any project in your agent and say "set up my wiki".

Prefer not to touch a terminal? Give your agent this and it'll do the whole thing:

https://github.com/Ar9av/obsidian-wiki — set up my wiki

Other paths — git clone, Skills CLI, multiple vaults → Installation

What you actually do

Feed it. Anything text-shaped: docs, PDFs, chat exports, meeting transcripts, screenshots, URLs.

/wiki-ingest ~/research
/wiki-update                        # distill the repo you're standing in
/wiki-capture                       # save this conversation
/wiki-history-ingest claude         # mine everything you've ever asked Claude

Ask it. Answers come back with [[wikilink]] citations, not vibes.

/wiki-query what do I know about rate limiting?
/wiki-narrate MCP security          # a cited briefing on a topic
/wiki-digest week                   # what did I learn this week?

Find that session you can't name.

obsidian-wiki sessions-build
obsidian-wiki sessions-query "the auth bug with the weird retry loop"

Keep it honest. The vault gets messy on its own; these clean it.

/wiki-lint            # broken links, orphans, contradictions
/wiki-dedup           # "RSC" and "React Server Components" are one page now
/cross-linker         # weave new pages into the graph
/wiki-status          # what's ingested, what's pending, where the hubs are

All 39 skills → Skills Reference

See it

Open the vault in Obsidian and hit the graph view (Cmd/Ctrl+P → "Open graph view"). Say "color my graph" and it tints nodes by tag, category, or visibility.

obsidian-wiki graph view

Or export the whole graph to graph.json, GraphML (Gephi/yEd), Neo4j Cypher, or a self-contained interactive graph.html.

Why this and not a notes folder

  • It compiles, it doesn't accumulate. New knowledge merges into existing pages. Contradictions get flagged. Nothing gets duplicated.
  • It only reads what changed. A manifest tracks every source ingested, so the second run processes the delta — not your whole library again.
  • You can tell knowledge from guessing. Every claim is tagged extracted, ^[inferred], or ^[ambiguous], and lint flags pages drifting into speculation.
  • Queries stay cheap as it grows. Titles, tags, and summaries get read before page bodies. 20 pages or 2000, roughly the same cost.
  • It's yours. Plain markdown in a folder. Push it to a private repo, open it in Obsidian, grep it, delete it. No service, no lock-in, nothing leaves your machine.
  • Works where you already work. One .skills/ directory, symlinked into every agent you use.

More → Architecture

Documentation

Installation pip, clone, agent-driven setup, multiple vaults
Skills Reference All 39 skills and their slash commands
Agent Compatibility The full matrix + per-agent manual setup
CLI Reference Every obsidian-wiki subcommand
Configuration Config vars, QMD semantic search, _raw/ staging, GitHub sync
Architecture The four ingest stages, vault structure, what we added to Karpathy's pattern
Session Brain Topic graph over your agent session history
Contributing Adding skills, keeping the READMEs in sync

Contributing

This is early. The skills work, but there's room to make the brain smarter — better cross-referencing, sharper deduplication, bigger vaults, new ingest sources. If you have a workflow that could be a skill, PRs are welcome.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

obsidian_wiki-2026.8.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

obsidian_wiki-2026.8-py3-none-any.whl (435.7 kB view details)

Uploaded Python 3

File details

Details for the file obsidian_wiki-2026.8.tar.gz.

File metadata

  • Download URL: obsidian_wiki-2026.8.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for obsidian_wiki-2026.8.tar.gz
Algorithm Hash digest
SHA256 50ac3b37bdad5dba6caf897d237de81efe4b603ed4dab65d13e2ac9ed772b4a6
MD5 e1022472b9ff97ccc025c510c5a0015c
BLAKE2b-256 a669b3b16fa5dcafa9d136fb7cb11b2ac94e3ddacfe9ca8c195b2819d31f851f

See more details on using hashes here.

Provenance

The following attestation bundles were made for obsidian_wiki-2026.8.tar.gz:

Publisher: publish.yml on Ar9av/obsidian-wiki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file obsidian_wiki-2026.8-py3-none-any.whl.

File metadata

  • Download URL: obsidian_wiki-2026.8-py3-none-any.whl
  • Upload date:
  • Size: 435.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for obsidian_wiki-2026.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4599467d06e68acfc97baeda6973af268450ed6d482233bd51d2f7e9a2697435
MD5 141f62c7b8440ec7427839647dec1086
BLAKE2b-256 01a5de6a7cc1bbf6d3c931c2a0d0fd2ebfe1a37759ff44168172cd6a10951e3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for obsidian_wiki-2026.8-py3-none-any.whl:

Publisher: publish.yml on Ar9av/obsidian-wiki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page