| Crates.io | lore-cli |
| lib.rs | lore-cli |
| version | 0.1.11 |
| created_at | 2025-12-31 02:27:33.875962+00 |
| updated_at | 2026-01-24 19:43:08.543488+00 |
| description | Capture AI coding sessions and link them to git commits |
| homepage | |
| repository | https://github.com/varalys/lore |
| max_upload_size | |
| id | 2013761 |
| size | 1,276,681 |
Reasoning history for code. Lore captures AI coding sessions and links them to git commits.
Lore saves all your AI coding sessions from Claude Code, Codex, etc and links them to commits. When you look at code later, you can see the conversation that produced it.
Documentation: lore.varalys.com
brew install varalys/tap/lore
yay -S lore-cli-bin
Or with any AUR helper. See lore-cli-bin.
cargo install lore-cli
Download from GitHub Releases.
# Initial setup (detects tools, imports sessions)
lore init
# List sessions
lore sessions
# View a session
lore show abc123
# Link to current commit
lore link abc123
# Link active sessions in this repo to HEAD
lore link --current
# Find sessions for a commit
lore show --commit HEAD
# Trace a line of code to its AI session
lore blame src/main.rs:42
# Search across all sessions
lore search "authentication"
lore blame$ lore blame src/auth.rs:42
Commit:
a1b2c3d4 <username> 2025-12-15 14:30
feat: add rate limiting to login endpoint
Line content:
if attempts > 5 { return Err(RateLimitExceeded) }
Linked sessions (1):
f8e7d6c5 claude-code (127 messages)
Started: 2025-12-15 13:45
Relevant context:
...decided on 5 attempts as the threshold based on industry standards...
Let me add rate limiting to prevent brute force attacks.
| Feature | Description |
|---|---|
| Session Capture | Import from 10+ AI coding tools |
| Git Linking | Connect sessions to commits |
| Full-text Search | Find any conversation |
| Blame Integration | Trace code to sessions |
| MCP Server | Let AI tools query your history |
| Background Daemon | Real-time capture |
Claude Code, Codex CLI, Gemini CLI, Amp, Aider, Continue.dev, Cline, Roo Code, Kilo Code, OpenCode
See Supported Tools for details.
Let Claude Code query your session history:
claude mcp add lore -- lore mcp serve
Claude can then search sessions, retrieve context, and continue where you left off.
See MCP Guide for setup details.
Full documentation at lore.varalys.com:
~/.lore/
├── lore.db # SQLite database
├── config.yaml # Configuration
└── daemon.log # Daemon logs
All data stays on your machine.
See CONTRIBUTING.md.