junxit

Agentic Session Explorer — AI skill for Claude Code

AI community

Explore, archive, move, and safely delete the chat sessions AI coding agents (Claude Code, Codex, Gemini, Pi, Oh My Pi, and more) leave on your machine — all from one terminal TUI.

How to install Agentic Session Explorer

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

What Agentic Session Explorer does

Explore, archive, move, and safely delete the chat sessions AI coding agents (Claude Code, Codex, Gemini, Pi, Oh My Pi, and more) leave on your machine — all from one terminal TUI.

Alternatives in AI

  • Chat Ollama — ChatOllama is an open source agentic app for running AI agents across local and hosted models 3.5k ★
  • Karpathy — An agentic Machine Learning Engineer 1.4k ★
  • Token Proxy — Local AI API gateway for OpenAI / Gemini / Anthropic 92 ★

README

sx — session explorer for AI coding harnesses

A terminal TUI that gathers the chat sessions every AI coding harness leaves on your machine — **Claude Code**, **Codex**, **Gemini CLI**, **Pi**, **Oh My Pi**, and more — into one browsable, groupable, *deletable* view. Think of it as a terminal-native alternative to Claude Code UI, covering every harness at once.

**Status:** functional. Browsing, search, grouping, moving a project to a new directory, permanent deletion with Markdown export, and orphan cleanup all work across Claude, Codex, Gemini, opencode, Pi, and Oh My Pi.

Why

Each harness scatters sessions in its own format and location: Claude under `~/.claude/projects//`, Codex in a date tree under `~/.codex/sessions/`, Gemini as mutation logs under `~/.gemini/tmp//`, opencode as rows in a shared SQLite database, and Pi and Oh My Pi as branching session trees under `~/.pi/agent/sessions/` and `~/.omp/agent/sessions/`. Over time these pile up alongside orphaned folders pointing at projects you deleted long ago. `sx` reads them all, lets you scroll any transcript, and permanently removes the ones you no longer want.

Features

  • Unified browser — sessions grouped by harness, then by project.
  • Scrollable transcripts — normalized rendering across every harness.
  • Branched sessions — Pi and Oh My Pi keep every retried or edited prompt in the same file. Press t to switch between the current branch (with a count of what the others hold), the current branch followed by every other branch, and the whole tree in the order it was written; the view you pick carries over to the next session you open. e asks which of the three to export, and the export offered before a delete starts on the whole tree.
  • Move a project — relocated a repo? Re-point its sessions at the new directory in every harness at once, or have sx move the directory too. Reversible, unlike deletion, with the exceptions listed under [M