gmaggess2 downloadsChat with Claude or ChatGPT about your current note, folder or vault, and let it draft and edit notes with your approval.
Chat with Claude or ChatGPT about your notes, limited to the current file, folder, or whole vault.
You need your own Anthropic or OpenAI account and API key. Requests use the selected provider's API and may incur charges under that provider's pricing.
data.json inside your vault. Don't sync that file publicly.history.json in the plugin folder, which can be included in vault backups or sync.For a manual installation, download main.js, manifest.json, and styles.css from a GitHub release and copy them into <vault>/.obsidian/plugins/ai-writer-assistant/. Developers can run npm ci && npm run verify to build from source.
Click the chat icon in the left ribbon (or run "Open chat panel"). In the panel choose provider, model, effort and scope. Use Refresh list in settings to load every model your key can access.
Settings support Obsidian 1.7.2 and later. On Obsidian 1.13.0 and later they are also indexed by the built-in settings search.
Keys are stored in the vault's plugin data.json — don't sync it publicly.
Run the test suite without Obsidian (Vitest with a mocked Obsidian API):
npm test — run all tests oncenpm run test:watch — re-run on every savenpm run lint — type-aware TypeScript and Obsidian review checks, with zero warnings allowednpm run verify — lint + typecheck + production build + testsTests cover API payload building (both providers, effort modes, retries), context building (scopes, truncation, active-file priority), history persistence and the natural-language search digest/parsing.
Every chat is saved in the plugin folder (history.json). Click Search history in the chat panel
(or run "Search past conversations"), ask in plain language, and the selected model picks the relevant chats and
summarizes what they said. Click a result to resume that chat. Clear history in settings.