hkcanan/katmer-code
Multi-provider AI sidebar for Obsidian — Claude, Gemini, Codex, Antigravity. Per-tab routing, same-tab consult, inline diff, CLAUDE.md auto-mirror, academic research skills.
What it solves
KatmerCode is an Obsidian plugin designed for researchers who need to interact with multiple AI models simultaneously without leaving their writing environment. It eliminates the need to switch between different AI web interfaces or apps by integrating several major AI providers into a single sidebar, allowing users to compare model outputs, edit manuscripts with track changes, and perform specialized academic research tasks.
How it works
The plugin acts as a bridge between Obsidian and various AI provider CLIs (Claude, Gemini, Codex, and Antigravity). It uses a ProviderAdapter interface to normalize different event streams into a unified format for the chat view.
Key technical mechanisms include:
- Per-Tab Routing: Each chat tab can be pinned to a different provider and model.
- Inline Diff Bridge: It translates "Edit" tool events from the AI into CodeMirror state effects to show word-level track changes (red strikethrough/green underline) directly in the editor.
- Academic Skills: These are implemented as slash commands. For Claude, they are native commands; for other providers, the plugin uses prompt injection. These skills query academic databases (like Semantic Scholar and arXiv) via WebFetch or MCP servers to generate HTML reports.
- Same-Tab Consult: A "Consult" button allows a user to get a second opinion from another model in the background, which the active model then synthesizes into the current conversation.
Who it’s for
It is primarily built for academic researchers and writers who use Obsidian for their manuscripts and want to integrate AI-driven peer review, citation verification, and literature searching into their workflow.
Highlights
- Multi-Provider Sidebar: Run Claude, Gemini, Codex, and Antigravity in separate tabs within Obsidian.
- Academic Research Suite: Includes 7 specialized skills such as
/peer-review,/cite-verify,/lit-search, and/research-gapthat produce interactive HTML reports. - Inline Diff Editing: Supports word-level track changes for Claude and Gemini, allowing users to accept or undo AI suggestions.
- Cross-Model Synthesis: The "Consult" feature enables inline second opinions and synthesis without switching tabs.
- Shared Instructions: Automatically mirrors
CLAUDE.mdrules to other provider-specific instruction files. - MCP Support: Integrates with Model Context Protocol servers for faster academic data retrieval.
Related
- Project
- Project
- Project
- Project