lore sessions
List imported sessions with filtering and output options.
lore sessions [OPTIONS]Examples
Section titled “Examples”# List recent sessions (default: 20)lore sessions
# Show more sessionslore sessions --limit 50
# Filter by repositorylore sessions --repo /path/to/myproject
# Filter by taglore sessions --tag needs-review
# JSON output for scriptinglore sessions --format jsonSample Output
Section titled “Sample Output”ID STARTED MESSAGES BRANCH DIRECTORYc9731a91 2025-12-25 17:52 566 main -> feat/auth -> main myapp24af9690 2025-12-22 19:13 1910 feat/phase-0-foundati... lore8b2f1c3d 2025-12-20 14:30 234 main backendThe BRANCH column shows branch transitions during the session. Long branch names are truncated.
Options
Section titled “Options”| Option | Description |
|---|---|
--limit <N> | Maximum sessions to show (default: 20) |
--repo <PATH> | Filter by repository path |
--tag <LABEL> | Filter by tag |
-f, --format <FMT> | Output format: text, json |
JSON Output
Section titled “JSON Output”lore sessions --format json[ { "id": "c9731a91-...", "tool": "claude-code", "started_at": "2025-12-25T17:52:00Z", "message_count": 566, "working_directory": "/Users/dev/myapp", "git_branch": "main" }]See Also
Section titled “See Also”- lore show - View session details
- lore search - Search session content
- lore import - Import new sessions