derek-larson14/obsidian-claude-sidebar
Run Claude Code, Codex, and other agent CLIs in Obsidian
What it solves
It integrates agentic command-line interfaces (CLIs) directly into the Obsidian note-taking app, eliminating the need to switch between a separate terminal window and your notes when using AI coding or system agents.
How it works
The plugin uses xterm.js for terminal emulation and Python's pty module (or pywinpty on Windows) to embed a fully functional pseudo-terminal in the Obsidian sidebar. This allows users to run various agent CLIs—such as Claude Code, Gemini, or GitHub Copilot—directly within the app.
Who it’s for
Knowledge workers and developers who use Obsidian for documentation or project planning and want immediate access to AI agents that can execute commands and interact with their files.
Highlights
- Multi-backend support: Compatible with Claude Code, Codex, Grok Build, OpenCode, Gemini, Kimi Code, GitHub Copilot, Cursor Agent, and Pi.
- Contextual integration: Right-click menus allow users to open agents in specific folders or send file paths and selections directly to the agent.
- Multi-tabbed interface: Supports running multiple agents side-by-side in separate tabs.
- Cross-platform: Works on macOS, Linux, and Windows (including WSL support with path translation).
- YOLO mode: Quick-launch options for agents via right-click menus.
Related
- Project
- Project
- Project
- Project
- Project