netcodex export
Export conversations: one folder per conversation plus an index.md.
Usage
Options
--sourceTEXTDefault: autoTool(s): auto, all, or a comma-separated list (see
netcodex sources).--allFlagExport every available source (same as --source all).
--sinceTEXTOnly sessions active since a date (2026-06-01) or age (7d, 12h, 2w).
--untilTEXTOnly sessions last active before this date or age.
--workspaceTEXTOnly sessions whose workspace path contains this text.
--threadTEXTConversation/session ID to export.
--formatsTEXTDefault: mdComma-separated formats: md, html, pdf, qd.
--outPATHOutput directory (default: ./exports, or
netcodex config set output_dir ...).--limitINTEGER (x>=0)Default: 0Latest sessions per source to export (0 = all).
--include-paths/--no-include-pathsFlagDefault: --no-include-pathsInclude full local source paths in metadata.
--viewTEXTreadable (short story, full messages and each tool in one sentence; no AI) or original (everything: commands, outputs, variables).
--templateTEXTTemplate: chat, transcript, report, book, minimal... (see
netcodex templates).--langTEXTLanguage of the help and of the exports: es or en.
--jsonFlagPrint machine-readable JSON.
--localFlagConfirm this export stays in the local runtime.
--include-reasoning/--no-reasoningFlagInclude the assistant's reasoning (a short collapsible note in the readable view).
--include-tool-output/--no-tool-outputFlagDefault: --include-tool-outputOriginal view: include tool results under each tool call.
--include-system-context/--no-system-contextFlagDefault: --no-system-contextOriginal view: include injected environment/instructions/hook context (hidden by default).
--include-subagents/--no-subagentsFlagDefault: --include-subagentsAppend subagent transcripts to their parent.
--max-tool-output-linesINTEGER (x>=0)Default: 200Truncate each tool output after N lines (0 = no limit).
--max-tool-output-bytesINTEGER (x>=0)Default: 32000Truncate each tool input/output after N bytes (0 = no limit).
--jobsINTEGER (x>=0)Default: 0Worker processes for large exports (0 = auto, 1 = none).
--incremental/--no-incrementalFlagDefault: --incrementalSkip sessions unchanged since the last export into --out (state in .netcodex-state.json).
--forceFlagRe-export every selected session.
Examples
Export Codex chats as readable Markdown, HTML and PDF.
Everything from the last 7 days with the Report template.
Full technical detail (every command and output) into ./exports.