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

Ollama Prompts

SoulbitsSoulbits6 downloads

Right-click a selection, pick one of your prompt files, run it on a local Ollama model. Amend or replace.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Run one of your own prompt files on the text you have selected in Obsidian, using a local Ollama model. Preview the result, ask for a change, then replace the selection or close the preview.

Prompts are ordinary Markdown notes in a vault folder. There is no chat box, no embedding database, and no cloud account.

Screenshots

Right-click menu, choose a prompt

Right-click menu, choose a prompt

Prompt returns a preview

Prompt returns a preview

Completed

Completed

Prompts are just markdown files

Prompts are just markdown files

Simple settings

Simple settings

Requirements

  • Obsidian desktop (this plugin is desktop-only)
  • Ollama running on your computer
  • At least one model pulled in Ollama (ollama list shows the exact names)

Install

Until the plugin is in the Community plugins directory, install it manually:

  1. In your vault, create .obsidian/plugins/ollama-prompts/.
  2. Copy main.js, manifest.json, and styles.css into that folder. For a GitHub release, download those three files from the release assets.
  3. In Obsidian: Settings → Community plugins → turn on Community plugins if needed, then enable Ollama Prompts.

To build from source:

npm install
npm run build

That writes main.js. Copy main.js, manifest.json, and styles.css into the plugin folder.

Use a separate vault when you are developing the plugin, not your main vault.

Setup

  1. Start Ollama and pull a model, for example ollama pull gemma3.
  2. In Settings → Ollama Prompts:
    • Prompt folder — vault folder that holds your prompt notes. Default: system/prompts.
    • Ollama endpoint — default is http://127.0.0.1:11434/api/generate.
    • Model — the exact name from ollama list. Leave this empty until you set a model you actually have. A typo or a name that is not installed will show Ollama's error, not a generic "is Ollama running?" message.
  3. Put prompt notes in that folder. Two starters are in examples/prompts. Copy them into your prompt folder, or write your own. The note body is the prompt; YAML frontmatter, if present, is ignored.

A settings example file is in data.local.json.example. Do not commit your real data.json; it is personal.

Use

  1. Select text in the editor.
  2. Right-click and choose Ollama prompt, then a prompt from the submenu. Or run the command Run a prompt file on the selection and pick a prompt in the fuzzy picker.
  3. A preview opens with the model's rewrite. You can edit it, or type a change request and press Send.
  4. Choose Replace selection or Close.

Privacy

This plugin talks only to the Ollama endpoint you set. The default is a local server at 127.0.0.1. The selected text and the chosen prompt are sent to that endpoint so the model can write a rewrite. Nothing is sent to the plugin author or to any third-party cloud service.

If you change the endpoint to a remote Ollama host, that host will receive the selected text and the prompt.

Development

npm install
npm run dev

npm run dev rebuilds main.js when you change the TypeScript source in src/. Reload the plugin in Obsidian to try the change. npm run lint runs the Obsidian ESLint rules.

License

This plugin is released under the MIT License. Copyright (c) 2026 SoulBits Vibe.

HealthExcellent
ReviewPassed
About
Run your own Markdown prompt files on selected text using a local Ollama model and preview results before applying changes. Manage prompts as ordinary notes in a vault folder, request edits from the preview, then replace the selection or close the preview — no cloud account, chat box, or embedding database required. Work locally on desktop with Ollama running and at least one pulled model.
AIEditing
Details
Current version
1.0.1
Last updated
5 hours ago
Created
8 hours ago
Updates
2 releases
Downloads
6
Compatible with
Obsidian 1.4.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
SoulbitsSoulbitssoulbits-vibe
GitHubsoulbits-vibe
  1. Community
  2. Plugins
  3. AI
  4. Ollama Prompts

Related plugins

Gemini Scribe

Allows you to interact with Gemini and use your notes as context.

WeSight

Run Claude Code, Codex, and OpenCode as local AI collaborators inside your vault.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Smart Connections

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

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

ChatGPT MD

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

Copilot

Run AI agents such as Claude Code, Codex, and OpenCode inside your vault. Turn your second brain into a smart assistant that gets knowledge work done.

Advanced Tables

Improved table navigation, formatting, and manipulation.