Skip to content

Session Actions

When you select a session — either from the search TUI or via aichat menu — an action menu appears with operations you can perform on that session.

These actions operate on the session file without starting a new Claude Code / Codex session:

ActionDescription
Show session file pathPrint the full path to the JSONL session file
Copy session fileCopy the session file to a destination path
Export to text fileExport the session as a readable .txt file
Query this sessionAsk a question about the session content (uses an AI agent to read and summarize)

These actions start or continue a Claude Code or Codex session:

ActionDescription
Resume/trim sessionOpens the resume submenu

When you select Resume/trim session, a submenu appears with these options:

OptionDescription
Resume as-isOpen the session with claude --resume
Clone session and resume cloneCopy the file first, then resume the copy
Trim + resumeTruncate large tool outputs and optionally assistant messages, then resume
Smart trim + resumeUse an AI agent to decide what to trim, then resume
RolloverHand off work to a fresh session with lineage

See the Resume page for details on each strategy.

Select any session in the search TUI (aichat search) and the action menu appears automatically.

The Query this session action lets you ask arbitrary questions about a session. It uses a headless AI agent to read the session file and return a focused answer. The default query is:

Summarize what was accomplished in this session

You can replace this with any question, such as:

  • “What files were modified?”
  • “What was the final decision on the auth approach?”
  • “List all TODO items mentioned”

The Export to text file action converts the JSONL session into a human-readable .txt file. By default, exports go to:

<project>/exported-sessions/<date>-session-<id>.txt

You can specify a custom destination path when prompted.