LLM Session Launcher
pendingby Oratta
Launch LLM sessions (Claude Code, etc.) in external terminal.
LLM Session Launcher
Launch LLM sessions (Claude Code, etc.) in an external terminal directly from Obsidian.
Features
- One-Click Launch: Start LLM sessions from the ribbon icon or command palette
- Directory Selection: Launch from the current file's directory or specify a custom path
- External Terminal Integration: Opens sessions in Terminal.app (macOS)
- Session Management: Focus existing sessions instead of creating duplicates
Platform Support
macOS only - This plugin uses AppleScript to interact with Terminal.app.
Note: This plugin launches an external terminal application (Terminal.app on macOS) to start LLM sessions. It does not access files outside the vault, but it does interact with external applications.
Installation
From Community Plugins (Recommended)
- Open Obsidian Settings
- Go to Community plugins
- Click "Browse" and search for "LLM Session Launcher"
- Click Install, then Enable
Manual Installation
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Create a folder named
obsidian-llm-sessionin your vault's.obsidian/plugins/directory - Copy the downloaded files into the folder
- Restart Obsidian and enable the plugin in Settings > Community plugins
Usage
- Enable the plugin in Obsidian's Community plugins settings
- Click the terminal icon in the ribbon, or use Command Palette (
Cmd+P) and search for "Launch LLM Session" - Review and edit the working directory in the modal
- Click "Launch Session" to open the external terminal
Settings
| Setting | Description | Default |
|---|---|---|
| Launch Command | Command to execute in the terminal | claude |
| Default Directory | Default working directory | (current file's directory) |
Development
npm install # Install dependencies
npm run dev # Development mode (watch)
npm run build # Production build
Disclaimer
This plugin was created primarily for my personal use. I'm sharing it with the community in case others find it useful for similar workflows.
Please note:
- No warranty: This plugin is provided "as is" without any guarantees
- Limited support: I may not be able to respond to feature requests or bug reports
- Use at your own risk: I cannot take responsibility for any issues that may arise from using this plugin
If this plugin happens to work for your use case, that's great! But please understand that I cannot commit to maintaining it for everyone's needs.
License
MIT
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.