Vir

by Djordje Marković
5
4
3
2
1
Score: 52/100

Description

An LLM Wiki for Claude Code, in your Obsidian sidebar.

Reviews

No reviews yet.

Stats

0
stars
167
downloads
0
forks
127
days
4
days
4
days
7
total PRs
0
open PRs
0
closed PRs
7
merged PRs
0
total issues
0
open issues
0
closed issues
50
commits

Latest Version

4 days ago

Changelog

Release 0.3.2

README file from

Github

Vir for Obsidian

An LLM Wiki for Claude Code, in your Obsidian sidebar. Surface relevant notes from your distilled session knowledge as you work.

vir distills your Claude Code sessions into an Obsidian vault of patterns, gotchas, decisions, and tools. This plugin brings that knowledge into Obsidian's sidebar — so the right note finds you while you're writing, not three searches later.

Vir's Review tab in the Obsidian sidebar: the active-note card with Approve and Reject, and the queue of flagged notes, beside an open distilled note

What it does

  • Status bar — a live health dot for the vir daemon (healthy / stale / down / CLI-not-found). Click it to open settings.
  • Sidebar pane — a Recent tab that scans your vault for vir-distilled notes — patterns, gotchas, decisions, tools, articles, distilled PDFs/papers, and vir compose topic syntheses — and a Related tab that queries vir for notes relevant to what you're editing. Both surface topic notes alongside the rest, color-coded by category.
  • Commands — Vir: Search vault, Vir: Surface related notes, and Vir: Open settings from the command palette.

Install

From the Community Plugins marketplace: open Settings → Community plugins → Browse, search for Vir, and click Install.

Manual install:

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Copy them into <your-vault>/.obsidian/plugins/vir/.
  3. Reload Obsidian, then enable Vir under Settings → Community plugins.

Setup

This plugin is a thin client over the vir CLI — install and configure it first:

npm install -g @djolex999/vir-cli
vir init          # interactive setup: points vir at your vault, configures the daemon

Then, in the plugin's settings:

  1. Click Detect to resolve the vir binary path. (Detect runs through your login shell, so it finds binaries installed via nvm/asdf — Obsidian's own process PATH usually doesn't include those, which is why a bare vir may not work.)
  2. Click Test connection to confirm the plugin can reach vir doctor.
  3. Adjust poll interval, recent/related counts, and the minimum confidence threshold to taste.

Desktop only. vir is a CLI tool bound to a background daemon, so the plugin doesn't run on mobile.

The three surfaces

Status bar

A colored dot reflects daemon health, polled on an interval (default 30s):

  • 🟢 healthy — daemon running
  • 🟡 stale — daemon up, last poll was a while ago (tooltip shows when)
  • 🔴 down / unreachable — daemon not running
  • ⚪ unknown — the vir CLI couldn't be found (set the path in settings)

Recent tab

Scans the vault directly (no vir call) for notes carrying vir's frontmatter (pattern · gotcha · decision · tool · article · topic · pdf), newest first, with a color-coded badge, project, and relative date. Click to open. Notes vir dedupe moved to archived/ are skipped; notes below the confidence threshold render dimmer unless a human verified them.

In both tabs, a green ✓ marks a note approved in vir review (verified: true).

Runs vir query against the note you're editing (debounced) and lists the most relevant distilled notes — including topic syntheses from vir compose. Results preserve vir's own ranking (it diversifies via MMR — the plugin never re-sorts), filtered by a confidence threshold you control.

Review tab

Lists the notes vir audit flagged, worst first, each with the auditor's verdict and reason. Open a queued note and a card appears on the Related and Review tabs with Approve and Reject buttons. Reject moves the note to .rejected/ and shows an 8-second Undo; after it expires, restore the note with vir review --restore <name> in a terminal. Three commands cover the same flow and can take hotkeys: "Approve current note", "Reject current note" and "Open next note to review".

Needs vir-cli 0.23.0 or newer; on an older binary the tab shows an update message. vir audit itself stays in the terminal.

Edits to a note's body are replaced the next time vir rewrites it; approve records your verdict, not your edits.

License

MIT © Djordje Marković