Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

chat-connectors

Skill by garrytan

Connects a ChatGPT or Claude account and syncs its conversation history into a gbrain brain. It suits users who want ongoing, incremental imports instead of one-off export files.

  • Score 91
  • 34k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install chat-connectors

Built from the published package, never by AI.

git clone --depth 1 https://github.com/garrytan/gbrain /tmp/gbrain && mkdir -p ~/.claude/skills && cp -r /tmp/gbrain/plugin/skills/chat-connectors ~/.claude/skills/chat-connectors

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install chat-connectors in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill connects a ChatGPT or Claude account using a browser session cookie. The cookie is stored in a local file with mode 0600 and is sent only to the provider's own host. Sync runs incrementally, using a per-provider watermark and a 7-day trailing window to heal recent gaps. Conversations are imported through the same ingest pipeline as the export-file lane, so redaction, slugging and idempotency match. Scheduled sync is optional. It is off by default and can run through autopilot or host cron once enabled per provider. Perplexity has no live connector and is routed to the conversation-archive skill. The skill is for gbrain users who want their chat history kept in sync automatically.

Written from the project's SKILL.md and checked against it.

What it can do

  • Cookie-based connectionConnects ChatGPT or Claude using a browser session cookie stored locally with restricted permissions.
  • Incremental syncFetches only changed conversations, using a watermark and a 7-day trailing window.
  • Dry run and sample importPreviews the conversation count and imports a small sample before a full sync.
  • Scheduled syncOptionally runs a daily sync through autopilot or host cron, enabled per provider.
  • Credential status and logoutShows credential provenance and expiry without the value, and deletes credentials on logout.
  • Health reportingSurfaces re-auth needed and sync problems through gbrain doctor.

What you need

  • A ChatGPT or Claude account
  • The gbrain CLI with a brain already set up
  • A logged-in browser session to copy the session cookie from
  • Autopilot or host cron, only if scheduled sync is wanted

Try asking

  • Connect my ChatGPT account and sync my chat history.
  • Do a dry run of my Claude chat sync before importing everything.
  • Keep my conversations synced to my brain every day.

Good to know

  • Session cookies expire, so the account must be re-authenticated periodically.
  • Cloudflare or bot challenges block server-side fetch; the export-file lane is the fallback.
  • Perplexity has no live connector in this skill.
  • Scheduled sync is off until the user opts in.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugin/skills/chat-connectors/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md11 KB
  • routing-eval.jsonl1 KB

Alternatives to chat-connectors

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

chat-connectors: common questions

Do I need an export file to use this?

No. This skill connects the account directly and pulls new conversations. The export-file path is handled by the conversation-archive skill.

Where are my credentials stored?

They are stored at ~/.gbrain/connectors/<provider>.json with mode 0600. The source says they are never kept in the database or in any MCP payload.

Which chat providers are supported?

ChatGPT and Claude have live connectors. Perplexity has no live connector and uses the manual conversion path in conversation-archive.

How do I install chat-connectors?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is chat-connectors free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is chat-connectors safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to chat-connectors?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

chat-connectors Install

Add to stack

Loading.