You plan a feature in ChatGPT, build it with Claude Code, fix a bug in Cursor. Each tool keeps its own history, and the coding tools keep theirs only on your computer, for a while. Threadkeep can put all of it in one project: your web chats and your coding sessions side by side, searchable, and ready to Bring into a new chat as one brief.
What the import does
The coding tools save each session as a file on your computer. A free command, threadkeep-mcp import, reads those files, keeps your messages and the AI's answers, removes anything that looks like a password or key, and writes one file per session into your Threadkeep folder. The Threadkeep library then shows "2 coding sessions are waiting in your Threadkeep folder." Press Review and import, pick the project, and they are in.
It works with four tools: Claude Code, Codex, Cursor and opencode.
Before you start
- Threadkeep 3.1.1 or newer. Older versions have no import screen.
- Threadkeep in Chrome or Opera (both install it from the Chrome Web Store) with the memory folder on (Library, Memory folder). The command writes into that folder, so it needs to exist first. In Firefox, which has no memory folder access, see
--outbelow. - Node.js 20 or newer in a terminal. opencode needs Node 22.13 or newer, and compressed Codex sessions need Node 22.15 or newer.
- For opencode: opencode 1.2 or newer. Older versions keep sessions in a layout the command does not read.
- A project in Threadkeep with the name you will use below, or make one when you import.
Step by step
Open a terminal in your repo (the folder you code in).
See what would be imported, without writing anything:
npx -y threadkeep-mcp@0.3 import claude-code --project "Pricing page redesign" --dry-runIt prints how many sessions it found, how many words it keeps and how many secrets it removed. Nothing is written.
Run it for real: the same line without
--dry-run.npx -y threadkeep-mcp@0.3 import claude-code --project "Pricing page redesign"Open the Threadkeep library. Press Review and import, check the list, press Import 2 sessions (the button counts them). The sessions land in the project, in a folder named after the tool.

The import window in Threadkeep 3.1.1, with made-up sessions.
The same command for the other tools:
npx -y threadkeep-mcp@0.3 import codex --project "Pricing page redesign"
npx -y threadkeep-mcp@0.3 import cursor --project "Pricing page redesign"
npx -y threadkeep-mcp@0.3 import opencode --project "Pricing page redesign"
A chat you saved with Cursor's own Export Chat (a Markdown file) comes in with --file:
npx -y threadkeep-mcp@0.3 import cursor --file ~/Downloads/cursor-chat.md --project "Pricing page redesign"
In Firefox, which has no folder access, write the files to a folder of your own: npx -y threadkeep-mcp@0.3 import claude-code --project "Pricing page redesign" --out ~/Downloads/threadkeep-import. Then open the Threadkeep library, press Import coding sessions... and pick the files. The import window opens with them.
Handy options:
--since 30dor--since 2026-11-01: further back than the default of 7 days.--repo all: every repo, not only the one you are in.--folder "Backend"puts the sessions in that folder of the project;--folder repouses the repo's name;--no-folderputs them in the project itself.--dir <folder>: your Threadkeep folder, when it is not~/Documents/Threadkeep.--out <folder>: write the files anywhere, for example to carry them to another computer. In Firefox, use this and pick the files in the library with Import coding sessions....
What is kept and what is left out
Kept: what you typed, and the text of the AI's answers, code blocks included. A picture becomes [Picture]; in Claude Code, a long pasted block becomes a short note with its word count.
Left out before anything is written:
- Secrets. API keys, tokens, private keys, auth headers, passwords in
.envlines, passwords inside web addresses. Each one becomes[secret removed]. The removal is careful but not perfect: open a file before you share it with anyone. - Tool output. Commands the AI ran and what they printed.
- File contents. The files the AI read or edited stay where they are.
- The AI's hidden reasoning, and the turns a tool adds by itself.
The command reads only the session files each tool already saved, never a tool's settings or sign-in files. It changes nothing in them, makes no network call and sends nothing anywhere.
Where the files go
Each session becomes one file in <your Threadkeep folder>/.threadkeep/inbox/. When you import it, Threadkeep saves it in your library and deletes the inbox file. (In Firefox, the files you picked stay where they are; Threadkeep remembers them and shows them as already in your library.) From then on it is a chat like any other: search finds it, it can be a key chat, and the memory folder writes it under <Project>/chats/<Folder>/ with your other chats.
Run the command again later and the same session updates the copy in your library with its new messages. Nothing already imported is lost.
Claude Code deletes its own session files after 30 days by default (its cleanupPeriodDays setting), so import before then.
Want it on a schedule? Add the command to cron (Mac, Linux) or Task Scheduler (Windows). Threadkeep runs nothing in the background itself.
Free and Pro
The command is free and open source (MIT), for everyone.
- Free: press Review and import whenever you like. Imported sessions count toward the Free library: 100 saved chats, 3 projects and 5 folders in all.
- Pro: no library limits, and in Chrome and Opera Import coding sessions when the library opens (Settings, Projects): every time you open the library, the waiting sessions go straight into the project they name. Sessions whose project is not in your library keep waiting for you.
Names
Made by SKILLMERC. Threadkeep is an independent tool by SKILLMERC. It is not made by, endorsed by or affiliated with OpenAI, Anthropic, Google, DeepSeek, SpaceXSI, Anysphere, Anomaly or the maker of any other site or tool it works with.
ChatGPT and Codex are trademarks of OpenAI. Claude and Claude Code are trademarks of Anthropic, PBC. Cursor is a trademark of Anysphere, Inc. Grok and Grok Build are trademarks of SpaceX Super Intelligence LLC (SpaceXSI). Gemini is a trademark of Google LLC. Use of these trademarks is subject to Google Permissions. opencode is a project of Anomaly.
Threadkeep for Firefox and Chrome
Free extension: saves the AI chat you have open as Markdown, text, JSON, PDF or Word. Version 3 keeps your chats in projects with a short brief. The chat stays in your browser.
More guides
- How to export a DeepSeek chat to PDF, Word or Markdown (free ways and a Firefox or Chrome add-on)
- DeepSeek "Length limit reached": how to continue a long chat in a new chat
- How to export a ChatGPT conversation to PDF or Word (free ways and a browser add-on)
- How to save a Claude chat as Markdown or PDF (free ways and a browser add-on)
- How to save Gemini chats: Export to Docs, Google Takeout, PDF and Markdown
- How to keep a searchable library of your ChatGPT, Claude, Gemini and DeepSeek chats