codex-session-manager

codex-session-manager is a skill for Claude Code, Codex from sugarforever/01coder-agent-skills. It costs 104 tokens per session (1,140 once invoked), scanned A, original, MIT.

A manager for local Codex session transcripts, which are saved records of conversations and tool calls. It can find sessions, export them to organized Markdown files, inspect archives, and summarize activity.

In plain words
What is it for?
Use it to list matching sessions, export all or selected sessions, inspect archived sessions, and review conversation and tool-call history.
Why use it?
It removes the need to search and interpret raw JSONL transcript files by hand. It also provides a way to recover or organize past sessions.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: reads ~/.codex paths; mentions Codex.

Part of the 01coder-skills plugin — 23 skills shipped together

Good fit Use it to list matching sessions, export all or selected sessions, inspect archived sessions, and review conversation and tool-call history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sugarforever/01coder-agent-skills/codex-session-manager
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sugarforever/01coder-agent-skills --skill codex-session-manager
Clone the repo
git clone --depth 1 https://github.com/sugarforever/01coder-agent-skills

Made for: Claude Code, Codex.

Or install 01coder-skills, the plugin that ships this one along with the rest of its 23 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex-session-manager

README.md
[![agentmods](https://agentmods.dev/badge/skills/sugarforever/01coder-agent-skills/codex-session-manager/github.svg)](https://agentmods.dev/skills/sugarforever/01coder-agent-skills/codex-session-manager)
Your own site
<a href="https://agentmods.dev/skills/sugarforever/01coder-agent-skills/codex-session-manager"><img src="https://agentmods.dev/badge/skills/sugarforever/01coder-agent-skills/codex-session-manager/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codex-session-manager

Your own site · 80×15
<a href="https://agentmods.dev/skills/sugarforever/01coder-agent-skills/codex-session-manager"><img src="https://agentmods.dev/badge/skills/sugarforever/01coder-agent-skills/codex-session-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,140 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.01140
Opus 5.5 $0.00042 $0.00456
Sonnet 5.5 $0.00021 $0.00228
Haiku 4.5 $0.00010 $0.00114

Measured 2mo ago against content hash 693c9b4e5aff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-session-manager scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/manage_codex_sessions.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/codex-session-manager/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex Session Manager

Overview

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.

Quick Start

Let the user's wording choose the mode when it is clear; otherwise ask them to choose before exporting:

  • Full mode: export all matching sessions. Use this for archive, backup, broad search, or "convert all sessions" requests.
  • Specific mode: list candidate sessions first, ask the user to pick one, then export only that session.

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.

Specific Mode Candidate Flow

Use this flow when the user wants one Codex session, is unsure which session they need, or asks to inspect recent sessions before converting.

  1. Run a candidate list command. Use --limit 20 by default unless the user asks for a different count.

Read the full file on GitHub · 103 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 103 lines · 104 tokens per session scan A 693c9b4e5aff

Subscribe to this mod's changes

codex-session-manager is a skill published in the GitHub repository sugarforever/01coder-agent-skills (139 stars, last pushed 18d ago), licensed MIT. It adds 104 tokens to every session and 1,140 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

codex-session-manager compared with skills from other repositories

codex-session-manager next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-session-managersugarforever/01coder-agent-skillsSkill13918d agoMITA104Claude Code, Codex
orbit-notionnexu-io/open-designSkill106kyesterdayApache-2.0A117Claude Code, Codex
gogopenclaw/openclawSkill394kyesterdayMITA20Claude Code, Codex
boxNousResearch/hermes-agentSkill261kyesterdayMITA14Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k5d agoMITA33Claude Code, Codex
material-organizerOrkas-AI/OrkasSkill9.0kyesterdayMITA3Claude Code, Codex
recipe-save-email-attachmentsgoogleworkspace/cliSkill32k4d agoApache-2.0A20Claude Code, Codex