Behnam Ebrahimi103 downloadsAsk AI questions about your current Obsidian note or selected text.
AI Q&A, summaries, rewrites, workflows, safe note edits, and image generation inside Obsidian.
AskMate is a desktop-only Obsidian plugin that adds a right-sidebar AI assistant for the note you are reading or editing.
Use it to ask questions, summarize, rewrite, translate, run reusable workflows, generate images, and safely write AI output back into your vault.
| Use case | How AskMate helps |
|---|---|
| Students | Turn lecture notes into summaries, flashcards, study questions, and action items. |
| Researchers | Extract claims, compare ideas, map evidence, and find gaps across note context. |
| Writers | Rewrite rough notes, polish tone, translate drafts, and preserve structure. |
| Product managers | Convert meetings and research notes into decisions, risks, next steps, and briefs. |
| Developers | Explain technical notes, draft documentation, generate diagrams, and review plans. |
| Knowledge workers | Ask targeted questions, organize scattered notes, and safely apply updates back to the vault. |
| Provider | Text support | Image support | API key needed | Notes |
|---|---|---|---|---|
| OpenAI | Yes | Yes, through gpt-image-2 |
Yes | Best fit when you want GPT-5.5 text plus image generation in one provider. |
| Azure OpenAI | Yes | No | Yes | Use an Azure OpenAI /openai/v1 base URL and enter your Azure deployment name as the model. |
| OpenRouter | Yes | No | Yes | Use OpenRouter model IDs and route text requests through an OpenAI-compatible API. |
| Anthropic Claude | Yes | No | Yes | Good for text workflows, critique, summarization, and long-form analysis. |
| Google Gemini | Yes | No | Yes | Good for text workflows with Gemini models through Google's API. |
| Local endpoint | Yes | No | Optional | Works with OpenAI-compatible /chat/completions endpoints such as local or self-hosted models. |
1.11.4 or newer.gpt-image-2.After AskMate is available in Obsidian Community Plugins:
AskMate.main.js
manifest.json
styles.css
YourVault/.obsidian/plugins/askmate/
https://<resource>.openai.azure.com/openai/v1, and enter your Azure deployment name as the model. For local endpoints, set the OpenAI-compatible base URL.Test API.Refresh models, or enter a model ID manually.gpt-image-2.Copy and paste any of these into AskMate:
Summarize this note into action items.
Rewrite this in a clearer tone.
Find gaps or contradictions.
Create a Mermaid diagram from this note.
What are the main claims in this note?
AskMate answers in the sidebar. By default, previous sidebar messages are shown for convenience but are not sent as chat history unless threaded chat is enabled.
Choose an output mode before sending:
Chat: show the answer in the sidebar.New note: create a Markdown result note.Apply: write generated text back into the captured source note after safety checks.Apply mode can preview diffs, preserve or confirm frontmatter changes, replace selected text, append generated output to the captured note when no text was selected, replace a heading section, explicitly replace the full note, or queue a suggested change for later review.
Use the Apply approval mode setting to choose how much confirmation AskMate asks for before text writes:
Auto approve: skips selected-text, append, and heading-section diff previews, but still confirms full-note replacement and keeps hard safety checks.Full: asks with a diff for full-note and heading-section replacements, but skips selected-text and append previews.Manual: asks with a diff before every text Apply write.Use the Image button or start a request with /image or /img.
/image Create a clean editorial illustration that captures the core idea of this note.
AskMate can save generated PNG files, create image result notes, or insert Obsidian image embeds depending on the selected output mode.
AskMate includes workflows for summaries, action plans, simple explanations, question drills, critiques, pros and cons, meeting notes, decision briefs, translation, quote extraction, rewriting, and more.
You can also create custom workflows in settings. Custom workflows can use variables such as:
{{noteTitle}}
{{sourcePath}}
{{contextSource}}
{{selectedText}}
{{currentDate}}
{{currentDateTime}}
{{customInstructions}}
[!IMPORTANT] Privacy-first defaults:
- No telemetry.
- Sends data only when you run a request.
- API keys are stored through Obsidian
SecretStorage.- Prompt inspector is local and does not contact a provider by itself.
AskMate sends data only when you run a request. Depending on your settings and request, that data can include your prompt, selected text, the current note, workflow instructions, opted-in extra context, image prompt planning content, or generated image prompts.
Image generation is sent to OpenAI because AskMate uses gpt-image-2 for images. Text requests are sent to the provider you choose.
The prompt inspector is local. It lets you review the final prompt before sending and does not contact a provider by itself.
Provider API keys are stored through Obsidian SecretStorage. AskMate stores selected secret names, not raw keys. Generated notes, generated images, usage records, and plugin settings are stored locally in your vault or Obsidian plugin data.
Provider requests are subject to the selected provider's API terms and privacy policy.
No. AskMate sends only the context included for the request you run. By default, that means selected text or the current or remembered Markdown note. Extra notes, folders, style guides, glossaries, image metadata, and note history are included only when you enable those context sources.
Yes. Choose the Local/self-hosted provider and set an OpenAI-compatible /chat/completions base URL. Local endpoints can be used for text chat and workflows. Image generation still uses OpenAI gpt-image-2.
Yes. Choose Azure OpenAI, set the v1 base URL such as https://<resource>.openai.azure.com/openai/v1, add an API key secret, and enter your Azure deployment name as the model. Azure OpenAI is text-only in Phase 1. Image generation still uses OpenAI gpt-image-2.
Yes. Choose Azure AI Foundry, set the Azure AI inference endpoint such as https://<resource>.services.ai.azure.com/models, add an API key secret, and enter the model or deployment name used by your Foundry resource. AskMate sends text requests to /models/chat/completions?api-version=2024-05-01-preview. Azure AI Foundry is text-only. Image generation still uses OpenAI gpt-image-2.
Yes. AskMate image generation uses OpenAI gpt-image-2, so it requires an OpenAI API key with access to that image model. Azure OpenAI, Azure AI Foundry, OpenRouter, Anthropic Claude, Gemini, and local providers can be used only for text chat and image prompt planning.
Yes. Apply mode targets the note captured when the request was built, can preview Markdown diffs before writing, replaces selected text exactly when a selection was captured, appends generated output to the captured note when no text was selected, asks for confirmation before explicit full-note replacement, supports frontmatter controls, and can queue suggested changes for review instead of applying them immediately. Apply approval mode controls how often previews appear, but it does not disable captured-file targeting, exact selected-text matching, explicit full-note confirmation, truncated-context confirmation, or frontmatter safeguards.
AskMate's current roadmap and status surfaces focus on making note work safer, clearer, and easier to review:
AskMate remembers the most recent Markdown note because the sidebar can take focus. If the preview points to the wrong note, click back into the intended note or select the exact text, then ask again.
AskMate only applies selected-text output when it can safely find the original selected text. Select the text again and use Apply from the assistant response. If no text was selected when the request was built, default Apply appends generated output to the captured note instead of replacing the note.
Click Refresh models after adding or changing an API key. If the provider does not list the model you need, enter the model ID manually.
gpt-image-2 may require OpenAI API access and organization verification. Check your OpenAI dashboard, then try again.
Install dependencies:
bun install
Run smoke tests:
bun run test
Build:
bun run build
Watch during development:
bun run dev
Release assets are:
main.js
manifest.json
styles.css
CONTRIBUTING.md before opening a pull request.SECURITY.md, not public issues.AskMate is built on the work of these tools, APIs, and communities:
gpt-image-2 image generation.AskMate is released under the MIT License. See LICENSE.