CopilotSync
GitHub Copilot chat history — synced to the cloud, available on every machine.
Before You Start — Read This
What this extension cannot do:
If your workflow is "use Copilot normally and have it magically synced in the background" — this extension cannot do that. Nobody can. GitHub Copilot's chat storage is proprietary and closed. No extension can read or intercept it.
What this extension actually does:
Use @sync instead of @copilot for conversations you care about. Same GPT-4o model underneath. Every message is saved to the cloud. Switch machines, sign in, restore your session — the AI has full context of everything you discussed, including your codebase. No re-explaining. No copy-pasting. Just continue.
The difference in practice:
| Copilot (@copilot) |
CopilotSync (@sync) |
| History lives on one machine |
History follows you everywhere |
| Switch PC = start over |
Switch PC = continue instantly |
| Reads codebase automatically |
Reads your active file automatically |
| Closed, no export |
You own your data |
If you're okay with typing @sync instead of @copilot — this extension solves your problem completely.
The Problem
GitHub Copilot Chat stores conversations locally. Switch machines, reinstall VS Code, or open a different dev container — your chat history is gone. There is no built-in way to carry context across environments.
How It Works
Type @sync in the VS Code chat panel instead of @copilot. Same GPT-4o model, same chat UX. Every message is saved to the cloud, tied to your GitHub account and the workspace you're in.
No Copilot subscription required. CopilotSync uses GitHub Models API — free with any GitHub account.
Features
- Cross-machine sync — sign in on any machine, pick up where you left off.
- Workspace-scoped — nestfindr chats stay separate from fdms-lims chats. History is tied to the git remote, not the folder path.
- Multi-model — type
@sync /model to switch between GPT-4o, GPT-4o Mini, Mistral Large, and Llama 3.1 70B.
- Offline support — messages queue locally and sync when connectivity returns. Exponential backoff, no data loss.
- Full-text search —
Ctrl+Shift+H / Cmd+Shift+H to search across all conversations in the current workspace.
- Auto-restore — when you open a project with existing history, CopilotSync offers to resume the last session.
Setup
- Install the extension.
- Sign in with GitHub (one click).
- Use
@sync in the chat panel.
Workspace Detection
CopilotSync uses the git remote URL as a fingerprint. Same repo on any machine = same chat history. Falls back to package.json name, then folder name for non-git projects.
Privacy
All data is stored in Supabase with row-level security scoped to your GitHub identity. Your conversations are never used for model training.
Legal
CopilotSync is an independent extension not affiliated with or endorsed by GitHub or Microsoft. It does not access GitHub Copilot's internal systems.
License
MIT