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

Context Prism

StefanStefan36 downloads

Multilingual context routing for AI workflows in Obsidian.

Add to Obsidian
Context Prism screenshot
  • Overview
  • Scorecard
  • Updates3

Context Prism

Multilingual, token-aware context routing for Obsidian and AI assistants.

Prepare compact local context packs so AI tools can inspect fewer notes before they answer.

Context Prism hero

Context Prism turns an Obsidian vault into a local retrieval layer. It ranks notes related to the active file, explains why they were selected, estimates avoided context, and copies a compact Markdown pack that can be pasted into ChatGPT, Claude, Codex, Antigravity, Cursor, or any assistant that benefits from focused context.

Nothing is sent to external services. The index is built locally from Markdown files through the Obsidian plugin API.

Demo

Context Prism demo

Highlights

  • Token-aware context packs for AI-assisted workflows
  • Passive suggestions for the active note
  • Multilingual indexing profiles: multilingual, en, es, fr, de, it, pt
  • Mixed-language vault support through comma-separated language profiles
  • Title, alias, metadata, TF-IDF, and BM25 lexical ranking
  • Explainable candidate reasons and snippets
  • Optional review modal for inserting durable wiki-links
  • Folder include and exclude filters
  • Fast lexical retrieval designed to stay responsive in large vaults
  • No telemetry, network calls, or external AI dependency

Why It Exists

AI assistants often waste context by reading too many notes before discovering which files matter. Context Prism moves that discovery step into the vault:

  1. The active note becomes the query.
  2. Related notes are ranked locally.
  3. The user copies a compact context pack.
  4. The assistant receives focused evidence instead of broad vault dumps.

The result is a more controlled workflow for large vaults, multilingual notes, and AI-assisted knowledge work.

Design Priorities

  • Local-first: note content stays inside the vault.
  • Fast by default: ranking uses lightweight lexical signals instead of remote models or embedding generation.
  • Explainable: every candidate includes visible ranking reasons.
  • Practical for AI: context packs favor useful snippets over broad note dumps.

Ranking Controls

Context Prism combines TF-IDF cosine similarity with BM25-style term scoring. Titles, headings, aliases, metadata, and note bodies are weighted separately so strong structural signals can rank without turning every repeated template phrase into a match. Metadata can also boost candidates through shared area, topics, and tags.

If metadata creates noisy matches in a vault, disable Use metadata ranking or lower Metadata weight in settings.

Usage

After installing and enabling Context Prism:

  1. Open a Markdown note. The active note becomes the retrieval query.
  2. Check the status bar for prepared context candidates.
  3. Run Copy AI context pack for current note from the command palette.
  4. Paste the generated Markdown pack into ChatGPT, Claude, Codex, Cursor, or another assistant before asking for analysis, writing help, or implementation planning.
  5. Ask the assistant to use the provided local candidates first before requesting broader vault context.

For manual linking, run Review link suggestions for current note, select the useful candidates, and insert them under the configured footer heading.

Use settings to adjust the suggestion limit, indexed languages, included or excluded folders, metadata ranking, and metadata weight.

Feedback and Feature Requests

Context Prism is built around practical retrieval quality: the important question is whether it surfaces the notes you would actually give to an AI assistant.

Feedback is especially useful when it covers:

  • notes that should have appeared but did not
  • candidates that looked related but were not useful
  • snippets that were too short, too long, or poorly centered
  • multilingual vault behavior
  • token estimates and whether they help the workflow
  • feature ideas for making context packs easier to use

Open an issue through GitHub Issues. For ranking feedback, prefer small synthetic examples or redacted note excerpts that show the retrieval problem clearly.

Language Support

Context Prism defaults to multilingual, which removes common stopwords across supported language profiles. For more precise ranking, configure Index languages in settings:

en
es
en, es
fr, de, it
multilingual

The current language layer is lexical and Unicode-aware. It is designed for local retrieval, not translation or semantic embedding.

Development

Use Node.js 20.19 or newer. Node.js 22 LTS is recommended.

npm install
npm run dev

Production validation:

npm run typecheck
npm test
npm run build
npm audit

Manual Installation

Copy these files into <vault>/.obsidian/plugins/context-prism/:

  • main.js
  • manifest.json
  • styles.css

Reload Obsidian and enable Context Prism under Community plugins.

Project Docs

  • Architecture
  • AI context routing
  • AI assistant compatibility
  • Testing

Release Checklist

  1. Update manifest.json, package.json, and versions.json.
  2. Run npm run typecheck, npm test, npm run build, and npm audit.
  3. Create a GitHub release with a tag that exactly matches manifest.json.
  4. Attach main.js, manifest.json, and styles.css.

Pushing a matching version tag can run the release workflow and attach those assets automatically.

Privacy

Context Prism reads Markdown files through the local Obsidian API and stores settings in the plugin data file. It does not make network requests, collect analytics, or send note content outside the vault.

License

MIT

99%
HealthExcellent
ReviewPassed
About
Generate token-aware, multilingual context packs from your vault to give AI assistants focused, compact evidence they can consume. Rank and explain notes related to the active file, estimate avoided context, and copy a compact Markdown pack for pasting into any assistant—indexing and processing remain local with no external calls.
AIResearchExport
Details
Current version
0.4.1
Last updated
3 days ago
Created
Last week
Updates
3 releases
Downloads
36
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
StefanStefanstefanimp
GitHubstefanimp
  1. Community
  2. Plugins
  3. AI
  4. Context Prism

Related plugins

Khoj

An AI personal assistant for your digital brain.

Gemini Helper

AI-powered assistant using Google Gemini with File Search RAG capabilities.

Local LLM Helper

Use a local LLM server to augment your notes

Smart Lookup

Semantic search for your vault. Ask in natural language, find notes by meaning when exact words fail, preview matching notes, and turn forgotten ideas into links, context, and next steps.

InfraNodus AI Graph View

Interactive 3D graph view: text analysis, topic modeling, gap detection, and AI.

Smart Context

Instantly copy folder contents or open notes—excluding specified headings—into your clipboard.

Smart Connections

Find related notes and excerpts while writing. Your link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

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.

Zotero Integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.