Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Smart Linker

lemannruslemannrus50 downloads

Automatically finds and inserts semantically related notes using AI embeddings from Vector Search plugin.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

An Obsidian plugin that automatically finds and inserts semantically related notes using AI-powered embeddings. It reads pre-computed vector embeddings and uses cosine similarity to discover connections between your notes.

Features

  • 🔗 Automatic Related Links — Finds semantically similar notes based on content meaning, not just keywords
  • 📝 Managed Block — Inserts related links in a dedicated block at the end of your note
  • ⚡ Fast Local Search — Uses pre-computed embeddings for instant similarity search
  • 🎯 Deduplication — Automatically removes duplicate suggestions (handles chunked embeddings)
  • ⚙️ Configurable — Adjust number of links, similarity threshold, excluded folders, and display format
  • 🔄 Non-Destructive — Only modifies the managed block, never touches your note content

Prerequisites

This plugin requires Vector Search plugin to generate embeddings for your notes.

Setting up Vector Search

  1. Install Ollama for your platform
  2. Pull the embedding model: ollama pull nomic-embed-text
  3. Install the Vector Search plugin in Obsidian
  4. Let it build the embeddings index for your vault

Once Vector Search has processed your vault, Smart Linker can use those embeddings to find related notes.

Installation

From Community Plugins (Recommended)

  1. Open Obsidian Settings → Community Plugins
  2. Search for "Smart Linker"
  3. Click Install, then Enable

Manual Installation

  1. Download the latest release from GitHub
  2. Extract to your vault's .obsidian/plugins/smart-linker/ folder
  3. Enable the plugin in Obsidian settings

Usage

Update Related Links for Current Note

  1. Open any note in your vault
  2. Run command: Smart Linker: Update related links for current note (via Cmd/Ctrl+P)
  3. The plugin will insert a block at the end of your note:
<!-- auto-related:start -->
## Related
- [[Note A]]
- [[Note B]]
- [[Note C]]
<!-- auto-related:end -->

Reload Embeddings Index

If you've added new notes or regenerated embeddings:

  1. Run command: Smart Linker: Reload embeddings index
  2. Wait for the "Loaded N embeddings" notification

Configuration

Open Settings → Smart Linker to configure:

Setting Description Default
Embeddings JSON path Path to Vector Search embeddings file .obsidian/plugins/vector-search/data.json
Top K results Maximum number of related notes to show 5
Similarity threshold Minimum cosine similarity (0.0-1.0) 0.75
Excluded folders Folders to exclude from results .obsidian, Templates, Daily
Block heading Heading text for the related links section ## Related
Use full path in links Show full path or just note name true
Show similarity score Display similarity score next to links false

JSON Format Support

Smart Linker automatically detects the Vector Search JSON format. It also supports:

  • Array of objects: [{ "path": "...", "embedding": [...] }, ...]
  • Map format: { "path/to/note": [...], ... }

For custom formats, use Manual Mapping mode in settings.

How It Works

  1. Reads Embeddings — Loads pre-computed vector embeddings from Vector Search plugin
  2. Normalizes Vectors — Pre-normalizes all vectors for fast cosine similarity calculation
  3. Finds Similar Notes — Computes similarity between current note and all others
  4. Deduplicates Results — Keeps only the best match per file (handles chunked notes)
  5. Updates Block — Inserts or updates the managed block with wiki-links

Supported Embedding Sources

Currently tested with:

  • Vector Search plugin (recommended)

The parser architecture is modular, so support for other embedding sources can be added.

Performance

  • Handles vaults with 10,000+ notes
  • Embeddings are cached in memory after first load
  • Search is O(N) but fast due to pre-normalized vectors
  • Typical search time: <100ms for 5000 notes

Troubleshooting

"Embeddings file not found"

  • Check the embeddings path in settings
  • Ensure Vector Search has completed indexing

"No embedding found for current note"

  • The note might be new — run Vector Search to index it
  • Check if the note is in an excluded folder

Links are duplicated

  • This was fixed in v0.1.0 — update to latest version

License

MIT License — see LICENSE file.

Credits

  • Uses embeddings from Vector Search by @ashwin271
  • Built for Obsidian

Support

  • 🐛 Report bugs
  • 💡 Request features
  • ⭐ Star on GitHub if you find it useful!
80%
HealthExcellent
ReviewSatisfactory
About
Find and insert semantically related notes using pre-computed vector embeddings and cosine similarity. Insert results into a managed block at the end of the note for fast local lookup, with deduplication and non-destructive updates.
AILinksSearch
Details
Current version
0.1.4
Last updated
5 months ago
Created
5 months ago
Updates
4 releases
Downloads
50
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
lemannruslemannrus
github.com/lemannrus
GitHublemannrus
  1. Community
  2. Plugins
  3. AI
  4. Smart Linker

Related plugins

Smart Connections

AI link discovery copilot. See related notes as you write. Lookup using semantic (vector) search across your vault. Zero-setup local model for embeddings, no API keys, private.

Semantic Notes Vault MCP

Give Claude Desktop and other AI assistants semantic access to your notes through a built-in Model Context Protocol (MCP) server.

Local LLM Helper

Use a local LLM server to augment your notes

Better Search Views

Upgrade global search, backlinks and queries with outliner-like context trees.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Copilot

Your AI Copilot: Chat with Your Second Brain, Learn Faster, Work Smarter.

Claudian

Embeds Claude Code/Codex as an AI collaborator in your vault. Your vault becomes agent's working directory, giving it full agentic capabilities: file read/write, search, bash commands, and multi-step workflows.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.