← Back to Leaderboard
Obreferrari

breferrari/obsidian-mind

An Obsidian vault with lifecycle hooks for persistent coding-agent memory

View on GitHub ↗
Engineering Health (Methodology)
A · 83/100
Maintenance Activity
● Updated 1mo ago
Latest Release
v10.0.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance26/35
Fork Adoption20/25
Release Cadence17/20
License Clarity20/20
MCPCLILocal AI
Total Stars
★ 5,580
24h Growth
+2
7d Growth
+23
Forks
620

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

breferrari/obsidian-mind Star History (2026-02-27 - 2026-12-04) ALL-TIME STAR HISTORY (2026-02 – 2026-12) +5.6k in 280d · avg +20/day 5.9k 2.9k 0 2026-02-27: ★ 12026-03-21: ★ 32026-04-11: ★ 1,7402026-05-02: ★ 2,0582026-05-23: ★ 2,6132026-06-13: ★ 2,9262026-07-04: ★ 3,2072026-07-25: ★ 3,9232026-08-15: ★ 4,3982026-09-05: ★ 4,5602026-09-26: ★ 4,6352026-10-17: ★ 5,3442026-11-04: ★ 5,4752026-11-21: ★ 5,5452026-12-04: ★ 5,580 ★ 5.6k 2026-02 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Obsidian Mind is a vault template with an agent integration layer, not a standalone model service. Markdown, frontmatter, and wikilinks form the durable, Git-trackable store; brain/ holds long-lived topic notes, and AGENTS.md defines how agents read, file, and link them. Node runs the TypeScript lifecycle scripts directly with --experimental-strip-types. The scripts handle routing, validation, indexing, and context delivery; the agent decides what to write and how to link it.

SessionStart injects goals, active work, recent changes, tasks, and a file listing under a context budget rather than loading the vault wholesale. Later hooks classify prompts, validate Markdown writes, and surface changes in vault hygiene. Optional QMD adds a vault-scoped SQLite index and MCP retrieval tools such as mcp__qmd__query and mcp__qmd__multi_get. Claude Code's mod changes how the same scripts deliver context and reports, standing down the corresponding hooks when it handles their events. The hooks remain the fallback for Codex CLI, Gemini CLI, and Claude Code sessions where the mod does not load.

Key Capabilities & Differentiators

The vault connects daily agent work to records that can be reused later. /om-dump can turn meeting notes into a decision record, project tasks, and linked people notes; /om-wrap-up checks notes and updates indexes. After Markdown writes, the hooks check frontmatter and wikilinks and flag notes that should be split. PreCompact saves a transcript to thinking/session-logs/. Claude Code has the fullest integration; Gemini's report handling runs at session end rather than after each response.

QMD offers three retrieval paths: model-free BM25 with qmd search, vector retrieval with qmd vsearch, and hybrid retrieval with qmd query. The full local stack uses embeddinggemma-300M (~328 MB), qmd-query-expansion-1.7B (~1.28 GB), and Qwen3-Reranker-0.6B (~640 MB). The om server sends both lexical and vector subqueries. It updates the index synchronously on memory writes and generates vectors in the background, so a new entry can be found before its vector is ready. Without QMD, lexical lookup remains available, and the agent can use grep and the Obsidian CLI.

Trade-offs & Limitations

Compared with Claude Code's native memory, a vault of linked notes is easier to browse in Obsidian, version in Git, and reuse across agents. The cost is maintaining filing conventions, links, hook configuration, and agent approvals rather than just an instruction file. A plain Obsidian vault plus QMD can provide the same search layer with less automation; this template earns its keep when context injection, checks after writes, and repeatable capture workflows matter. Search can find a note, but it cannot make an agent's filing or linking decisions correct.

Local QMD removes the need for a retrieval API key or per-query fee, but hybrid search adds model downloads and query-time compute. CPU fallback is available, not a guarantee of responsive hybrid search on every machine. Startup context is deliberately selective, so detailed recall depends on follow-up queries. The Claude Code mod avoids the hook output cap for instruction-file delivery, but it runs unsandboxed with user permissions. Inspect it before trusting the vault, and set retention and sharing rules for saved transcripts and Git-tracked notes; local retrieval alone does not keep agent prompts on-device.

Hardware & Deployment Guide

