Back to browse
GitHub Repository

Sync & search Claude Code + Codex CLI conversation history in SQLite. Zero dependencies.

4 starsPython

I built a tool to search 50K+ AI coding conversations in SQLite

by khaliqgant·Mar 8, 2026·1 point·0 comments

AI Analysis

●●SolidNiche GemSolve My Problem

FTS5 search over 50K+ prompts is handy; incremental sync and zero dependencies keep it lightweight.

Strengths
  • Zero-dependency Python script with incremental sync (byte-offset tracking) means fast re-runs and no bloat.
  • FTS5 full-text search across three heterogeneous sources (Claude JSONL, Codex JSONL, Agent Relay API) in one DB is genuinely useful for developers who context-switch.
  • Drill-down workflow (search → full prompt → session context → resume) respects developer muscle memory—integrates with Claude CLI directly.
Weaknesses
  • Solves a niche problem only developers with existing Claude Code / Codex CLI workflows will encounter; limited audience.
  • No UI—CLI only, and CLI search is commodity functionality (grep + jq existed first); the value is consolidation, not innovation.
Target Audience

Developers using Claude Code or Codex CLI who want to revisit and search past coding conversations.

Similar To

Claude Code · Codex CLI · Agent Relay

Post Description

I'm moving to a new computer and realized that the history.jsonl claude and codex files contain some very useful and valuable previous prompt sessions. Also the agent-relay conversations contain some gold.

Details: - Imports history from Claude Code, Codex CLI, and Agent Relay into one SQLite DB - Incremental sync — only reads new bytes on re-run - FTS5 full-text search across all your prompts - Drill-down workflow: search → show full prompt → see session context → resume conversation - Runs as a launchd/cron job for continuous sync

Similar Projects

AI/ML●●●Banger

Agmsg – let Claude Code and Codex message each other (bash and SQLite)

SQLite as agent messaging layer means zero network overhead, no daemon running.

Big BrainZero to OneNiche Gem
fujibee
3018d ago
AI/ML●●Solid

A Bridge Between Claude Code and Codex Using Channels and MCP

Clever use of Claude Channels to push messages—nobody else bridged these two agents yet.

WizardryNiche Gem
darkbatman
202mo ago