Portable Context Packet for seamless AI conversation transfer across tools and platforms.
Context Capsule captures entire AI conversationsβmessages, context, decisions, and referenced filesβinto a single portable .capsule.json file. Drag and drop this file into any compatible AI tool to instantly continue your conversation without re-explaining anything.
| Feature | Description |
|---|---|
| Multi-Platform | Works with ChatGPT, Claude, Gemini, and Perplexity |
| Auto-Capture | Automatically watches for new messages as you chat |
| Portable Format | Single .capsule.json file containing everything |
| No Account Required | All data stays in your browser |
| Privacy First | No external calls, no telemetry, fully local |
| Smart Extraction | Multiple selector strategies with automatic fallback |
| Export Options | JSON, Markdown, Text, and clipboard formats |
| Tag & Search | Organize capsules with custom tags |
| Keyboard Shortcut | Ctrl+Shift+S (or Cmd+Shift+S on Mac) to instantly save |
- Visit the Chrome Web Store
- Click "Add to Chrome"
- Grant necessary permissions
- Start capturing conversations!
- Download the extension files
- Open
chrome://extensions(oredge://extensionsfor Edge) - Enable Developer mode (toggle in top right)
- Click Load unpacked
- Select the
browser-extensionfolder
- Open any supported AI platform (ChatGPT, Claude, Gemini, Perplexity)
- Chat normally
- Press
Ctrl+Shift+S(orCmd+Shift+Son Mac) - Your conversation is saved automatically!
- Click the extension icon in your toolbar
- Find your saved capsule in the list
- Click the β export button
- Share the
.capsule.jsonfile with anyone
- Click "Open Viewer" in the popup footer
- Drag & drop any
.capsule.jsonfile - Review messages, decisions, and context
- Export in different formats (Markdown, PDF, etc.)
- Click the β edit button on any capsule
- Add custom tags (e.g., "project-X", "research", "bug-fix")
- Filter and find capsules quickly
- JSON: Full capsule data for developers
- Markdown: Beautiful formatted conversation
- Text: Plain text with dividers for easy pasting
- File: Copy to clipboard as file
- Open the viewer page
- Paste any conversation transcript
- Click "Convert & Preview"
- Automatically structured into capsule format
- Local Only: All capsules stored in
chrome.storage.local(5MB limit) - No Sync: No cloud backup, no external servers
- No Tracking: No analytics, no telemetry
- User Control: You decide when to export or delete
The extension includes optional redaction of:
- API keys and tokens
- Passwords and credentials
- Credit card numbers
- Email addresses (optional)
- JWT tokens and secrets
Note: Always review capsule content before sharing. The redaction feature is helpful but not perfect.
| Permission | Purpose |
|---|---|
activeTab |
Read conversation content from current tab |
storage |
Save capsules locally in your browser |
tabs |
Detect supported AI platforms |
| Platform | Status | Notes |
|---|---|---|
| ChatGPT | β Full Support | chat.openai.com, chatgpt.com |
| Claude | β Full Support | claude.ai |
| Gemini | β Full Support | gemini.google.com |
| Perplexity | β Full Support | perplexity.ai, www.perplexity.ai |
Why These Platforms? These are the most popular AI chat interfaces with accessible DOM structure. More platforms coming soon!
A .capsule.json file contains:
{
"_format": "context-capsule",
"_specVersion": "1.0.0",
"manifest": {
"version": "1.0.0",
"capsuleId": "uuid-v4",
"createdAt": "2026-01-15T10:30:00Z",
"createdBy": {
"tool": "ChatGPT",
"version": "extension-1.2.0"
},
"title": "Conversation about API design",
"description": "Auto-generated description",
"tags": ["api", "design", "important"],
"targetAiSpec": "ccif-1.0"
},
"conversation": {
"threadId": "thread-uuid",
"title": "API design discussion",
"messages": [
{
"id": "msg-001",
"role": "user",
"content": "How should we design the API?",
"timestamp": "2026-01-15T10:30:00Z"
},
{
"id": "msg-002",
"role": "assistant",
"content": "Here's a recommended approach...",
"timestamp": "2026-01-15T10:30:15Z"
}
]
},
"context": {
"capturedAt": "2026-01-15T10:30:00Z",
"platform": "ChatGPT",
"sourceUrl": "https://chat.openai.com/..."
}
}- Content Script: Injected into AI pages to extract messages
- Background Service Worker: Handles storage and export
- Floating UI: Context-aware buttons in message bars
- Viewer: Standalone page for viewing/exporting capsules
The extension uses multiple extraction strategies with automatic fallback:
- Attribute-based: Uses
data-message-author-role(most reliable) - Class-based: Detects role-specific CSS classes
- Container-based: Analyzes conversation DOM structure
- Content-based: Smart heuristics as last resort
This ensures capture continues working even when platforms update their UI.
- Debounced Capture: Prevents excessive storage writes
- Memory Management: Automatic cleanup of observers and timers
- Storage Optimization: Automatic pruning of old capsules (keeps 50 most recent)
- Quota Monitoring: Warns at 90% of 5MB chrome.storage limit
- Reload the chat page - Content scripts need the page to reload
- Check platform status - Extension shows green dot when supported
- Wait 2-3 seconds - Auto-capture needs time to detect messages
- Try keyboard shortcut -
Ctrl+Shift+Sforces manual capture
- Export important capsules first
- Click "Clear All" to reset storage
- Archive old capsules externally
- Extension auto-keeps 50 most recent
The extension uses smart selector fallback. If primary selectors break:
- Fallback strategies activate automatically
- Extension still captures messages
- Consider reporting the issue so we can update selectors
- Check if page is supported
- Reload the page
- Disable other extensions that might conflict
- Check browser console for errors
- β Production-ready with comprehensive error handling
- β Storage quota monitoring and automatic cleanup
- β Smart selector fallback for platform UI changes
- β Rate limiting and security hardening
- β Input validation and XSS prevention
- β Memory leak fixes and performance optimization
- β Schema validation for capsule files
- β Enhanced export formats (Markdown, text, JSON)
- β Added Perplexity support
- β Implemented tagging system
- β Added keyboard shortcut
- β Floating UI improvements
- β Initial release
- β Multi-platform support
- β Basic capture and export
Please include:
- Browser version and OS
- Steps to reproduce
- Screenshot or console logs (if applicable)
- Platform (ChatGPT/Claude/Gemini/Perplexity)
We welcome suggestions for:
- New platform support
- Export format ideas
- UX improvements
MIT License - See LICENSE file for details
Built for the AI community to enable seamless context transfer across tools and platforms.
Made with β€οΈ for AI users everywhere
- GitHub Issues: Report bugs and request features
- Documentation: See
/docsfolder for detailed guides - Community: Join discussions in GitHub Discussions
Context Capsule - Because your AI conversations deserve to be portable.