Claude Code session

Pi Session Hub

Cross-harness session hub for Pi: browse, search and continue sessions from Claude Code, Codex, OpenCode, Crush and JCode without leaving your chat.

40 stars 3 forksSessions & history Source

Install

From source
git clone https://github.com/Gateton/pi-session-hub.git

From the README

pi-session-hub

One list for every coding-agent session on your machine. Browse, search and continue sessions from Claude Code, Codex, OpenCode, Crush and JCode without leaving Pi.

pi-session-hub adds a cross-harness session browser to Pi:

- See every agent in one list: Pi, Claude Code, Codex, OpenCode, Crush and JCode sessions, each row labelled with its harness, project, model and recency.
- Continue work that started elsewhere: press Enter and the selected session's conversation is loaded into the current chat as a tiered, budgeted context package, so the next thing you type already has it.
- Read without spending tokens: v opens the full recovered transcript in a read-only viewer for free.
- Reopen the original tool when you want to: n runs the session's own resume command, with the exact command and its verification basis shown before anything is launched.
- Stay local and read-only: nothing outside ~/.pi/agent/pi-session-hub/ is ever written, no transcript leaves the machine, and no external session is ever disguised as a Pi session.

Package facts

Public surfaces

Commands: /session-hub, /hub, /session-search, /session-open, /session-handoff, /session-native.

Tools: session_hub_search, session_hub_context.

Shortcut: alt+r.

Skill: session-hub, which tells the agent when to reach for session_hub_search on its own.

Why use it?

Install

Try it without installing:

Quick start

1. Install the package and start Pi in any project.

2. Open the hub:

   Or type /session-hub, or /hub. The hub replaces Pi's UI area rather than floating over the chat. For a true alternate-screen takeover, set Pi's own tuiMode to "fullscreen" in ~/.pi/agent/settings.json.

3. The first run indexes your harnesses. On a machine with 430 sessions this takes about two seconds; later…
Read the full README on GitHub

Details

Language
TypeScript
License
MIT
Last updated
22 September 2026

FAQ

What is Pi Session Hub?

Cross-harness session hub for Pi: browse, search and continue sessions from Claude Code, Codex, OpenCode, Crush and JCode without leaving your chat. It is a session for Claude Code, from Gateton/pi-session-hub on GitHub.

How do I install Pi Session Hub?

Clone Gateton/pi-session-hub from GitHub and follow the setup steps in its README.

Is Pi Session Hub popular?

Gateton/pi-session-hub has 40 GitHub stars and 3 forks. It was last updated on 22 September 2026.

More sessions & history

Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.