A simple Obsidian plugin that adds palette commands for launching the current vault in your preferred terminal or cli tooling.
Open in terminal command that opens a new window of your configured terminal at the vault directory.claude, codex, agent, gemini, or opencode respectively.Git: commit and push runs git add . && git commit -m "<default message>" && git push in a newly launched terminal.Git: pull runs git pull in a newly launched terminal.claude from the vault directory.codex.agent.gemini.opencode.git add . && git commit -m "<default message>" && git push.git pull.The plugin adds a settings tab under Community Plugins → Open in Terminal with:
- Terminal application – text field for the current platform's terminal app name (macOS examples: Terminal, iTerm; Windows: cmd.exe, powershell; Linux: gnome-terminal, alacritty). Settings are stored per platform for cross-device sync.
- Enable Claude Code / Codex cli / Cursor cli / Gemini cli / OpenCode – toggles that add the corresponding commands to the palette.
- Git commands:
- Default commit message – used by Git: commit and push (default: update).
- Enable Git: commit and push – adds the Git commit+push command to the palette.
- Enable Git: pull – adds the Git pull command to the palette.
- Use WSL for commands (Windows only) – run terminal and command launches inside WSL.
Commands warn if the terminal application name is empty.
open -a <app>; when running a cli command, the plugin creates a temporary .command script that is cleaned up after launch, avoiding AppleScript permissions.start to launch cmd.exe, powershell, wt.exe, or other shells with the vault directory preselected; cli commands append the respective tool invocation or fall back to cmd.exe /K when necessary.<terminal> -e bash -lc 'cd "$PWD"; …' with tweaks for GNOME Terminal and Konsole.npm installnpm run buildnpm run devCopy the generated manifest.json, main.js, and styles.css (if added) into your vault's .obsidian/plugins/open-in-terminal/ folder to test locally.
vX.Y.Z to trigger the GitHub Actions release pipeline defined in .github/workflows/release.yml.manifest.json, main.js, and optional styles.css, and attaches them (as well as a zip archive) to the GitHub release.$ claude mcp add Obsidian-open-in-Teminal \
-- python -m otcore.mcp_server <graph>