Automated summary
Converts a Codex CLI session transcript (JSONL) into a readable markdown file, locating the session by full UUID or a UUID fragment.
Strengths
- Partial UUID matching means you don't need the full identifier
- Lists the 20 most recent sessions when no ID is given
- Summarizes session metadata (cwd, timestamp, model) and message count right after conversion
- Custom output path supported with -o
Limitations
- Relies on an external Python script (codex_session_to_md.py) that must sit in the skill directory
- Only searches the default ~/.codex/sessions/YYYY/MM/DD/ layout, so moved or archived sessions won't be found
- Produces markdown only; beyond a short recap it does no deeper analysis of the conversation
Use it when you want to reread, quote, or archive a past Codex CLI conversation in readable markdown form.
Avoid it if you need deep analysis of a Codex session's performance or want to import transcripts from tools other than Codex CLI.
Security analysis
CautionThe skill is intended for local transcript conversion and does not include exfiltration or destructive behavior. However, it handles sensitive conversation logs, writes them to disk, and grants broad Bash execution through a referenced helper script, so it warrants caution rather than being classified safe.
- •Reads potentially sensitive Codex CLI session transcripts from ~/.codex/sessions/
- •Defaults to writing a markdown copy into the current working directory, which may expose transcript content if committed or shared
- •Declares Bash(*) and executes a local Python helper, so safety depends on the helper script's implementation
- •No explicit network access, credential exfiltration, destructive commands, or obfuscated payloads in the skill instructions
Examples
Convert codex session 019e6829 to markdownList my recent codex sessions so I can pick one to convertTurn codex session 019e6829-4f2b-7de1-b9f7-ee507b5e5e59 into markdown and write it to ./notes/review.mdname: codex-session-to-md description: "Convert a Codex CLI session transcript to Claude-readable markdown. Use when user says 'codex session', 'convert codex', 'codex转md', provides a Codex session UUID, or wants to review a past Codex conversation. Searches ~/.codex/sessions/ by ID fragment." argument-hint: [session-id-or-fragment] allowed-tools: Bash(*), Read, Write
Codex Session to Markdown
Convert a Codex CLI session JSONL transcript to a readable markdown file.
Session ID
User provided: $ARGUMENTS
Steps
-
If no session ID provided, list recent sessions:
python ./codex_session_to_md.py --list -n 20Show the list and ask the user which session to convert.
-
Find and convert the session:
python ./codex_session_to_md.py "$ARGUMENTS"- If multiple matches, show them and ask user to be more specific.
- If no matches, suggest
--listto browse available sessions.
-
Read and summarize the output markdown file. Show:
- Session metadata (cwd, timestamp, model)
- Number of messages
- A brief summary of what the conversation covered (first few user messages)
-
Offer to show the full transcript if the user wants to read it.
Notes
- Session files are stored at
~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl - The UUID in the filename is the session ID
- Partial UUIDs work (e.g.
019e6829matches019e6829-4f2b-7de1-b9f7-ee507b5e5e59) - Output defaults to
./<session-uuid>.mdin the current directory - Use
-o <path>to specify a custom output path
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/codex-session-to-markdown-mrx3xwsw/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/codex-session-to-markdown-mrx3xwsw' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/codex-session-to-markdown-mrx3xwsw/download' --output '.skill-downloads/codex-session-to-markdown-mrx3xwsw/SKILL.md.part' && mv '.skill-downloads/codex-session-to-markdown-mrx3xwsw/SKILL.md.part' '.skill-downloads/codex-session-to-markdown-mrx3xwsw/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash(*), Read, Write
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/codex-session-to-markdown-mrx3xwsw/SKILL.md' && test -s '.skill-downloads/codex-session-to-markdown-mrx3xwsw/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/codex-session-to-md' && cp -R '.skill-downloads/codex-session-to-markdown-mrx3xwsw' '.claude/skills/codex-session-to-md'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/codex-session-to-markdown-mrx3xwsw'openskills read 'codex-session-to-markdown-mrx3xwsw'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/codex-session-to-markdown-mrx3xwsw/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
PDF Reader
Productivity
Read and extract text from PDF files, including documents, reports, contracts, and spreadsheets. Works with local files, URLs, and WhatsApp attachments. Use whenever PDF content is needed, even if not explicitly requested.
Discord Messaging Workflows
Productivity
Use the message tool to send, edit, and moderate Discord messages with interactive components.
Interactive Verdict Preview
Productivity
Generate an interactive HTML preview of keep/drop verdicts for maintainer review, then process the pasted feedback JSON.