What problem does it solve? AI coding sessions in Claude Code and Codex are stored as raw JSONL files with mixed record types, making it hard to get a clean copy of the actual conversation. This Skill locates the current session file and converts it into a structured JSON file of user and assistant messages. ## Core Features & Use Cases - Automatic Tool Detection: Checks the CLAUDECODE environment variable to determine whether the session belongs to Claude Code or Codex. - Session File Discovery: Finds the most recent session JSONL file from ~/.claude/projects or ~/.codex/sessions. - Message Extraction: Parses JSONL records, merges consecutive same-role messages, filters non-message records, and writes a clean {"messages": [...]} JSON output. - Use Case: After a long debugging session, ask the assistant to save the chatlog so you can archive the Q&A, share it with teammates, or feed it into documentation. ## Quick Start Ask the assistant to save the current conversation to a chatlog JSON file.