Skip to content

Session Manager

Open the session manager by clicking the session name in the panel toolbar, or via Cortex: Show session history in the Command Palette.

Actions

ActionHow
Resume a sessionClick any row
Save to vaultHover a row → click the download icon → enter export path
RenameClick the pencil icon → edit inline → Enter or click away
DeleteClick the trash icon → confirm
ReorderDrag the ⠿ grip handle up or down
FilterType in the search box at the top

Active Session

The currently open session is marked with an accent-coloured left border and bold title.

Sort Order

Sessions are listed most-recent-first by default. Once you drag any row, that order is saved and persists across restarts. New sessions are always inserted at the top of the list — drag them into position afterwards.

TIP

Drag handles are hidden while the search filter is active — filtering shows a subset, so reordering would produce confusing results.


Token Cost Model

Understanding when tokens are spent helps you use Cortex efficiently.

ActionToken costNotes
Opening the panelFreeNo API call
Switching sessions in HistoryFreeLocal disk read only
Browsing session historyFreeAll local
First message of a new sessionFull priceContext injection + prompt; cache created
Continuing a session (within ~1 hour)CheapHistory from prompt cache (~10× cheaper)
Resuming after restart or 1+ hour gapFull priceCache expired; history re-charged as fresh tokens
Starting a new sessionFreeNo API call until you send

TIP

Claude's prompt cache expires after ~1 hour. For sessions you haven't used in a while, starting a new session (paying only for context injection) may be cheaper than resuming a large accumulated one.

Released under the MIT License.