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

riverriver307 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
5 months ago
Created
5 months ago
Updates
4 releases
Downloads
307
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

Nexus AI Chat Importer

Import AI chats from ChatGPT, Claude, Mistral Vibe, Perplexity, and Grok into Obsidian as clean Markdown notes.

Epub Importer

Import EPUB files as Markdown.

ima.copilot Sync

Sync ima notes & knowledge-base to Obsidian

Supernote (Unofficial)

Sync and view Supernote notes and Atelier drawings 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.

YAOS

Simple real-time sync powered by your own Cloudflare Worker.

Consistent Attachments and Links

Move note attachments and update links automatically.

YTranscript

Easily fetch transcription for any YouTube video.

Custom Attachment Location

Customize attachment location with variables($filename, $data, etc) like Typora.