obsidian-claude-sidebar

作者 derek-larson14已验证

Run Claude Code, Codex, and other agent CLIs in Obsidian

443
Stars
56
Forks
JavaScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/derek-larson14/obsidian-claude-sidebar

快速入门

使用 obsidian-claude-sidebar 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Claude Sidebar

Run Claude Code (and other agent CLIs) in your Obsidian sidebar.

Built by Derek Larson - Pairs with Delegate commands →

Claude Sidebar

Features

  • Auto-launches your agent - Your default CLI starts automatically
  • Multiple tabs - Run multiple agents side by side
  • Embedded - Full terminal with an agent in your Obsidian sidebar
  • Folder & file context menu - Right-click any folder to open your agent in that directory, or a file to send it the path
  • YOLO mode - Launch your agent with YOLO mode via right-click menus
  • Multi-backend - Switch between Claude Code, Codex, Grok Build, OpenCode, Antigravity CLI, Kimi Code, GitHub Copilot, Cursor Agent, and Pi in settings, or via Switch CLI provider… in the command palette

Requirements

Installation

From Community Plugins (recommended)

Visit the plugin listing at community.obsidian.md/plugins/claude-sidebar and click Add to Obsidian. Then in Obsidian, click InstallEnable.

Windows: See Windows Setup below.

Manual Installation (Mac/Linux)

In your vault folder, run:

mkdir -p .obsidian/plugins/claude-sidebar && cd .obsidian/plugins/claude-sidebar && \
  curl -LO https://github.com/derek-larson14/obsidian-claude-sidebar/releases/latest/download/main.js && \
  curl -LO https://github.com/derek-larson14/obsidian-claude-sidebar/releases/latest/download/manifest.json && \
  curl -LO https://github.com/derek-larson14/obsidian-claude-sidebar/releases/latest/download/styles.css

Then in Obsidian: Settings → Community Plugins → Refresh → Enable "Claude Sidebar".

Manual Updating

In your vault folder, run:

cd .obsidian/plugins/claude-sidebar && \
  curl -LO https://github.com/derek-larson14/obsidian-claude-sidebar/releases/latest/download/main.js && \
  curl -LO https://github.com/derek-larson14/obsidian-claude-sidebar/releases/latest/download/manifest.json && \
  curl -LO https://github.com/derek-larson14/obsidian-claude-sidebar/releases/latest/download/styles.css

Then restart Obsidian or disable/re-enable the plugin.

Windows Setup

After installing the plugin (via Community Plugins or manually), add Windows-specific dependencies:

  1. Install Python 3 from python.org
  2. Install pywinpty into the Python the plugin will use:
py -m pip install pywinpty

Use py -m pip (not just pip) to avoid installing into a different Python interpreter than the one the plugin selects. If you see "pywinpty not installed" in the sidebar after installing, the error message will print the exact interpreter path — install pywinpty into that one.

  1. Pick whether to run your agent inside WSL or natively in cmd.exe. Configure in Settings → Claude Sidebar → Shell (Windows only — Linux/macOS always run bash):
OptionSpawnsPath translation
cmd.exe (default)cmd.exenone
wsl.exe (WSL)wsl.exeWindows paths → Linux paths via wslpath

Use wsl.exe when your agent CLI, Node, or git toolchain lives in a WSL distro. Vault paths sent to the agent (file path command, selection context, drag-drop, image paste, wikilink references) are converted to Linux form before reaching the CLI. Translation respects a custom /etc/wsl.conf [automount] root, so paths still resolve if your C:\ mounts at /c/ instead of /mnt/c/.

Usage

https://github.com/user-attachments/assets/de98439a-8a1f-4a8a-9d02-44027d756462

  • Click the bot icon in the left ribbon to open a tab
  • Right-click the bot icon for YOLO mode, folder targeting, or resuming a conversation
  • Right-click any folder for "Open here" or "Open here (YOLO)" - both name your current CLI
  • Use Command Palette (Cmd+P) for all commands:
    • Open terminal / New agent tab / Close agent tab
    • New agent tab (other CLI)… - One-off tab on another CLI, default unchanged
    • Switch default CLI provider… - Change which CLI every new tab uses
    • Toggle Focus: Editor ↔ Agent - Quick switch between editor and agent
    • Run agent from this folder - Start the agent in the active file's directory
    • Resume last conversation - Pick up where you left off (--continue)
    • Send file path to agent / Send selection to agent
  • Press Shift+Enter for multi-line input
  • Set your own hotkeys in Settings → Hotkeys

Platform Support

PlatformStatus
macOS✅ Supported
Linux✅ Supported
Windows✅ Supported

Want to use it on iOS or Android? See Claude Anywhere.

How It Works

  • xterm.js for terminal emulation
  • Python's built-in pty module for pseudo-terminal support (macOS/Linux)
  • pywinpty for Windows PTY support

Development

The PTY scripts (terminal_pty.py for Unix, terminal_win.py for Windows) are embedded as base64 in main.js for Obsidian plugin directory compatibility. To rebuild after modifying:

./build.sh

Contributing

Hit a bug or want to develop a new feature? Point your coding agent at CLAUDE.md in this repo. It will walk you through diagnosis, filing a report, or opening a PR.

License

MIT

常见问题

What is obsidian-claude-sidebar?

obsidian-claude-sidebar is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by derek-larson14. Run Claude Code, Codex, and other agent CLIs in Obsidian. It has 443 GitHub stars.

Is obsidian-claude-sidebar safe to use?

Yes. obsidian-claude-sidebar passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install obsidian-claude-sidebar?

Clone the repository with "git clone https://github.com/derek-larson14/obsidian-claude-sidebar" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is obsidian-claude-sidebar written in?

obsidian-claude-sidebar is primarily written in JavaScript. It is open-source under derek-larson14 on GitHub, so you can review or fork the full source.

Are there alternatives to obsidian-claude-sidebar?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh obsidian-claude-sidebar against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情