Elias HiveMind

approvedunreviewed

by elias north

Summarize notes, suggest tags and find unlinked mentions, offline or with a local Ollama model.

★ 1 stars↓ 174 downloadsUpdated 7d agoMIT

Elias HiveMind

Summaries, tag suggestions, link suggestions and a weekly backlog digest for Obsidian, working offline by default and using a local Ollama model when you want one.

New to Obsidian? Read the Beginner Guide — plain-language steps from install to your first Backlog Digest.

Try it in five minutes — free template vault

HiveMind OS is a free 30-note demo vault (a fictional researcher's notes, fully seeded) built to show what the plugin does: unzip it, run the included set-ages.sh, open the folder as a vault, and run the Weekly Digest, Backlog Digest, and Resurface commands on notes that are already aged, linked, and waiting.

Download: HiveMind-OS-Vault-v1.zip (attached to the 1.5.0 release)

  • Plugin id: elias-hivemind
  • Version: 1.7.0
  • Minimum Obsidian version: 1.0.0
  • License: MIT

Contents


Features

Local extractive summarization

Works with no network and no model. The summarizer:

  1. Reduces the note to plain prose. Frontmatter, fenced and inline code, images, embeds, URLs and HTML are removed, and links are replaced by their display text.
  2. Scores each sentence by how often its meaningful words (common stopwords excluded) appear across the note. Scores are normalised by sentence length, and earlier sentences get a small boost.
  3. Keeps the highest-scoring sentences and returns them in their original order.

The same note always produces the same summary.

Summaries with a local model

Sends the note's plain text to a model served by Ollama (or any OpenAI-compatible server) and inserts the reply. If the server can't be reached, the plugin can fall back to the local summarizer. See Offline fallback.

Tag suggestions

Suggests tags either locally or from your model. Local suggestions use the note's most frequent words of four or more letters, and prefer words that appear more than once. The suggestions appear in a checklist, and the tags you keep are merged into the note's frontmatter:

  • Local suggestions are vault-aware: the tagger reads the tags your vault already uses (from the metadata cache — no note content is read) and prefers them over words it would otherwise invent. A word that matches an established tag is suggested in the form your vault writes it, casing included, and a word matching the last part of a nested tag (the compost in garden/compost) suggests the full nested tag. Established tags also rank ahead of new words.
  • Tags are normalised to valid Obsidian tags: lowercase, no leading #, spaces become hyphens, and only letters, digits, _, - and / are kept. Purely numeric tags and tags over 40 characters are dropped.
  • Tags already in the frontmatter are never suggested again or duplicated.
  • The tags: field is written as a YAML list. Other frontmatter fields and the note body are not changed.
  • If the note has no frontmatter, a frontmatter block is created at the top.

Housekeeping sweep

Tagging a messy vault one note at a time does not scale, so the Housekeeping sweep command runs the local tagger over a whole scope at once:

  • You pick the scope first: the whole vault, or any folder (subfolders included). The configuration folder, your ignored folders and the digest note are always excluded.
  • The sweep is a dry run: it scans at most 50 notes (in path order) and shows one review list — each note with the tags it would gain. Notes beyond the cap are counted in the review, never silently skipped.
  • Nothing is written until you confirm. Ticking or unticking notes in the review is the whole decision; applying writes frontmatter tag merges only, via the same merge as the single-note command. Note bodies are never touched, and closing the review changes nothing.

Internal link suggestions

Finds other notes whose title or alias is mentioned in the current note but isn't linked yet, and lets you choose which ones to link. The review list shows each suggestion with its mention count and a snippet of the first mention in context. It skips:

  • the current note itself
  • notes already linked from the current note
  • mentions inside frontmatter, code, existing links and URLs
  • titles shorter than the minimum title length
  • notes in ignored folders

Matching is case-insensitive and whole-word, and in 1.5.0 it also recognises simple plurals (a title and its plural mention find each other either way round) and a full multi-word title written with different separators (Alpha Harvest also matches alpha-harvest or Alpha, Harvest) or without its apostrophes/periods. Nothing fuzzier than that is matched — no substrings, no partial titles, no near-miss words — so a suggestion is never a guess.

Applying wraps each mention in a wikilink where it stands — nothing is appended to the note. Mentions found through an alias are wrapped as [[Note name|alias]]; a mention whose surface differs from the note's title (a plural, a hyphenated form) keeps its own words as the link's display text, so your sentence still reads exactly as you wrote it. Mentions inside frontmatter, code, existing links and URLs are never wrapped, and re-running the command on its own output wraps nothing twice. The Backlog: link command applies links the same way.

Weekly digest

Collects every note created or modified in the last seven days and writes a dated section into a single note, Weekly Digest.md at the root of the vault:

  • Each note in the week gets its own heading — a wikilink to the note — followed by its local summary, most recently modified first.
  • Where a note in the week mentions another note in the same week without linking it, the digest lists that as a suggested link under the note's summary, using the same matching rules as link suggestion. The digest note itself, the configuration folder and ignored folders are excluded, just as they are for link suggestion.
  • The section closes with tag suggestions for the week as a whole: the local tagger run over the week's notes combined, skipping tags those notes already carry.
  • A week with more than 50 changed notes lists the 50 most recently modified and says how many more there were, rather than producing an unreadable note.
  • Running the command again on the same day replaces that day's section instead of adding a duplicate; sections from earlier days are kept.
  • If nothing changed in the last seven days, a notice says so and no digest is written.

The digest is local only. A backend variant would mean one model call per note in the week, so it uses the local summarizer and stays fully offline.

Backlog digest

Saved articles pile up in a clippings folder and are never read. The backlog digest scans the folders you configure (default: Clippings and Inbox, including their subfolders) — or, if you set Backlog tags, any note carrying one of those tags wherever it lives — and writes a Your backlog section into Weekly Digest.md. The section opens with a single Start here pick and says how many items could leave the pile today, so it earns a return visit each week:

  • The Backlog digest command refreshes that section on its own; the weekly digest also includes it as a standing part of each dated section, so the pile is reviewed weekly instead of growing daily.
  • Each clipping gets a short local summary (up to three sentences), suggested tags from the local tagger, an estimated read time, and its age. Nothing is sent anywhere; the scan reads clipping content only when you run a digest command.
  • Clippings are bucketed, and every bucket says why in plain words:
    • Worth reading now — the clipping mentions one of this week's notes without linking it, or shares significant vocabulary with your recent notes; a clipping saved in the last seven days also lands here while it is fresh.
    • Reference — a substantial, self-contained read (400+ words, or dense in distinct content words) that keeps its value, and anything with no stronger signal.
    • Gone stale — untouched since it was saved, older than the Stale after (days) setting (default 30), and with no overlap with your recent work. These are archive candidates.
    • Junk candidates — near-empty (under 25 words of readable text) or a near-duplicate of another clipping, judged by overlap of their significant words.
  • One run digests at most 50 unread clippings, most recently saved first, so a 500-clipping pile stays fast — including on a phone. The rest are counted in the section and picked up by the next run. Clippings in the archive folder, the configuration folder and ignored folders are excluded, and clippings you have marked read are skipped (the scan checks the metadata cache first, so a large already-read pile costs no file reads).
  • From the second run on, the section opens with a one-line progress report — how many clippings left the pile since the last run, or that it grew, or that nothing changed — measured against the previous run's count, which the plugin remembers between runs.
  • Processing is one explicit command per clipping, run while the clipping is open: apply suggested tags (the usual checklist, written to frontmatter), link (the usual unlinked-mention checklist, applied in place — each mention you pick is wrapped in a wikilink where it stands), mark as read (writes a hivemind-read: true frontmatter property; marked clippings drop out of later digests), or archive (moves the clipping into the archive folder, default Archive, creating it if needed and refusing rather than overwriting a same-named note). The digest itself only links to each clipping — opening the link is the tap. The plugin never deletes anything, and never moves or marks a note on its own.
  • Optionally, with Backlog themes via backend switched on, a digest run also asks your configured backend to group the clippings into cross-article themes. It is off by default and best-effort: if the backend is unreachable the local digest is written without themes.

Resurface forgotten notes

The weekly digest covers what was new this week, and the backlog digest covers clippings never read. Resurface covers the third population: notes you read or wrote, then never touched again. Run Resurface forgotten notes and the plugin builds the queue itself — no enrolment, no review system to maintain:

  • A note is a candidate once it has been untouched for at least the Cold threshold (days) (default 90). The digest note itself, the configuration folder, your ignored folders, and anything the backlog digest would count as unread backlog are excluded, so the two features never double-count a note.
  • Candidates are ranked by coldness (how long untouched) × connectedness (how many notes link to it, from the metadata cache) × relevance (tags and vocabulary shared with the notes you edited in the last 30 days). The same vault always produces the same ranking.
  • The review modal shows the top notes (default 5, Resurface queue size) — each with how long it has been untouched and a plain-words line saying why it ranked, composed only from factors that are true of it: untouched 7 months · linked from 6 notes · shares #compost with 3 notes you edited this month. Clauses that are not true are omitted.
  • Per note you can Open it, Snooze it (hidden for 30 days; each later snooze of the same note doubles the interval — 60 days, then 120), or choose Never show. Snoozing and dismissing write only the plugin's own data — no note file is ever changed by them.
  • With Resurface section in weekly digest on (the default), each weekly digest also carries a Worth another look list of the top 3. Switch it off and the digest is exactly what it was before. If nothing has gone cold yet, the modal says so plainly and the digest gains no section.

Related notes & semantic lookup (local embeddings)

Links record what you connected; embeddings find what you meant. Point the plugin at an embedding model on the same local server as the other backend features (Ollama's nomic-embed-text by default; LM Studio, llama.cpp and Jan expose an embeddings endpoint too) and it can rank your notes by meaning instead of by shared words:

  • Build embedding index (local server) embeds every note with text — the digest note, the configuration folder and your ignored folders excluded — and stores the vectors in the plugin's own data.json, on this device only. Rebuilds are incremental: only notes whose text changed are re-embedded, deleted or emptied notes drop out, and switching the Embedding model rebuilds the index, because vectors from different models are not comparable. A long first build saves after every batch, so an interruption keeps what already landed.
  • Related notes for current note (semantic) ranks the rest of the vault against the open note by cosine similarity and shows the top matches, each with its similarity as a percentage, ready to open.
  • Semantic lookup: find notes by meaning embeds a phrase you type and ranks the whole vault against it — the notes about a topic, including the ones that never use the topic's words.

Honest costs: the first index of a large vault takes a while on a local server (a ~5,000-note vault is tens of minutes), and embedding is the heaviest thing the plugin does — on mobile, build the index on desktop and let it sync, or expect a slow, warm phone. With no local server running, all three commands fail plainly and change nothing; every other feature works exactly as before, fully offline.


Privacy

  • Local commands (every command marked local, and Suggest links for current note) make no network requests.
  • Suggest links for current note reads the file list of the whole vault (the names, paths and aliases of your notes) to find mentions of them in the current note. It does this only when you run the command, and nothing it reads is stored or sent anywhere.
  • Weekly digest (local) reads the notes created or modified in the last seven days (their content, to summarize them), only when you run the command. The only thing it writes is the digest note, inside your vault.
  • Backlog digest reads the clippings in your backlog folders or carrying a backlog tag (their content, to summarize and classify them) and the notes you touched in the last seven days (to judge relevance), only when you run a digest command. Tag-based selection reads only the metadata cache's tag list, never file content. It writes only the digest note. The four Backlog: processing commands write or move only the one note you run them on — a tag merge, mentions wrapped in wikilinks in place, a hivemind-read: true frontmatter marker, or a move into your archive folder — and only when you run them.
  • Housekeeping sweep reads the notes in the scope you pick (their content, to compute tag suggestions) only when you run the command and choose that scope, and writes only the frontmatter tag merges you approve in its review — nothing is written by the scan itself. Vault-aware tag suggestions additionally read the metadata cache's tag list for the whole vault, never note content.
  • Resurface forgotten notes reads note modification times, the metadata cache's link map and tag list, and — only when you run the command or a digest — the content of cold notes and of notes touched in the last 30 days, to judge relevance. It makes no network requests. Snoozing or dismissing a note writes only the plugin's own data file; no note is changed.
  • Embedding commands send a note's plain text (first 4,000 characters, frontmatter and code blocks removed) to the embedding endpoint of the Backend URL you configured — the same local server as the other backend commands — only when you run one of the three commands or click Build index in settings. The returned vectors are stored only in the plugin's own data.json, on this device. Nothing is sent anywhere else, and no embedding request is ever made in the background.
  • Backlog themes, only if you switch Backlog themes via backend on, sends the clippings' titles and summaries (not their full text) to the Backend URL you configure — the same local server as the other backend commands. With the setting off, no backlog request is ever made.
  • Backend commands send the note's plain text, with frontmatter and code blocks removed, to the Backend URL you configure. The default is http://127.0.0.1:11434/api/generate, a local Ollama server, so the text doesn't leave your computer unless you change that URL.
  • Opening the settings tab sends one request to the same server for its list of installed models. No note content is included.
  • The plugin doesn't collect or send any usage data.

Requirements

ForYou need
Local commandsObsidian 1.0.0 or newer. Nothing else.
Backend commandsOllama installed and running, with at least one model pulled. Any OpenAI-compatible server also works.
Building from sourceNode.js 24 LTS (what the release workflow uses), plus npm.

Installation

Obsidian loads a plugin from <vault>/.obsidian/plugins/<plugin-id>/. The folder must be named elias-hivemind to match the id in manifest.json, and it must contain:

<vault>/.obsidian/plugins/elias-hivemind/
├── manifest.json
├── main.js
└── styles.css

main.js must sit directly in that folder. styles.css isn't needed for the plugin to load, but without it the suggestion dialog is unstyled. A plugin whose code is only at dist/main.js will show up in Obsidian but fail to load when enabled.

Option 1: Build from source and install manually

npm ci
npm run build

This creates dist/main.js. Then:

  1. Create the folder <vault>/.obsidian/plugins/elias-hivemind/.
  2. Copy manifest.json into it.
  3. Copy dist/main.js into it as main.js.
  4. Copy styles.css into it.
  5. In Obsidian, open Settings → Community plugins, turn on community plugins if they're off, and enable Elias HiveMind. If it isn't listed, use the reload button next to Installed plugins.

Option 2: Use an install script

Both scripts copy main.js directly into the plugin folder.

Node (any OS). This script doesn't build, so run npm run build first:

npm run build
node scripts/install-to-vault.js --vault "/path/to/your/vault"

You can set the OBSIDIAN_VAULT environment variable instead of passing --vault. One of the two is required: without either, the script stops and prints usage. It checks the installed files, confirms your saved settings (data.json) weren't changed, and prints the size and SHA-256 hash of main.js.

Bash (macOS / Linux / Git Bash). This script builds the plugin itself:

./install.sh /path/to/your/vault

This runs npm ci and npm run build, then copies main.js, manifest.json and styles.css into the plugin folder in that vault, creating the folder if needed. Existing files are overwritten, and saved settings (data.json) are kept.

Option 3: From a GitHub release

Every release includes main.js, manifest.json and styles.css as separate downloads, the same three files Obsidian installs from the community directory. From 1.0.2 each file has a build provenance attestation.

  1. From the project's GitHub Releases page, download main.js, manifest.json and styles.css.
  2. Optionally, confirm a file was built from this repository: gh attestation verify main.js --repo elias-hivemind/obsidian-elias-hivemind.
  3. Put the files directly into <vault>/.obsidian/plugins/elias-hivemind/.
  4. Enable the plugin under Settings → Community plugins.

Connecting to Ollama

1. Install Ollama and pull a model

Install Ollama from ollama.com, then pull a model. The plugin's default model is llama3.2:

ollama pull llama3.2

2. Make sure the server is running

The Ollama desktop app starts the server automatically. Otherwise run:

ollama serve

By default Ollama listens on 127.0.0.1:11434. To check it's up:

curl http://127.0.0.1:11434/api/tags

This should return a JSON list of your installed models.

3. Configure the plugin

Open Settings → Elias HiveMind Plugin → Backend:

SettingValue for Ollama
Backend URLhttp://127.0.0.1:11434/api/generate (the default). http://localhost:11434/api/generate also works if localhost resolves to 127.0.0.1 on your machine.
Request formatOllama
ModelChoose from the dropdown. It lists the models Ollama reports as installed. Click Refresh after pulling a new model.
Timeout (ms)60000 by default. Raise it for large models or slow hardware.

The model dropdown treats llama3.2 and llama3.2:latest as the same model, as Ollama does.

4. Test the connection

Open the command palette and run Elias HiveMind Plugin: Test backend connection. It sends a short test sentence to the model and shows the reply, or the error if the request failed. This command always reports the raw result and never falls back.

Using Ollama's OpenAI-compatible endpoint (or another server)

SettingValue
Backend URLe.g. http://127.0.0.1:11434/v1/chat/completions
Request formatOpenAI-compatible

In this mode the model list is read from /v1/models on the same server. The plugin sends no API key or authorization header, so it is meant for local servers that don't require one.

Backend presets

The Backend preset dropdown at the top of the Backend settings fills in the Backend URL and Request format in one click, so you don't have to look up a server's port or endpoint path:

PresetBackend URL filled inRequest format
Ollamahttp://127.0.0.1:11434/api/generateOllama
LM Studiohttp://127.0.0.1:1234/v1/chat/completionsOpenAI-compatible
llama.cpp serverhttp://127.0.0.1:8080/v1/chat/completionsOpenAI-compatible
Janhttp://127.0.0.1:1337/v1/chat/completionsOpenAI-compatible

All four are servers you run on your own machine. Applying a preset changes only those two settings and makes no connection by itself — the model list then refreshes for the new endpoint, as it does when you change the Request format by hand. If your server runs on a different port or path, pick the closest preset and edit the Backend URL afterwards, or just type the URL directly; presets are a shortcut, not a restriction.


Offline fallback

With Fall back to local turned on (the default), backend commands keep working when the model server doesn't:

SituationSummarize current note (backend)Suggest tags for current note (backend)
Server not running / connection refusedLocal summary insertedLocal tag suggestions shown
No response within the timeoutLocal summary insertedLocal tag suggestions shown
HTTP error (e.g. model not found)Local summary insertedLocal tag suggestions shown
Empty reply, or no usable tagsLocal summary insertedLocal tag suggestions shown

Each fallback shows a notice with the reason, for example: backend unavailable (Backend did not respond within 60000 ms.). Summarised locally instead.

With Fall back to local turned off, the same situations show an error notice and leave the note unchanged.

Notes:

  • The timeout only stops the plugin waiting. The request to the server isn't cancelled.
  • The first request after Ollama starts includes the time needed to load the model, which can take much longer than later requests. If that first request times out, raise Timeout (ms) or run it again once the model has loaded.

Commands

All commands appear in the command palette prefixed with Elias HiveMind:.

CommandNetworkWhat it does
Summarize current note (local)NoneInserts a local summary under the summary heading, at the configured insert position.
Summarize current note (backend)Backend URLInserts a model-generated summary. Falls back to local if enabled.
Summarize selection (local)NoneSummarizes the selected text and inserts the heading and summary directly after the selection. Ignores the insert-position setting.
Suggest tags for current note (local)NoneSuggests tags from the note's most frequent words, preferring tags your vault already uses; you pick which to add to frontmatter.
Suggest tags for current note (backend)Backend URLAsks the model for tags; you pick which to add to frontmatter. Falls back to local if enabled.
Suggest links for current noteNoneLists notes mentioned but not linked, each with a context snippet; you pick which mentions to wrap in wikilinks in place.
Housekeeping sweep: suggest tags for a folder or the vaultNoneDry-runs the local tagger over a folder (subfolders included) or the whole vault, at most 50 notes per run; you review every proposed change and approve per note before anything is written. Writes frontmatter tag merges only.
Weekly digest (local)NoneSummarizes the notes created or modified in the last seven days into Weekly Digest.md.
Backlog digestNone¹Digests the unread clippings in your backlog folders (or carrying a backlog tag) into the "Your backlog" section of Weekly Digest.md: summary, tags, read time, age, bucketed by relevance.
Resurface forgotten notesNoneOpens a review of the notes that have gone cold — untouched past the cold threshold, ranked by backlinks and overlap with your last 30 days of notes — to open, snooze or dismiss. The weekly digest carries the top 3 as "Worth another look".
Build embedding index (local server)Backend URLEmbeds every note with text into the on-device index (incremental: only changed notes are re-embedded; a model change rebuilds).
Related notes for current note (semantic)Backend URLRanks the vault against the open note by embedding similarity and shows the top matches with their similarity.
Semantic lookup: find notes by meaningBackend URLEmbeds a phrase you type and ranks the whole vault against it.
Backlog: apply suggested tags to current noteNoneSuggests tags for the open clipping and merges the ones you pick into its frontmatter. Only on a backlog clipping.
Backlog: link current note to the notes it mentionsNoneWraps the unlinked mentions you pick in wikilinks in place in the open clipping. Only on a backlog clipping.
Backlog: mark current note as readNoneWrites hivemind-read: true into the open clipping's frontmatter, so it drops out of later digests. Only on a backlog clipping.
Backlog: archive current noteNoneMoves the open clipping into your archive folder. Refuses rather than overwriting a same-named note. Only on a backlog clipping.
Test backend connectionBackend URLSends a test sentence and shows the reply or the error.

¹ Unless Backlog themes via backend is on, in which case the clippings' titles and summaries are also sent to your Backend URL for the themes pass.


Settings reference

Summarization

SettingDefaultDescription
Summary length3Sentences to keep (1–10). The backend prompt asks the model for the same number.
Summary heading## SummaryMarkdown heading placed above an inserted summary. Leave blank for no heading.
Insert positionTop of noteWhere a note summary is inserted: Top of note, Bottom of note or At cursor.

Backend

SettingDefaultDescription
Backend preset(none)One-click fill of Backend URL + Request format for Ollama, LM Studio, llama.cpp server or Jan — all local servers. Shows the matching preset when the current URL and format match one exactly.
Backend URLhttp://127.0.0.1:11434/api/generateFull endpoint URL that note text is sent to.
Request formatOllamaOllama sends { model, prompt }. OpenAI-compatible sends { model, messages[] }.
Modelllama3.2A dropdown of the models installed on the backend, with a Refresh button. Shows a text field instead if the list can't be loaded.
Fall back to localOnUse the local summarizer and tagger when the backend fails.
Timeout (ms)60000How long to wait for the backend. Invalid or non-positive values reset to the default.

Tags

SettingDefaultDescription
Maximum tags5Upper bound on new tags suggested at once (1–15).

Link suggestion

SettingDefaultDescription
Maximum suggestions20Upper bound on unlinked mentions offered at once (5–100).
Minimum title length4Titles and aliases shorter than this are ignored (2–15).
Ignore folders.trash, templatesComma-separated folder paths excluded from link suggestions. The vault's configuration folder (.obsidian unless you renamed it) is always excluded, whether or not it is listed here.

Backlog

SettingDefaultDescription
Backlog foldersClippings, InboxComma-separated folder paths the backlog digest scans, including subfolders.
Backlog tags(empty)Comma-separated tags — notes carrying any of them count as backlog too, wherever they live. Empty scans folders only.
Stale after (days)30A clipping untouched for this many days (7–180), with no overlap with your recent notes, is listed as gone stale.
Archive folderArchiveFolder the Backlog: archive current note command moves a clipping into. Clippings already inside it are excluded from digests.
Backlog themes via backendOffAlso ask your backend to group each digest's clippings into themes. Best-effort; the digest itself never needs it.

Resurface

SettingDefaultDescription
Cold threshold (days)90A note untouched for at least this many days (7–365) counts as gone cold and can be resurfaced.
Resurface queue size5How many forgotten notes the Resurface forgotten notes command shows at once (1–20).
Resurface section in weekly digestOnEach weekly digest carries a Worth another look list of the three highest-ranked cold notes.

Snooze records and the never-show list are stored in the plugin's own data.json, like the backlog's progress baseline; they have no settings-tab control and never touch a note.

Prompts

The prompts sent to the model are editable in the settings tab, in the Prompts group: Summary prompt and Tag prompt are text areas, and Reset to defaults restores both to the shipped values below. (They are still stored in the plugin's data.json, as before — the settings tab is now the supported way to edit them.) Both support two placeholders: {{n}} (summary length or maximum tags) and {{content}} (the note's plain text).

SettingDefault
Summary prompt (backendPrompt)Summarise the following note in {{n}} concise sentences. Return only the summary, with no preamble. followed by the content
Tag prompt (tagPrompt)Suggest up to {{n}} short topic tags for the following note. Return only a comma-separated list of lowercase tags, with no preamble. followed by the content

Tag replies are split on commas and new lines. Leading list markers (-, *, 1.) are removed before each tag is normalised.

Embeddings

SettingDefaultDescription
Embedding modelnomic-embed-textThe embedding model on your local server. Changing it rebuilds the index on the next build.
Related notes shown5How many matches the related-notes and lookup results show (1–10).
Build index (button)—Runs Build embedding index and reports how many notes were embedded, removed and indexed.

The index itself — one vector per note, plus the model it was built with — is stored in the plugin's own data.json, like the Resurface snooze records; it has no other settings-tab control and never touches a note.


Troubleshooting

SymptomLikely cause and fix
Plugin is listed but fails to enablemain.js isn't directly in the plugin folder, or the folder name doesn't match elias-hivemind. See Installation.
Model setting says Could not list modelsOllama isn't running, or the Backend URL is wrong. Start Ollama, check the URL, then click Refresh.
Model shows (not installed)The configured model isn't installed on the server. Pull it (ollama pull <model>) or choose another.
Backend commands always fall back to localRun Test backend connection to see the actual error.
Backend did not respond within … msThe model is still loading or too slow for the timeout. Raise Timeout (ms).
Backend returned HTTP 404With Ollama this usually means the model name is wrong or the model isn't pulled.
No tags suggested locallyLocal tagging ignores common stopwords, words under four letters and tags already in the frontmatter. A very short note may have nothing left.

Development

npm ci              # install exact dependency versions from package-lock.json
npm run dev         # rebuild on change
npm run build       # build dist/main.js
npm run typecheck   # TypeScript check, no output
npm test            # functional tests against the built dist/main.js
npm run health      # confirm dist/main.js exists and is not empty
npm run clean       # delete dist/
npm run package     # zip main.js + manifest.json + styles.css into build/elias-hivemind-<version>.zip

npm run package needs no extra dependencies. Before writing the zip, it checks that manifest.json, package.json and versions.json all have the same version. After writing, it reads the zip back to verify every file.

Releasing

  1. Set the new version in manifest.json and package.json, and add it to versions.json mapped to the minimum Obsidian version, e.g. "1.0.2": "1.0.0".

  2. Commit, then push a tag that is exactly that version, with no v prefix:

    git tag -a 1.0.2 -m "Elias HiveMind 1.0.2"
    git push origin 1.0.2
    
  3. The Release workflow (.github/workflows/release.yml) runs typecheck, build, tests and packaging, and fails if the tag doesn't match manifest.json. It then creates build provenance attestations for main.js, manifest.json and styles.css, and publishes a GitHub release with those three files and generated release notes. The verified zip is kept as a workflow artifact, not a release asset.

npm test runs test/run-tests.js, which loads the built bundle with a stubbed Obsidian API and exercises every command: local and backend summaries, fallback on refused connections, timeouts and HTTP errors, tag normalisation and frontmatter merging, link suggestions, the weekly digest, the backlog digest and its processing commands, model listing for both request formats, and settings persistence. A pretest script builds dist/main.js first, so npm test works on a fresh clone.

Project layout

PathPurpose
src/main.tsPlugin source: commands, summarizer, tagging, link suggestion, backend client, settings tab
types/obsidian.d.tsMinimal hand-written type declarations for the Obsidian API used by the plugin
rollup.config.jsBundles src/main.ts into a single CommonJS dist/main.js
test/run-tests.jsFunctional test suite
scripts/install-to-vault.jsInstalls the build into a vault
scripts/package.jsBuilds and verifies the release zip
scripts/health.jsBuild artifact check
CHANGELOG.mdRelease history
manifest.jsonObsidian plugin manifest
versions.jsonMaps each plugin version to its minimum Obsidian version
.github/workflows/release.ymlTag-triggered release workflow

License

MIT License

Copyright (c) 2026 Elias HiveMind

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

See LICENSE for the full text.

Part of the Nova Ops shelf

Elias HiveMind is one tool on the Nova Ops shelf — local-first tools, verified working before they are trusted:

  • release-gate — a fail-closed release verifier: seal writes SHA256SUMS plus a hash-chained ledger; verify refuses on tamper, missing files, or stale seals.
  • nova-ops-nim-mcp — an MCP server for NIM video generation, built for MCP clients.

Writing

Nova Ops writes up its builds and what they taught us on dev.to — @eliashivemind: MCP tool costs, fail-closed release engineering, and offline-first tooling, written from the work itself.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.