tyraziel

Agent Session Viewer — Design skill for Claude Code

Design community

A pure python solution to view sessions, memory and prompt history in a web ui from claude code cli, codex cli and opencode.

How to install Agent Session Viewer

This entry records only its repository, not the path inside it, so there is no exact command to give. Open tyraziel/agent-session-viewer and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agent Session Viewer does

A pure python solution to view sessions, memory and prompt history in a web ui from claude code cli, codex cli and opencode.

Alternatives in Design

  • Companion — 2,200+ Web & mobile UI for Claude Code & Codex 2.2k ★
  • Clui Cc — A lightweight, transparent desktop overlay for Claude Code on macOS 956 ★
  • Claude Run — A beautiful web UI for browsing Claude Code conversation history 557 ★

README

Agent Session Viewer

A pure Python web UI for browsing sessions, project memories, and prompt history from AI coding agent CLIs. Built with [NiceGUI](https://nicegui.io/).

Supports **Claude Code**, **Codex CLI**, and **OpenCode** out of the box, with a provider abstraction for adding more.

Web UI patterns adopted from [ai-guardian](https://github.com/RedHatProductSecurity/ai-guardian)'s trace viewer.

Features

  • Project Browser — Lists all projects across every enabled provider with session counts, sizes, last-activity times, and provider badges. Auto-refreshes when sessions change on disk.
  • Session Viewer — Turn-by-turn conversation viewer with inline recap (your prompt + the agent's response) and expandable full details showing all tool calls, results, thinking blocks, and system messages.
  • Multi-Provider — Claude Code, Codex CLI, and OpenCode sessions are discovered, parsed, and rendered through a shared provider abstraction; each provider keeps its own storage format, resume commands, and pricing.
  • Prompt History — Browse ~/.claude/history.jsonl with filtering by project and text search. Entries with session IDs link directly to the session viewer.
  • Memory Viewer — Browse Claude project-level memories grouped by type (user, feedback, project, reference) with YAML frontmatter parsing.
  • Activity Indicators — Pulsing colored dot shows session recency: green (<5 min), yellow (5-10 min), orange (10-20 min).
  • Resume Commands — Copy-pasteable per-provider resume command (claude --resume , codex --resume , opencode -s ) on every session, with one-click clipboard copy.
  • Session Titles — Shows AI-generated or user-set session names alongside session IDs.
  • Token & Cost Summary — Per-session and per-turn token breakdowns with cost estimates for known models.
  • Live Updates — Polls for changes and auto-refreshes the view, including during active sessions.

Supported Providers

| Provider | Sessio