The universal context exchange bridge for AI agents. Seamlessly transfer, backup, and restore conversation history between Claude, Gemini, and Web UIs.
AI agents often "lose their memory" when a session gets too long (context limit) or when you need to switch tools. AgentContextFlow (using the CXF protocol) provides a smart-summary approach to move your development context anywhere.
- Smart-Summary: Keeps raw dialogue while summarizing heavy tool outputs to save tokens.
- Auto-Detection: CLI automatically recognizes Gemini CLI logs, Claude exports, and CXF JSON.
- Zero-Dependency: Bundled into a single 120KB file. Install and run instantly.
- Browser Superpowers: A one-click bookmarklet to grab chats from
Claude.aiorChatGPT.com. - Agent Skill: Deeply integrates into Gemini CLI as a native skill.
gemini skills install https://github.com/your-username/AgentContextFlowAfter installation, type /skills reload in your session.
npm install -g .- Run
cxf connector bookmarkletto get your scraper code. - Save it as a browser bookmark.
- Click it on a Claude/ChatGPT page to download the
.jsonbackup. - Tell Gemini CLI: "Import this backup file."
When a session gets slow or full:
- Say: "Backup this conversation."
- AI generates a
backup.mdfile. - Open a fresh terminal and say: "Read
backup.mdand continue from where we left off."
- Export your Gemini context as
.mdusing the skill. - Open Claude Code and say: "Read
backup.mdto understand my previous work with Gemini." - Claude instantly gains the full context of your project architecture and decisions.
- Build:
npm run build(Automatically syncs to skill folder) - Test:
npm test - Bundle:
npm run bundle(Generates self-containeddist/index.js)
MIT