lore show
Display the full conversation history for a session, or list sessions linked to a git commit.
lore show <ID> [OPTIONS]lore show --commit <REF> [OPTIONS]Examples
Section titled “Examples”View a Session
Section titled “View a Session”# Show session by ID prefix (only need enough to be unique)lore show abc123
# Show full message content (no truncation)lore show abc123 --full
# Include AI thinking blockslore show abc123 --thinking
# Output as markdownlore show abc123 --format markdownView Sessions for a Commit
Section titled “View Sessions for a Commit”# Show sessions linked to HEADlore show --commit HEAD
# Show sessions linked to a specific commitlore show --commit a1b2c3d
# Show sessions linked to a branchlore show --commit mainSample Output
Section titled “Sample Output”Session View
Section titled “Session View”Session c9731a91-...
Tool: claude-code Version: 1.0.0 Model: claude-sonnet-4-20250514 Started: 2025-12-25 17:52:00 Ended: 2025-12-25 19:30:00 (98 minutes) Messages: 566 Directory: /Users/dev/myapp Branch: main Tags: feature-auth, needs-review
Summary: Implemented OAuth2 login flow with Google and GitHub providers
Linked to: commit a1b2c3d
Conversation:
[Human 17:52:00]Can you help me add authentication to this app?
[Assistant 17:52:15]I'll help you add authentication. Let me first look at your current setup...Commit View
Section titled “Commit View”Commit a1b2c3d (HEAD) "feat: add OAuth2 authentication" 2025-12-25 19:28
Linked sessions (1): c9731a91 2025-12-25 17:52 566 messages confidence: 95%
Use 'lore show <session-id>' to view session detailsOptions
Section titled “Options”| Option | Description |
|---|---|
--commit | Treat target as a git ref instead of session ID |
--full | Show full message content without truncation |
--thinking | Include AI thinking/reasoning blocks |
-f, --format <FMT> | Output format: text, json, markdown |
JSON Output
Section titled “JSON Output”lore show abc123 --format json{ "session": { "id": "c9731a91-...", "tool": "claude-code", "started_at": "2025-12-25T17:52:00Z", "message_count": 566 }, "messages": [...], "links": [ { "commit_sha": "a1b2c3d...", "confidence": 0.95 } ], "tags": ["feature-auth", "needs-review"], "summary": "Implemented OAuth2 login flow..."}See Also
Section titled “See Also”- lore sessions - List sessions
- lore blame - Find session for a line of code
- lore link - Link session to commit