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.
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-connectorsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/garrytan/gbrain /tmp/gbrain && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gbrain/plugin/skills/chat-connectors ~/.gemini/antigravity-cli/skills/chat-connectorsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
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.
