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

Lens

Fred OliveiraFred Oliveira86 downloads

Examine a note through thinking lenses — challenge, steelman, or concretize an idea with Claude, in a side panel.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

An Obsidian plugin for thinking about a note through different lenses. Point it at an atomic note (or a text selection) and ask an LLM to Challenge, Steelman, or Concretize the idea. You can also add your own lenses. Results stream into a side panel where you can save a result as its own linked note.

Setup

  1. Install and enable the plugin.
  2. Settings → Lens → Language model: pick a Provider and set its model.
    • Anthropic (Claude) (default): create or select a secret for your API key, stored in Obsidian's secret storage, kept out of your synced settings.
    • OpenAI-compatible: set a base URL, model, and (for hosted services) a key. See Other providers and local models — this is also how you run a model locally with no API key.
  3. Open a note, then open the Lens panel (ribbon icon or command palette → Lens: Open panel).

Use

  • Pick a lens and Apply — the current note (optionally plus one hop of linked notes) is sent to Claude.
  • Save as note saves the result as <Lens> of <Note>.md, linked back to the source and tagged #lens/<lens>.

Other providers and local models

Beyond Anthropic, Lens can talk to any OpenAI-compatible chat API - hosted services like OpenAI, OpenRouter, Groq, or DeepSeek, and local servers like Ollama and LM Studio. Pick OpenAI-compatible as the Provider, then set the Base URL, Model, and (for hosted services) an API key.

Note: These providers return the whole response at once rather than streaming it token-by-token. That's a platform limitation, not a bug: Anthropic can stream directly from Obsidian, but other endpoints are reached through Obsidian's request layer, which doesn't stream.

LM Studio (local, no key)

  1. In LM Studio, download a model and start the local server (Developer → Start Server).
  2. Settings → Lens → Language model:
    • Provider: OpenAI-compatible
    • Base URL: http://localhost:1234/v1
    • API key: leave empty
    • Model: the loaded model's identifier (shown in LM Studio)

No CORS or network setup is needed — Lens reaches local servers through Obsidian's own request layer.

Reasoning models: if a reply comes back empty, the model likely spent the whole token budget thinking before answering. Raise Max response tokens in settings.

Ollama (local, no key)

  1. Install Ollama and pull a model: ollama pull llama3.1.
  2. Settings → Lens → Language model:
    • Provider: OpenAI-compatible
    • Base URL: http://localhost:11434/v1
    • API key: leave empty
    • Model: the name you pulled, e.g. llama3.1

Privacy, local models, and network use

When you apply a lens, Lens sends the active note's content to your configured provider's API. If "Include linked notes" is on (the default), it also sends the text of the notes the active note links to.

  • Requests use your own API key and go directly from your machine to the provider you choose — api.anthropic.com for Anthropic, or the base URL you set for an OpenAI-compatible provider. The plugin has no server and no telemetry; nothing is sent anywhere else.
  • With a local provider (Ollama, LM Studio), your notes never leave your machine.
  • Your key lives in Obsidian's secret storage, kept out of the plugin's data file and your synced settings.
  • See your provider's privacy policy for how it handles data sent to its API — for example, Anthropic's.

Hosted providers charge a small amount per run on your key (cheaper on smaller models); local models are free.

Customizing lenses

Settings → Lens → Perspectives. Each lens has a name, a one-line description, and a prompt. Add lens creates one; the pencil edits and the trash removes. The Shared instructions field is prepended to every lens, so a lens prompt only needs to describe its own angle. Use the restore button to bring back the three defaults. (New or renamed lenses get their command-palette entry after a reload.)

Releasing

Releases are cut by pushing a version tag. A GitHub Actions workflow (.github/workflows/release.yml) then builds the plugin, attaches main.js, manifest.json, and styles.css to the release, and attests their build provenance.

  1. Bump version in both manifest.json and package.json.

  2. Add the new version to versions.json, mapping it to the minimum Obsidian version it requires (e.g. "0.3.0": "1.13.0").

  3. Commit it (chore: release 0.3.0).

  4. Tag with the bare version — no v prefix — and push the tag:

    git tag 0.3.0
    git push origin main 0.3.0
    
  5. The workflow creates the GitHub release with the built assets. Don't create the release by hand — pushing the tag triggers it.

Users can verify a downloaded asset's provenance with, e.g., gh attestation verify main.js --repo fredoliveira/obsidian-lens.

HealthExcellent
ReviewSatisfactory
About
Think through a note or selection with LLM-powered lenses like Challenge, Steelman, or Concretize, and add custom lenses. Stream results into a side panel, save outputs as linked, tagged notes, and run models from Anthropic, OpenAI-compatible hosts, or local servers.
AISidebarWriting
Details
Current version
0.3.0
Last updated
2 months ago
Created
2 months ago
Updates
4 releases
Downloads
86
Compatible with
Obsidian 1.13.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
Fred OliveiraFred Oliveirafred
helloform.com
GitHubfredoliveira
Xf
  1. Community
  2. Plugins
  3. AI
  4. Lens

Related plugins

Longform

Helps you write and edit novels, screenplays, and other long projects.

Text Generator

Generate text content using GPT-3 (OpenAI).

Smart Composer

AI chat with note context, smart writing assistance, and one-click edits for your vault.

HiNote

Add comments to highlighted notes, use AI for thinking, and flashcards for memory.

Local GPT

Local Ollama and OpenAI-like GPT's assistance for maximum privacy and offline access.

ChatGPT MD

A seamless integration of ChatGPT, OpenRouter.ai and local LLMs via Ollama into your notes.

Novel word count

Display a word count, page count, creation date, or other statistics for each file, folder and vault in the File Explorer pane.

Claude Sidebar

Run Claude Code in your sidebar.

BMO Chatbot

Generate and brainstorm ideas while creating your notes using Large Language Models (LLMs) such as OpenAI's "gpt-3.5-turbo" and "gpt-4".

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.