lhy72336 downloadsManage notes with LLM-powered wiki compilation, Q&A, backfill, and health checks.
KarMind is an Obsidian plugin for building a personal knowledge wiki with an LLM. It follows a "collect, compile, ask, backfill, improve" workflow inspired by Andrej Karpathy's LLM Wiki pattern.
For step-by-step guidance, see the usage guide.
raw/ folder.wiki/.raw/. For web articles, Obsidian Web Clipper is recommended./compile to turn raw material into wiki pages. This can consume many LLM tokens./qa your question./backfill content./health to inspect wiki quality.KarMind keeps source compilation state in wiki/.karmind/source-manifest.json using content hashes. Unchanged raw files are skipped unless you run /compile --force.
| Command | Description |
|---|---|
/compile |
Compile changed raw notes into wiki pages. This can consume many tokens. |
/compile --force |
Recompile all raw notes. |
/qa your question |
Answer using relevant wiki pages. |
/backfill content |
Save analysis or generated content back into the wiki. |
/health |
Check links, orphan pages, gaps, and consistency. |
/skills |
List available skills. |
/skill <id> [args...] |
Run a skill. |
/help |
Show commands. |
/new |
Start a new conversation. |
/clear |
Clear the current conversation. |
KarMind can also suggest workflow actions in chat. Suggested actions require user confirmation before they run.
https://api.openai.com/v1.karmind-api-key.KarMind does not include telemetry, ads, or automatic updates.
KarMind only makes network requests when you run LLM-powered actions or test the LLM connection. Requests are sent to the API base URL you configure. Depending on the command, the request may include:
Your API provider may log or process that data according to its own policy. Do not use KarMind with sensitive notes unless you trust the configured provider.
API keys are stored locally via Obsidian SecretStorage. KarMind stores conversation history and plugin settings in the plugin data for this vault.
KarMind writes only inside your Obsidian vault:
raw/: source material you collect.wiki/: generated wiki pages.wiki/_index.md: generated wiki index.wiki/log.md: append-only workflow log.wiki/.karmind/source-manifest.json: source hash cache.wiki/_reports/health/: health-check reports.npm install
npm run build
For local testing, copy or keep this repository at:
<Vault>/.obsidian/plugins/obsidian-karmind/
Then enable KarMind in Settings -> Community plugins.
For a GitHub release, attach these files as release assets:
main.jsmanifest.jsonstyles.cssThe release tag must match manifest.json exactly, for example 0.1.2.
Submit this entry to obsidianmd/obsidian-releases:
{
"id": "karmind",
"name": "KarMind",
"author": "Lhy723",
"description": "Manage notes with LLM-powered wiki compilation, Q&A, backfill, and health checks.",
"repo": "Lhy723/obsidian-karmind"
}
motion is used for UI animation.AnimatedList, BlurText, and ShinyText.MIT License. See LICENSE.