AI Chat Log

“How did I solve that?” — just search.

Save your conversations with Claude Code, Codex, GitHub Copilot CLI, Gemini, ChatGPT and other AI tools on your own computer, and find them later by keyword or date. You can also ask your AI about your own past.

Personal use · open source

The SyncLane timeline: dates on the left, your input and the AI's replies on the right, and an update notice at the bottom right (made-up conversations)

Features

Register it with Claude Code (CLI), then ask

Once registered, just ask “how did we decide that?” and the AI searches your saved conversations. “What did I do this month?” works for monthly reports and reviews (hours are unreliable, so ask for percentages). If you write “SL = SyncLane” in CLAUDE.md, you can also ask in short: “ask SL”. You can also ask per project (“what's the recent state of X?”). Read-only.

# Register SyncLane with Claude Code (CLI) (works from any folder)
$ claude mcp add --scope user synclane -- /Applications/SyncLane.app/Contents/MacOS/synclane-app --mcp

# Then just ask Claude Code (CLI)
> How did we solve this problem before? Ask SyncLane.

Search by relevance

Results are ordered by how well they match the keywords. An old conversation comes first if it matches best. Switch with “Sort” in the search window; when your AI searches, local conversations are ordered by relevance by default too.

The search window with “authentication” searched, sorted by relevance. The short morning conversation that mentions it many times comes first

Typos are forgiven: it searches again

Only when there is no exact match, SyncLane searches again allowing typos: a missing, extra or changed character, up to 1–2 characters depending on the length of the term. The window tells you when it does. When there is an exact match, results are unchanged.

The search window with the misspelled keyword “authentcation”. There is no exact match, so the main window shows “No exact matches, showing fuzzy matches (typos allowed).” above the conversations about authentication

Copy a topic or a range as Markdown and hand it to another AI

Copy one topic of a conversation as Markdown: your messages and the AI's, plus the commands that were run and the files that were touched. You can put a request at the top (“summarize”, “continue the work”, “review from another angle”), and copy everything the list currently shows (date, project, search words) at once, up to 50 topics, newest first. Anything that looks like a secret is masked by default (you can also copy as is). Some forms cannot be masked, so check the preview before you paste. Tool output and the AI's reasoning are not saved, so they are not included.

The Copy as Markdown dialog. A key that looks like a secret is masked and the list of commands that were run is in the preview

Resume a conversation in its original tool

For Claude Code, Codex and Gemini CLI conversations you can copy the command that resumes them. On macOS there is also a button that opens Terminal. Hover over a message and the buttons appear to the right of its title.

Hovering over a message shows four buttons to the right of its title: edit title, copy topic, resume in Terminal, copy the resume command

Filter by project

The sidebar on the left lists your projects. Click one to show only its conversations; it combines with date and search. Click again to clear. It is hidden when the window is narrow.

Choosing the project “shop-api” in the left sidebar narrows the list to that project's conversations (made-up conversations)

See token usage

Totals for a period (today, 7 days, 30 days, all) by day, project, model or tool, as bar charts. Claude Code, Codex and Gemini CLI are counted; Antigravity and Gemini / ChatGPT on the web are not. Cost (money) is not calculated. Only the counts are stored, not the conversation text.

The token usage window. Stacked bars of input, output and cache write per project, with a table of the counts (made-up conversations)

The Claude app (GUI) works too

Add a few lines to its config file and restart. Adding “ask SyncLane” makes it reliable. Conversations in the app itself are not saved by SyncLane.

# Add this to claude_desktop_config.json and restart the Claude app (GUI)
# (you can also copy it from the MCP tab in Settings)
{
  "mcpServers": {
    "synclane": {
      "command": "/Applications/SyncLane.app/Contents/MacOS/synclane-app",
      "args": ["--mcp"]
    }
  }
}

Gemini and ChatGPT (web): a Chrome extension

Open a conversation and, once the answer is finished, it is sent to SyncLane on this Mac automatically. Nothing goes to an outside server. Add “SyncLane for AI chats” from the Chrome Web Store, keep the SyncLane app running, and open a conversation on Gemini or ChatGPT (reload tabs that were already open before you installed it). Conversations opened in Chrome only. If nothing is imported, check that the extension is turned on (chrome://extensions) and that the app is running.

Add from the Chrome Web Store

Claude Code, Codex, GitHub Copilot CLI, Gemini CLI and Antigravity CLI: collected by the app

While it runs, it imports new conversations every 30 seconds. Work run in the Codex app on “This computer” is read from the logs on your Mac, so it comes in too. No duplicates.

Your record stays, even if history disappears

Conversations are saved in a SQLite file on your machine. Even if a tool stops showing its history, your record stays. The commands the AI ran and the files it touched stay too (used only when you copy a topic).

Give each topic its own title

A long conversation keeps one title even when the topic changes, which makes it hard to find things. SyncLane splits a conversation where there is a gap of 30 minutes or more, and where it was summarised and continued. Use the ✎ next to a title to name each section. Nothing leaves your Mac, and a title you edit is not overwritten by later imports.

What it supports

What works today and what is planned are listed separately.

What you can do

  • Search past conversations by keywords (space = AND) and by date (with a full-text index; Japanese works as a substring match)
  • Search around a day, such as “five days either side”
  • A day-by-day timeline (your input and the AI's reply, in two columns)
  • Trace back “why did I do that?” (rejected ideas and the deciding reason stay in the conversation)
  • Split a conversation by topic and give each section a title
  • Order search results by relevance
  • Search again, allowing typos, when there is no exact match (a missing, extra or changed character)
  • Copy a topic, or the range on screen, as Markdown (with an optional request for another AI at the top; anything that looks like a secret is masked by default)
  • Filter by project
  • Token usage totals (Claude Code, Codex, Gemini CLI; cost is not calculated)
  • Copy the command to resume a conversation, or resume it in Terminal (macOS)
  • Search from your AI (Claude Code, Claude app) via MCP, read-only (it can also list projects and their recent state)
  • Runs on macOS

What it imports

  • [App, automatic] Claude Code (CLI) logs
  • [App, automatic] Codex (app and CLI) logs
  • [App, automatic] GitHub Copilot CLI logs
  • [App, automatic] Gemini CLI logs
  • [App, automatic] Antigravity CLI (agy) logs (the IDE version is not covered)
  • [Chrome extension (Chrome Web Store)] Gemini and ChatGPT (web) conversations
  • [Command, not in the download] claude.ai (web) official data export (zip or JSON). Build from the source and import with `synclane import claude-ai <path>` (not automatic)

What is saved

  • Your input and the AI's text replies
  • The commands the AI ran and the files it touched (used only when you copy a topic; not used for search or AI search)
  • Tool output and the AI's reasoning are not saved
  • Stored in a local SQLite file (append-only)

Planned

  • A VSCode plugin
  • Importing Claude (web) conversations from the window (for now, by command)
  • We'll let you know when they're ready

Never corrupt or lose a single conversation. Reviewed with MrkCodeReview, every finding backed by a scenario and evidence.

Custom lightweight Protocol Buffers decoding, zero-locking reads against SQLite WAL, automatic secret masking on Markdown export, and robust token usage deduplication. Local data tools hide subtle edge cases that single models or human developers easily miss. SyncLane is reviewed with MrkCodeReview, where every finding must carry a scenario and its evidence.

Every boundary condition and data integrity check is permanently captured in automated regression tests (193 tests), ensuring zero data corruption during background sync and re-imports. Note: This code example is illustrative only; actual output may differ.

Edge case caught and verified during review
# Case: Importing Codex conversation logs and aggregating token usage
$ synclane-app --import-codex

# Blind spot: Duplicate token counts across forked rollouts vs. millisecond jitter
# MrkCodeReview finding:
#   "Key forked Codex usage rows on data the copy keeps."
#   → Verified that switching to timestamps would introduce session collisions
#     and legacy DB inconsistencies, confirming the current architecture's safety.

# Result: Guaranteed session isolation, legacy DB compatibility, and deduplication

Free and open source

SyncLane

Keep a record of the road you've walked.

Free

Personal use · open source

MIT License · Source on GitHub

  • Conversations saved on your computer
  • Search and timeline
  • Works with Claude Code, Codex, GitHub Copilot CLI, Gemini and ChatGPT
Download SyncLaneGet it on GitHub

Too good to throw away after one use.

The trying, the testing and the deciding become the next you's head start.

Download SyncLane