Repository navigation
Importing sources
Cortex copies text from each source into its own plain files and never changes the originals. Nothing is imported until you've been through the first-run step and pressed Start.
The first time you open Add sources (or click it on the empty Cortex tab), Cortex shows Set up your record:
- which sources it found and how many notes, files and sessions each has
- where the copied text goes, and what models will read
- a choice between Import and organise (agents start labelling within your limits) and Import only (turn agents on later in Settings › Agents)
Press Not now to leave without importing anything.
| Source | How it gets in |
|---|---|
| This vault's notes | Read in place. Reference notes stay hidden by default |
Documents in .raw/
|
Read in place |
| Claude Code | Found at %USERPROFILE%\.claude\projects. Cortex watches for new sessions and copies them within about a minute. Text only: tool output, thinking and subagent conversations are off unless you turn them on |
| Claude.ai export | Choose the .zip from Claude.ai's data export |
| ChatGPT export | Choose the .zip. Only the branch you kept is imported; edits and regenerations become earlier versions |
| Gemini (Google Takeout) | Choose the Takeout .zip or folder with My Activity as JSON. Messages less than 30 minutes apart are grouped into one conversation |
| WhatsApp, Telegram, Discord, Slack | Their chat export files |
| Notion, Google Docs | Their export .zip
|
| Google Keep, Evernote, Roam | Their exports |
| Kindle, Zoom | Kindle clippings, Zoom chats and transcripts |
| Codex CLI, Gemini CLI, Cursor | Their local session logs. Off by default, turn them on in Settings |
| A folder of your own | Choose a folder, say whose words they are (yours, another person's, or ask per file) and which file types to read. It can be watched for changes |
| Browser capture | An optional browser add-on that sends finished chat turns from ChatGPT, Claude and Gemini to Cortex on 127.0.0.1. Off by default; see below |
You can also drop an export (.zip or folder) onto the Add sources window and Cortex works out which service it came from.
Cortex keeps a copy of Claude Code sessions as soon as it sees them. Claude Code removes old sessions on its own schedule, so anything Cortex has already read stays in your record.
Imported conversations go into .raw/ inside your vault as plain text, for example .raw/chats/claude-code/. Nothing is committed to git. If your vault is in OneDrive or another synced folder, these files sync too.
Secrets that Cortex detects (API keys, tokens, passwords in text) are replaced before anything is sent to a model, and stay on your computer.
Sources (Alt 5) lists every source with its status, counts, how much of it is your own words, the last import and where it's stored. Each row's menu has Pause watching, Import again, Remove source and Reveal folder. Needs attention lists anything that went wrong, like conversations that couldn't be imported or OneDrive conflict copies.
Off by default. On the Sources page, tick the sites the add-on may read (ChatGPT, Claude, Gemini), then Turn on live capture. Cortex starts listening on 127.0.0.1 only, and gives you a token and Save the add-on to install it in your browser. Captured turns go through the same screening as every other source, and nothing leaves your computer.
Use /leave-out in Ask, or the menu on any conversation or source, to keep it out of Cortex. It moves to Sources › Privacy, where Bring back undoes it. Some paths are never read at all, see Privacy and safety.