rn session list
List local Claude Code sessions with their remote status.
rn session list [flags]
Alias: rn s list
Flags
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--all |
-a |
bool | false | Show sessions from all projects |
--branch |
string | Filter by git branch name | ||
--limit |
-n |
int | 0 | Maximum results (0 = unlimited) |
--sort |
string | date |
Sort by: date, size, turns, name |
|
--reverse |
-r |
bool | false | Reverse sort direction |
--search |
string | Filter by name/title/ID substring | ||
--pushed |
bool | false | Show only already-pushed sessions | |
--local |
bool | false | Show only local (not pushed) sessions |
Output
Each session shows:
- Session ID (truncated) and title
- Local file size and turn count
- Git branch (if available)
- Remote status: version count, privacy level, expiry, URL
Examples
List sessions from the current project:
rn session list
List all sessions, sorted by size:
rn session list -a --sort size
Find sessions matching a search term:
rn session list --search "auth"
Show only sessions you've already pushed:
rn session list --pushed