ChatGPT Sidebar
pendingby Ahmad Hajji
ChatGPT-style vault sidebar assistant with AGENTS.md-aware chat.
ChatGPT Sidebar
ChatGPT Sidebar is an Obsidian desktop plugin that brings a ChatGPT-style assistant into the vault sidebar. It is local-first, scoped to the currently open vault, and designed around Codex CLI rather than a hosted multi-provider setup.
This project is derived from takeshy/obsidian-gemini-helper, with the product surface intentionally narrowed and reworked for a Codex-first Obsidian workflow.
Features
- Vault-scoped chat in an Obsidian sidebar
- Codex CLI as the only supported backend
- Automatic vault-root
AGENTS.mdloading by default - Active-note and vault-file context integration
@file.mdreferences for vault files/model,/fast, and/statuschat commands- Structured thinking/progress display with a clearly separated final answer
- Desktop-only runtime with local CLI execution
Scope and Requirements
- Obsidian desktop
1.10.0or newer - A working local
codexinstallation - A vault where you want the assistant confined to the current workspace
This plugin is intentionally desktop-only and local-first. It does not use a localhost bridge in the active runtime path, and it does not expose the broader Gemini Helper feature surface such as Gemini API, Claude CLI, Drive Sync, RAG, or workflow-first UI.
Install
Manual install from GitHub releases
- Download
main.js,manifest.json, andstyles.cssfrom the latest GitHub release. - Create this folder in your vault:
.obsidian/plugins/chatgpt-sidebar/
- Copy those release files into that folder.
- In Obsidian, open
Settings -> Community plugins. - Reload plugins and enable
ChatGPT Sidebar.
Local development install
npm install
npm run build
Then copy:
main.jsmanifest.jsonstyles.css
into .obsidian/plugins/chatgpt-sidebar/ in a test vault.
Usage
- Open the ChatGPT sidebar from the command palette or ribbon.
- Confirm the plugin can find your
codexexecutable in settings. - Optionally add an
AGENTS.mdfile to the vault root for durable vault instructions. - Start chatting about the current vault.
Useful chat affordances:
@some-note.mdto reference a vault file/model <name>to set the current runtime model/fastto toggle the fast-mode shortcut/statusto show the current Codex runtime state
Attribution
This repository builds on the upstream architecture and earlier work in takeshy/obsidian-gemini-helper. The fork keeps that project’s useful Obsidian plugin foundation while changing the runtime model, branding, and product direction for a vault-scoped Codex assistant.
This project is not affiliated with Obsidian, OpenAI, or the upstream project maintainer.
Development
npm install
npm run build
npm test
Contributing
See CONTRIBUTING.md.
License
MIT. See LICENSE.
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.