Corral banner
x0c x0c

Corral

Development community

Description

Corral: terminal session handoff for Claude Code, Codex, OpenCode, Kimi, Cursor, and Pi.

Installation

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

README

corral

**Languages:** English | [简体中文](README.zh-CN.md)

[![test](https://github.com/x0c/corral/actions/workflows/test.yml/badge.svg)](https://github.com/x0c/corral/actions/workflows/test.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

Corral is a terminal session handoff tool for Claude Code, Codex CLI, OpenCode, Kimi Code CLI, Cursor Agent CLI, and Pi.

`corral` scans your local Claude Code, Codex CLI, OpenCode, Kimi Code CLI, Cursor Agent CLI, and Pi history, shows recent coding sessions in a terminal UI (built with [Textual](https://github.com/Textualize/textual)), and lets you resume the selected session in its native runtime. It can also hand off a session from one runtime to another (e.g. Claude to Codex, or Pi to Claude) by starting a new target session with a structured pointer to the original history.

Keywords: Claude Code session manager, Codex CLI resume, OpenCode session manager, Kimi Code CLI session manager, terminal TUI, AI coding agent workflow, JSONL chat history, cross-runtime handoff.

![Session list with right-pane conversation preview](docs/screenshots/list.png)

Press `Ctrl+F` to search the conversation bodies of every session and jump straight to the matching line:

![Full-text search across session conversations, with matching lines highlighted](docs/screenshots/search.png)

Why Use It

  • Browse recent Claude Code, Codex CLI, OpenCode, Kimi Code CLI, Cursor Agent CLI, and Pi sessions from one terminal screen.
  • Resume with the original runtime using native commands such as claude --resume, codex resume, opencode -s , and kimi -S , and agent --resume.
  • Select a finished session to preview the full conversation in the right pane (live/hosted sessions show embedded terminals instead), or keep up to three active sessions side by side.
  • See which session needs attention without opening it: yellow means the agent is waiting for an answer, green means it is working, and red means a ne