Use Obsidian 1.12+ with its CLI enabled, Node 22+ LTS with support for direct TypeScript execution (Node 22.6+ on the Node 22 line), Git for version history, and Claude Code, Codex CLI, or Gemini CLI. Run shardmind install github:breferrari/obsidian-mind from a new directory for guided setup, or clone and fill in brain/North Star.md yourself. Open the folder in Obsidian and launch the agent from the vault root. Codex requires folder trust and approval of each hook; Claude Code's mod needs version 2.1.287 or later and a trusted vault.

For semantic search, install @tobilu/qmd and run node --experimental-strip-types .scripts/qmd-bootstrap.ts. Use QMD 2.5.1 or later: QMD 2.1 can spend long enough probing the GPU in qmd status to exceed the five-second SessionStart self-heal limit. The models download on first use and run offline afterward; the agent's inference path is separate. The v10.0.0 quick start recommends ShardMind but retains the clone path. The v9.1.0 release made goal excerpts shrink progressively under tight budgets, while v9.0.1 raised the ShardMind minimum to 0.1.7 after older versions could overwrite edited files during upgrades.

Memory portability: Durable knowledge lives in linked Markdown under brain/; ~/.claude/MEMORY.md points to it rather than storing it.
Lifecycle checks: TypeScript hooks route prompts, validate frontmatter and wikilinks after Markdown writes, and back up transcripts before compaction.
Retrieval tiers: QMD exposes model-free BM25 via search, vector-only retrieval via vsearch, and full hybrid retrieval via query.
Index isolation: The bootstrap, lifecycle hook, and MCP wrapper use the same vault-specific SQLite index selection.
Claude Code integration: On 2.1.287+, the mod delivers startup context as an instruction file that is reread after compaction and /clear.
Upgrade handling: ShardMind adds optional modules and three-way-merge upgrades without becoming a runtime dependency of the vault.
Best For

Engineers or small teams already using Obsidian and a supported coding CLI who want decisions, project context, and work evidence to carry across sessions in a browsable Git-tracked vault.

Skip If

You only need a few remembered preferences, cannot permit repository-provided hooks, or need a centrally managed shared service with access and retention controls built in.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLILocal AI
npm install -g shardmind
mkdir my-vault && cd my-vault
shardmind install github:breferrari/obsidian-mind

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
obsidian-mind ★5.6k+23TypeScriptMITAn Obsidian vault with lifecycle hooks for persistent coding-agent memory
obsidian-skills56.2k+1.7kShellMITAgent Skills plugins for editing Obsidian files and working with vaults
ECC316.1k+4.2kJavaScriptMITPlugins and CLI workflows for planning, reviewing, and verifying agent-written c
ponytail204.4k+4.1kJavaScriptMITA prompt-driven coding-agent plugin for smaller changes and focused tests.

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/breferrari/obsidian-mind.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

breferrari/obsidian-mind Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about obsidian-mind

Where does memory live, and how do I keep two vaults from sharing a QMD index?

The durable memory is in the Markdown topic notes under brain/; Claude Code's ~/.claude/MEMORY.md is a pointer index, not the primary store. The QMD bootstrap, SessionStart hook, and MCP wrapper use the same qmd_index setting from vault-manifest.json, or a slug derived from the vault folder name when the setting is absent. Assign distinct names if vaults on one machine need separate SQLite indexes, and set the name before bootstrapping.

Do I need a GPU, and how much storage or VRAM should I budget?

No. QMD can use CUDA or Metal where available and falls back to CPU. The three listed model downloads total roughly 2.25 GB; that is download size, not a RAM or VRAM requirement. Use qmd doctor to check the active backend. If model downloads or interactive latency are a concern, start with model-free BM25 via qmd search, or skip QMD and use grep plus the Obsidian CLI.

Can we use the template commercially and keep the deployment local?

The template is MIT-licensed, which permits commercial use and internal modification; preserve the copyright and license notice when redistributing copies or substantial portions. The license does not cover separate agent services, Obsidian, QMD's models, or the work data you store. Local indexing does not mean local-only inference: review agent data handling, transcript retention, and Git remotes before putting confidential material in the vault.

When is this preferable to native agent memory or Obsidian plus QMD?

Use native Claude Code memory if you only need a small set of recurring instructions or preferences. Use a plain Obsidian vault with QMD if you mainly need searchable notes and prefer to manage filing yourself. Choose Obsidian Mind when session startup, prompt routing, write checks, and linked records across agents are worth maintaining alongside the notes.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining breferrari/obsidian-mind? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature breferrari/obsidian-mind on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare