Zhuofu Chen26 downloadsChat with Codex beside your notes, attach selections and images, and keep progress separate from final replies.
Chat with Codex beside your Obsidian notes. Attach the current note or selected text, paste images, invoke installed Codex skills, and keep intermediate progress separate from the final answer.
An independent community project, not affiliated with OpenAI or Obsidian. The plugin interface is in English. Codex replies in the language you use.
Cmd/Ctrl+L, or use the attachment button./.app-server interface. Install and sign in using the official Codex instructions.The plugin does not install, update, or authenticate Codex for you.
Install from Settings → Community plugins → Browse by searching for Codex Notes Companion.
To install manually:
main.js, manifest.json, and styles.css from the latest release.<vault>/.obsidian/plugins/codex-companion/.codex; if Obsidian cannot find it, enter its absolute path (which codex on macOS/Linux).Cmd/Ctrl+L.Type a prompt and press Enter to send; Shift+Enter inserts a newline. The square stop button or Escape interrupts a running response. Removing an attachment chip removes it from the next prompt.
Progress messages are identified using Codex's commentary phase. Final answers remain ordinary replies. Older messages without phase metadata are preserved; continuing an existing conversation backfills metadata when the Codex server provides it.
When a response requests an approval or clarification, review the dialog before proceeding. Codex can edit notes and execute commands in the vault in response to your requests. The plugin requests a workspace-write sandbox and on-request approvals; actual sandbox enforcement and approved access depend on Codex and the operating system.
app-server --stdio. Configure only a trusted Codex executable.~/.codex). The plugin reuses that installation and does not ask you to paste an API key into Obsidian. Codex handles authentication and service communication.data.json. Pasted images are stored in its images/ directory. Codex may also retain session history outside the vault according to its own settings. These files may be copied by vault backups or sync tools.Requires Node.js 20 or later.
npm ci
npm run check
npm test
npm run build
src/plugin.js contains the plugin and UI; src/client.js implements the local JSON-RPC client. The build bundles both into main.js, with the Obsidian API external. The release contains only main.js, manifest.json, and styles.css.
Tests simulate protocol events and UI rendering; they do not make paid model calls. A real Obsidian/Codex integration should also be checked before broad deployment. Keep personal data.json, image uploads, environment files, and credentials out of Git.
MIT.