From sugarforever-01coder-agent-skills
Manages local Codex session transcripts: lists candidates, exports full or selected sessions to Markdown, inspects archived sessions, and summarizes tool-call history.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sugarforever-01coder-agent-skills:codex-session-managerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Codex stores session transcripts as JSONL files under `~/.codex/sessions/YYYY/MM/DD/*.jsonl`. Archived sessions may also exist under `~/.codex/archived_sessions/*.jsonl`. Use the bundled manager to list candidates or export sessions into Markdown transcripts with a digest, timeline, message text, and linked tool-call details.
Codex stores session transcripts as JSONL files under ~/.codex/sessions/YYYY/MM/DD/*.jsonl. Archived sessions may also exist under ~/.codex/archived_sessions/*.jsonl. Use the bundled manager to list candidates or export sessions into Markdown transcripts with a digest, timeline, message text, and linked tool-call details.
Default output folder: ~/.codex/session-markdown. Tell the user before exporting there, and mention any custom output folder they requested.
Let the user's wording choose the mode when it is clear; otherwise ask them to choose before exporting:
Run from any directory:
python3 /path/to/codex-session-manager/scripts/manage_codex_sessions.py
Useful options:
--mode full: export all matching sessions. This is the default.--mode specific --list-candidates: print a numbered candidate table and do not export.--mode specific --pick N: export the Nth candidate from the same filtered candidate list.--include-archived: also scan ~/.codex/archived_sessions.--project <text>: only export date/project keys containing this text.--session <text>: only export sessions whose id or filename contains this text.--since YYYY-MM-DD: only export sessions modified on or after this date.--limit N: export the N most recently modified matching sessions.--include-tool-details-inline: embed full tool payloads in the main session Markdown instead of sidecar files.Use this flow when the user wants one Codex session, is unsure which session they need, or asks to inspect recent sessions before converting.
--limit 20 by default unless the user asks for a different count.python3 /path/to/codex-session-manager/scripts/manage_codex_sessions.py \
--mode specific \
--list-candidates \
--limit 20
python3 /path/to/codex-session-manager/scripts/manage_codex_sessions.py \
--mode specific \
--list-candidates \
--since 2026-06-01 \
--include-archived \
--limit 20
--pick N.If the user already gives an exact session id or unique fragment, use --mode specific --session <id-or-fragment> --list-candidates first when there is any ambiguity. Export with --pick 1 only when the candidate list has exactly one match.
The exporter writes:
~/.codex/session-markdown/
├── index.md
└── <date-or-archive-key>/
├── index.md
├── <session-id>.md
└── tool-details/
└── <session-id>.tools.md
Each session Markdown includes:
~/.codex/sessions; add --include-archived when the user asks about archived sessions.~/.codex/session-markdown.--pick..jsonl files.npx claudepluginhub sugarforever/01coder-agent-skillsCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.