Skip to content

Live ChatGPT and Claude Sync

Connects a ChatGPT or Claude account and keeps its chat history synced into your brain.

Repository
garrytan/gbrain
Stars
31,447
Licence
MIT
Files
1 file

What it does

This skill lets an AI agent link your ChatGPT or Claude account and automatically pull your conversation history into a local knowledge store called the brain. It uses your logged-in browser session cookie to fetch conversations, syncs only new or changed ones after the first import, and can run on a daily schedule if you turn that on. Export files you download yourself are handled by a separate skill.

Great for

  • Developers who already use the gbrain tool and want their past ChatGPT or Claude chats stored locally
  • People who want ongoing, automatic backups of their AI conversations rather than one-off exports
  • Users who are comfortable pasting a browser session cookie into a terminal

Skip it if

  • Anyone uneasy about sharing a session cookie, since it grants access to the account and is a credential (use the official export file path instead)
  • Perplexity users, because no live connector exists for it yet
  • Users who want scheduled polling of their account to stay off, since automated requests to the provider are made once enabled and can trigger blocks or account issues

Try asking

  • “Connect my ChatGPT account and sync my chat history into the brain”
  • “Keep my conversations synced automatically every day”
  • “Import a small sample of my Claude conversations first to check it works”
  • “Check whether my ChatGPT auth cookie has expired and needs re-authentication”
Step-by-step guide: how to use Live ChatGPT and Claude SyncInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the MIT licence and an attribution note.

    chat-connectors.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip chat-connectors.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip chat-connectors.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Start with --dry-run and --limit 5 before a full import, as the skill recommends
  • Hand the cookie over via stdin (for example pbpaste piped in) rather than pasting it into the chat, so it stays out of the conversation
  • Leave auto_sync off unless you want daily automated requests to your account

What's inside

  • SKILL.md

Redistributed unmodified from garrytan/gbrain under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.