SuperAPI AI Directory

L2Cache Session Viewer

L2Cache Session Viewer is a session file viewer that runs locally in the browser. It can open session transcript files from Claude Code, Codex, Copilot, and Grok, supports cross-session search of prompts and tool calls, and audits the "cold resume" cost of rewriting an entire conversation when the prompt cache expires. All parsing is done within the browser tab, no data is uploaded, and it can be used offline.

Open website

About this tool

L2Cache Session Viewer is a session transcript viewing and analysis tool for users of AI coding assistants. It runs as a web page in the browser and can read session files saved on the local machine without uploading them.

Purpose The tool is used to open and inspect session transcripts (in JSONL format) that coding agents such as Claude Code, Codex, Copilot, and Grok save in local hidden directories, helping users review past conversations, locate specific prompts or tool calls, and analyze cache costs when sessions are resumed.

Key capabilities

  • Multi-agent support: can read session files from Claude Code, Codex CLI, Copilot CLI, and Grok Build.
  • Cross-session search: find prompts, file paths, errors, or tool calls across all sessions, with filtering by agent, project, and branch.
  • Cold resume audit: identifies turns where the entire conversation was rewritten into the cache after the prompt cache expired, shows the number of tokens consumed, and can generate a shareable image card containing only numbers.
  • Handoff template: provides a handoff template for new sessions as an alternative to directly reloading a large session.
  • Resume and export: copy the exact claude --resume or codex resume command, or export a cleaned-up conversation transcript.
  • Local privacy: files are parsed by JavaScript within the browser; prompts, code, and tool output are not sent to a server; the page blocks sending data to other sites and can be used offline. Parsed sessions are cached in browser storage and can be cleared manually.

How to use

  1. In the terminal, run open ~/.claude/projects to open the sessions folder (paths differ for other agents: for Codex it is ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl, for Copilot it is ~/.copilot/session-state/<session-id>/events.jsonl, and for Grok it is ~/.grok/sessions/<project>/<session-id>/chat_history.jsonl).
  2. Drag .jsonl files or an entire folder into the viewer page, and the tool will index all sessions it finds.
  3. Select a session to view each turn, filter by prompt, tool, or error, and copy the resume command.

Use cases Suitable for developers who need to review AI coding session history, troubleshoot errors, compare sessions across different projects, assess cache rewrite costs, or start a new session via a handoff.

Limitations The tool only reads local session files and does not provide cloud sync; the cold resume audit relies on the 5-minute or 1-hour expiration mechanism of Claude's prompt cache; the share card contains only numbers, not prompts, code, or project names. The material does not provide pricing information; it only mentions that L2Cache for Mac offers a 15-day free trial, and the relationship of that product to this web tool is not explained in detail.