virbird332 downloadsAI chat embedded in your vault — direct API calls and local CLI(only for Desktop), works on Desktop and iPad.
An AI learning assistant embedded directly in your Obsidian vault. It makes direct API calls to LLM providers (Anthropic Claude, OpenAI, OpenAI Compatible) and can also call LLMs via local CLI tools (Claude CLI, Pi CLI, Codex CLI, ACP, OpenCode) — no API key needed for CLI providers.
/guide, /quiz, /confuse, /gap, /predict, /audio, /feynman, /mock/flashcard, /summary, /map, /plan, /review, /checkup, /stats, /mistakes, /buddy/card list, /card edit, /card delete, /card suspend/resume, /card export, /card import, /card help/flashcard 物理 量子力学), review by subject/flashcard cloze <subject> <topic> generates {{c1::...}} fill-in-the-blank cards/card export [json|apkg] exports to CSV (Anki-compatible), JSON (full fidelity), or Anki .apkg; /card import <path> imports from any supported format@filename to include vault files in context@image.png, ![[embeds]], and images in learning material are sent to vision-capable models (max 4 per message, 5 MB each)Search "AI Study Buddy" in Obsidian Community Plugins and install.
main.js, manifest.json, and styles.css from the latest GitHub Release.obsidian/plugins/claudian-api/ inside your vaultclaude), leave the CLI path empty for auto-detection, then click Test CLI to verify. Type any model name the CLI supports in the model field.The header is a single row: + new conversation, 🕘 history, ? help, and a status chip on the right showing the current model · role · material. Click the chip to open the quick settings panel, where provider, model, material and role live. In narrow sidebars the chip collapses to just the role icon.
Click the status chip and pick a role from the panel:
Type / in the input box to see commands. These wrap your query with a study-focused prompt:
/guide quantum mechanics — structured study guide/quiz quantum mechanics — Socratic quiz/confuse quantum mechanics — multi-angle explanation of confusing concepts/gap quantum mechanics — find knowledge gaps/predict quantum mechanics — predict exam focus points/audio quantum mechanics — podcast-style dialogue/feynman — test understanding with the Feynman technique/mock quantum mechanics — practice examThese call AI and save results to your vault:
/flashcard <subject> <topic> — generate flashcard Q&A cards (e.g. /flashcard Physics Quantum Mechanics), organized by subject subfolder/flashcard cloze <subject> <topic> — generate cloze deletion cards with {{c1::...}} syntax/summary — generate a summary of the current conversation/map quantum mechanics — generate a Mermaid knowledge concept map/plan quantum mechanics — generate a phased learning plan (uses chat history + material for personalization)/review — show subject tree of due cards; /review Physics starts reviewing; /review 5 rates current card/checkup quantum mechanics — AI quiz with auto-grading and error notebook logging/stats — show learning statistics dashboard/mistakes — review error notebook entries/buddy quantum mechanics — enter study buddy mode (AI acts as a confused classmate)/card help — show all card management commands with detailed format/card list [subject] — list cards with ID, type, state/card edit <id> q|a <text> — edit a card's question or answer/card delete <id> — permanently remove a card/card suspend <id> / /card resume <id> — pause/resume a card in the review queue/card export [json|apkg] [subject] — export to CSV, JSON, or Anki .apkg/card import <path> — import from CSV, JSON, or .apkg file@filename in the input to include a vault file as context学习笔记/ folder (configurable in Settings) as qa-note-<timestamp>.md, one ## Q/A section per selected replyWhen your provider/model supports vision (e.g. GPT-4o, Claude, Qwen-VL), images are sent automatically:
@screenshot.png — reference an image directly in your message![[diagram.png]] — images embedded in your learning material are included automatically/flashcard English Vocabulary on an image-based material generates cards from the imagesCLI providers call LLMs via local command-line tools instead of HTTP APIs. No API key is needed — authentication is managed by the CLI itself.
| Provider | CLI command | Communication protocol |
|---|---|---|
| Claude CLI | claude |
One-shot spawn + stream-json |
| Pi CLI | pi |
Persistent subprocess + JSONL |
| Codex CLI | codex |
JSON-RPC 2.0 over stdio |
| ACP | acp |
JSON-RPC 2.0 over stdio |
| OpenCode | opencode |
JSON-RPC 2.0 over stdio |
npm install -g @anthropic-ai/claude-code)claude-sonnet-4-20250514)Note: CLI providers are not available on iPad. Use API providers on mobile devices.
npm install
npm run dev # watch mode
npm run build # production build
npm run typecheck
npm test
MIT