cortex-import

Solid

Import memories from other AI memory systems into Cortex. Supports claude-mem (SQLite), Claude Desktop sessions, ChatGPT web export (JSON), Gemini Takeout (JSON), Cursor conversations, and Claude Code JSONL. Use when the user says 'import from claude-mem', 'migrate memories', 'import ChatGPT history', 'import from Gemini', 'transfer memories', or when Cortex detects another memory system is installed.

AI & Automation 68 stars 11 forks Updated today MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
61
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Import Memories — Multi-Source Migration Detect available memory sources and import them into Cortex. Run fully autonomously — detect, import, consolidate. ## Phase 1: Source Detection Run this bash command to detect all sources: ```bash echo "=== Memory Sources ===" # 1. Claude Code JSONL CC=$(find ~/.claude/projects -name "*.jsonl" 2>/dev/null | wc -l | tr -d ' ') echo "Claude Code JSONL: $CC files" # 2. Claude Desktop sessions CD=$(find ~/Library/Application\ Support/Claude/claude-code-sessions -name "*.json" 2>/dev/null | wc -l | tr -d ' ') echo "Claude Desktop: $CD session files" # 3. claude-mem if [ -f ~/.claude-mem/claude-mem.db ]; then CM=$(sqlite3 ~/.claude-mem/claude-mem.db "SELECT COUNT(*) FROM observations" 2>/dev/null || echo "0") echo "claude-mem: $CM observations" else echo "claude-mem: not found" fi # 4. ChatGPT — desktop app stores binary, need web export CHATGPT=$(find ~/Downloads -name "conversations.json" -maxdepth 3 2>/dev/null | head -1) if [ -n "$CHATGPT" ]; then echo "ChatGPT export: $CHATGPT" else echo "ChatGPT: no export (get from chatgpt.com → Settings → Data controls → Export)" fi # 5. Gemini Takeout GEMINI=$(find ~/Downloads -path "*Gemini*" -name "*.json" -maxdepth 5 2>/dev/null | head -1) if [ -n "$GEMINI" ]; then echo "Gemini export: $GEMINI" else echo "Gemini: no export (get from takeout.google.com → select Gemini Apps)" fi # 6. Cursor if [ -d ~/.cursor ]; then CU=$(find ~/.cursor -name "*.jsonl" 2>/...

Details

Author
cdeust
Repository
cdeust/Cortex
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category