From codex-plus
This skill should be used when the user asks to "find codex session", "codex session context", "lookup codex session", "show codex history", "codex session summary", or provides a Codex session UUID. Finds and summarizes OpenAI Codex session files from ~/.codex/sessions/.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codex-plus:codex-sessionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Retrieve context from Codex CLI session history stored at `~/.codex/sessions/`.
Retrieve context from Codex CLI session history stored at ~/.codex/sessions/.
~/.codex/sessions/YYYY/MM/DD/rollout-{timestamp}-{UUID}.jsonl
Each JSONL file contains:
session_meta: id, cwd, model, cli_version, instructions, git infoevent_msg (agent_message): final agent outputevent_msg (agent_reasoning): thinking/reasoning blocksresponse_item: user prompts, function callsturn_context: per-turn metadata (model, effort, sandbox)Determine what the user wants to find:
| Input | Action |
|---|---|
| Partial/full UUID | Direct lookup |
| "recent" / "latest" | Show recent sessions |
| Topic/keyword | Search via grep across sessions |
Use the helper script:
# Find by UUID (partial match supported)
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/codex-session-extract.py <partial-uuid>
# Include reasoning blocks
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/codex-session-extract.py <partial-uuid> --full
# List matches only (no content extraction)
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/codex-session-extract.py <partial-uuid> --list
# Show recent sessions
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/codex-session-extract.py --recent [N]
For keyword-based search (no UUID provided):
grep -rl "keyword" ~/.codex/sessions/ --include="*.jsonl" | head -10
Summarize the extracted context:
After presenting context, offer via AskUserQuestion:
/codex skill with --resume--full flag--recent to browse available sessions--full separatelynpx claudepluginhub jongwony/cc-plugin --plugin codex-plusSearches Claude Code session history using full-text search on summaries, commits, projects, and branches. Use for queries like 'find where I discussed X' or 'search for Y'.
Finds, analyzes, and shares AI coding sessions (Claude Code, Cursor, Codex) using vibe-replay. Generates replay artifacts, session summaries, and attaches context to PRs.
Analyzes Claude Code session history JSONL files to extract insights, summaries, and patterns from conversations. Processes current project or all sessions with bash, jq, and subagents.