← 返回
未分类 中文

codex-export

Export a Codex CLI or Codex Desktop (App) session to a Markdown transcript. Use when the user asks to export, save, share, or review a past chat, session, or...
将 Codex CLI 或 Codex Desktop(应用)会话导出为 Markdown 格式的对话记录。适用于用户请求导出、保存、分享或回顾历史聊天、会话等场景。
jinghan23 jinghan23 来源
未分类 clawhub v0.1.0 1 版本 99831.4 Key: 无需
★ 0
Stars
📥 592
下载
💾 1
安装
1
版本
#latest

概述

codex-export

Export any Codex session (~/.codex/sessions/*/.jsonl) to a clean Markdown file.

Usage

# List recent sessions (pick by number or copy the ID)
python3 scripts/export.py --list

# Export by session ID
python3 scripts/export.py <session-id> output.md

# Brief mode: user + assistant only, no tool calls
python3 scripts/export.py <session-id> output.md --brief

Notes

  • Works with Codex Desktop (source=vscode) and Codex CLI (source=cli/exec)
  • Session IDs come from ~/.codex/state_5.sqlite or the rollout filename
  • System/developer messages and blocks are filtered automatically
  • Tool call outputs are included by default; use --brief to strip them

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-30 15:47 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,898
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 678 📥 327,580
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,675