Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Codex Session Archive

riverriver138 downloads

Export local Codex archived sessions to Markdown notes grouped by workspace.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

Codex Session Archive exports local Codex session JSONL files into Markdown notes inside your Obsidian vault.

It is built for Codex Desktop / Codex CLI local logs:

  • ~/.codex/archived_sessions/rollout-*.jsonl
  • optionally ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl
  • ~/.codex/session_index.jsonl for thread titles and update times

Features

  • Exports archived Codex sessions to Markdown.
  • Groups notes by the session workdir/project name.
  • Adds Obsidian frontmatter with session id, project, cwd, source JSONL path, and tags.
  • Extracts data:image/...;base64,... images into a media/ folder next to the Markdown file.
  • Writes image links as ![image](<media/file name.png>) so Obsidian handles spaces in paths.
  • Skips already-exported sessions by codex_session_id unless overwrite is enabled.

Commands

  • Codex Session Archive: Export archived sessions
  • Codex Session Archive: Rebuild archived sessions

Settings

  • Codex home: defaults to ~/.codex.
  • Output folder: defaults to Archive/Codex Sessions and is relative to the current vault.
  • Include active sessions: also scan ~/.codex/sessions.
  • Overwrite existing exports: rewrite previously exported notes.
  • Include tool details: include full tool call arguments and outputs.
  • Include system messages: include system/developer/environment messages.
  • Classic role headings: export with explicit role headings instead of the copy-as-Markdown style.

Desktop only

This plugin is desktop-only because it reads files outside the vault from the local Codex data directory.

Filesystem access

The plugin uses Node.js filesystem access to read Codex logs from the configured Codex home directory. Output paths are constrained to the current vault.

Manual install

  1. Build the plugin:

    npm install
    npm run build
    
  2. Copy manifest.json, main.js, and styles.css into:

    <your-vault>/.obsidian/plugins/codex-session-archive/
    
  3. Reload Obsidian and enable the plugin.

HealthExcellent
ReviewCaution
About
Export local Codex JSONL session logs to Markdown notes in your vault, grouped by workdir/project and enriched with frontmatter (session id, project, cwd, source path, tags). Extract data:image;base64 images to a media/ folder and write image links that handle spaces; skip already-exported sessions unless overwritten. Desktop-only.
ImportAttachments
Details
Current version
0.1.3
Last updated
Last month
Created
Last month
Updates
4 releases
Downloads
138
Compatible with
Obsidian 1.5.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
riverrivernicklennonliu
GitHubnicklennonliu
  1. Community
  2. Plugins
  3. Import
  4. Codex Session Archive

Related plugins

Local Images Plus

A reincarnation of Local Images to download images in Markdown notes to local storage.

Nexus AI Chat Importer

Import AI chat conversations from ChatGPT, Claude, and Mistral Vibe (formerly Le Chat) exports into Obsidian as clean, readable Markdown files.

Epub Importer

Import EPUB files as Markdown.

Send Email into Vault

Send an email and its attachments, get a fully formatted Obsidian note in your vault.

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

Share Note

Instantly share/publish a note, with the full theme and content exactly like you see in Obsidian. Data is shared encrypted by default, and only you and the person you send it to have the key.

Zotero Integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.

Readwise Official

Sync highlights from Readwise to your vault.

Pixel Perfect Image

Pixel perfect 100% image resizing, copy to clipboard, show image in Finder/Explorer, and much more.