* docs: add user-facing documentation (closes #2253) - 13 docs covering all major features: getting started, chat interface, LLM providers, models/parameters, context/mentions, custom commands, vault search/indexing, agent mode/tools, projects, system prompts, Copilot Plus/self-host, troubleshooting/FAQ, and index - Written for non-technical Obsidian users - Each doc is standalone with cross-references to related docs - All values verified against source code (defaults, model names, etc.) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: improve user docs with website reference material - getting-started: add glossary (LLM, API, Token, Context Window, Embeddings, RAG, Vector Store) and API key billing note - chat-interface: add user/AI message buttons (edit, copy, delete, insert/replace at cursor, regenerate), [[Note Title]] inline reference syntax, Relevant Notes feature, manual Save Chat button, and auto-compact user experience note - context-and-mentions: add PDF context (+ Add context button) and image context (drag/drop or image button) methods - custom-commands: fix placeholder syntax ({} not {selected text}), add {FolderPath} variable, note tags must be in note properties, add richer example prompts - llm-providers: add LM Studio CORS requirement, 3rd-party CORS warning - vault-search-and-indexing: add cost estimation tip (Count total tokens command), RangeError/partitioning note, tag property note - agent-mode-and-tools: add Revert option, note @composer works in both Plus and Projects modes - projects: add 50+ file type support detail - copilot-plus-and-self-host: add dashboard URL - troubleshooting-and-faq: add first-steps section, RangeError fix, response cut-off fix, notes-not-found checklist, note referencing FAQ, English response FAQ, image/PDF FAQ, privacy note Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore: remove UI_RENDERING_PERFORMANCE.md from docs (already in designdocs) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: add doc maintenance rule to CLAUDE.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: fix custom command variable syntax and project deletion claim Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: clarify 16 built-in providers + unlimited OpenAI-compatible models Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: fix semantic search default and partitioning claims Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: fix self-host status and remaining partitioning claim Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: fix self-host setup steps, tool count, and memory tool availability Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
6.3 KiB
Getting Started with Copilot for Obsidian
Copilot for Obsidian is an AI-powered plugin that brings large language models (LLMs) directly into your note-taking workflow. You can chat with AI, ask questions about your vault, run custom commands, search the web, and even have the AI edit your notes — all without leaving Obsidian.
What Can Copilot Do?
- Chat: Have a conversation with an AI assistant
- Vault Q&A: Ask questions and get answers grounded in your own notes
- Note editing: Ask the AI to write or update your notes for you
- Semantic search: Find notes by meaning, not just keywords
- Custom commands: Run AI-powered prompts on selected text
- Web search: Fetch and summarize information from the internet
- Memory: Have the AI remember facts about you across conversations
Copilot supports 16+ AI providers including OpenAI, Anthropic, Google Gemini, Ollama (local), and more.
Installation
- Open Obsidian Settings → Community plugins
- Turn off Safe mode if prompted
- Click Browse and search for Copilot
- Click Install, then Enable
Copilot is now installed. A robot icon will appear in the left sidebar ribbon.
First-Time Setup
Step 1: Open Plugin Settings
Go to Settings → Copilot (scroll down to the Community Plugins section).
Step 2: Add an API Key
On the Basic tab, click Set Keys to open the API key dialog. Enter the key for your chosen provider:
| Provider | Where to get a key |
|---|---|
| OpenRouter (default) | https://openrouter.ai/keys |
| OpenAI | https://platform.openai.com/api-keys |
| Anthropic | https://console.anthropic.com/settings/keys |
| Google Gemini | https://makersuite.google.com/app/apikey |
The default model is OpenRouter Gemini 2.5 Flash, which requires an OpenRouter API key. If you'd prefer a different provider, set up that key first, then change the default model.
Step 3: Choose a Default Model
Still on the Basic tab, use the Default Chat Model dropdown to select the model you want to use. Any model whose provider has an API key configured will be available.
Step 4: Choose a Chat Mode
Use the Default Mode dropdown to set which mode opens by default:
- Chat — General conversation, good for most tasks
- Vault QA — Ask questions answered from your notes
- Copilot Plus — Advanced mode with autonomous agent and tools (requires Copilot Plus license)
- Projects — Focused workspaces (alpha feature)
Most users should start with Chat mode.
Opening the Chat Panel
You can open Copilot in several ways:
- Click the robot icon in the left ribbon (sidebar)
- Use the command palette:
Ctrl/Cmd+P→ Open Copilot Chat Window - Use the hotkey
Ctrl/Cmd+P→ Toggle Copilot Chat Window to show/hide it
Sidebar vs. Editor Tab
By default, Copilot opens as a view (sidebar panel). You can change this in Settings → Copilot → Basic → Open chat in:
- View — Opens in the sidebar, stays visible as you work
- Editor — Opens as an editor tab, giving it more screen space
Your First Conversation
- Open the chat panel
- Type your message in the input box at the bottom
- Press Enter (or Shift+Enter if you changed the send shortcut) to send
- Watch the AI's response stream in real time
- Continue the conversation naturally
The AI will automatically include your currently open note as context, so you can say things like "summarize this note" or "what are the action items in this note?"
Keyboard Shortcuts
These are the default shortcuts. You can customize them in Obsidian Settings → Hotkeys → search for "Copilot".
| Action | Default Shortcut |
|---|---|
| Open Copilot Chat Window | (unbound — assign in Hotkeys) |
| Toggle Copilot Chat Window | (unbound — assign in Hotkeys) |
| New Copilot Chat | (unbound — assign in Hotkeys) |
| Quick Ask (floating input) | (unbound — assign in Hotkeys) |
| Trigger Quick Command | (unbound — assign in Hotkeys) |
| Add selection to chat context | (unbound — assign in Hotkeys) |
Send Shortcut
By default, Enter sends a message and Shift+Enter adds a new line. You can swap this in Settings → Copilot → Basic → Default Send Shortcut.
Glossary
LLM (Large Language Model) The AI "brain" behind Copilot — a model trained on vast text to understand and generate human language, powering chat, summarization, and writing assistance.
API (Application Programming Interface) A way for Copilot to communicate with external AI services. You provide an API key, which is like a password that lets Copilot use a provider's AI models on your behalf. Note: an OpenAI API key is different from a ChatGPT Plus subscription — you don't need ChatGPT Plus to use Copilot.
API Key A secret token from an AI provider that authorizes Copilot to make requests. Most providers require you to have a billing account with a positive balance.
Token A small unit of text (roughly ¾ of a word) that AI models process. Tokens measure how much text the AI can handle at once and relate to usage costs.
Context Window The amount of text the AI can consider at one time when generating a response. A larger context window means the AI can use more of your notes or conversation history.
Embeddings A method of converting text into numbers that capture meaning. Embeddings let the AI find notes that are conceptually related, even if they don't share exact words.
RAG (Retrieval-Augmented Generation) A technique that enhances AI responses by first searching for relevant notes, then generating an answer based on both your query and the retrieved content. This is how Vault QA works.
Vector Store / Index A database that stores your notes as mathematical vectors (embeddings) so they can be searched by meaning. Think of it as a smart index that understands the context of your notes, not just their keywords.
Next Steps
- Chat Interface — Learn about modes, history, and settings
- LLM Providers — Set up your preferred AI provider
- Context and Mentions — Control what context the AI sees
- Vault Search and Indexing — Set up semantic search over your notes