Diese Anleitung gibt es vorerst nur auf Englisch. Die deutsche Version folgt.
Claude Code and Codex save the history of every session on your computer. MindDuck can read that history and add each session to memory as an ordinary chat: you can find it with search, open it on your phone and ask the assistant about it. What you decided and discussed with an agent stays with you after the agent deletes its history, and after you move to another agent.
MindDuck only reads the history files. It does not run the agents, does not sign in to your Anthropic or OpenAI accounts and changes nothing in their folders. No model is needed for the import, and nothing leaves the device.
The import needs you to be signed in under Settings → Account with active access to MindDuck. See Account.
Turn the import on
- Open Settings → Agents. Each program has a card of its own.
- On the card of Claude Code or Codex, turn on Keep its sessions as chats.
- In Sessions to keep on the same card, choose how far back to go. Each
program has its own choice, so one can bring the last month and the other
only what is new. Until you choose, only new sessions are kept:
- Only sessions from now on - only those that start or continue after you turn the import on;
- The last 30 days and everything new - also the sessions of the last 30 days;
- Every saved session - everything the agent keeps on this computer.
There is nothing else to do. While MindDuck is open and the workspace is unlocked, new messages appear in the chat a few seconds after the agent finishes its answer.
A long history is imported in the background and gives way to everything else: you can keep using the app. The line under the cards shows how many sessions are still waiting.
If an agent is not installed, it says Not found on this computer. You can turn its switch on in advance: the import starts when the agent saves its first session.
What goes into the chat
- Your prompts, including those you sent while the agent was working.
- The agent's answers: its remarks in order. Work with tools is folded
into one line, for example Ran 3 commands · edited
src/main.rs.
Left out: command output and the content of files the agent read, the model's reasoning, sessions of helper agents, the agent's own service messages.
Images from your prompts are not imported; a note like [1 image attached] stays in their place. A very long message, such as a pasted log of hundreds of kilobytes, is kept at its beginning, with a note saying how much was left out.
The chat has the same name as the session has in the agent. Without a name, the first line of the first prompt names it. In the sidebar and on the Memory page such a chat has the program's sign before its name, and the tooltip on it names the source: Imported from Claude Code or Imported from Codex.
In the general All chats list, chats from programs are hidden by default so that agent sessions do not crowd out your own conversations. In the list of their project they are always visible. To show them in the general list too, tick Chats from programs, see Finding chats.
You can't write in such a chat
The chat of a session keeps what happened in the agent, and in MindDuck it is read only. The agent would never see a message written in MindDuck, and in memory it would look like part of the agent's session.
Above the message field of such a chat is the warning Imported from Claude Code, read only, and the field itself says that a message continues the chat in a copy. When you send a message, MindDuck first makes a copy: a new chat with the same messages, in the same project and with the same privacy, with (continued) at the end of its name. Your message and the assistant's answer go to the copy, and the original chat stays as it was.
The copy is an ordinary chat of yours. Above its message field it says where it comes from (Continued from a Claude Code chat), it has a sign of its own in the lists, and the Imported chats and Chats from programs filters don't hide it. The agent doesn't see the copy.
Each continuation makes a new copy. Search finds the messages of a copy just as it finds the original ones, so the same conversation can turn up twice.
Keys and passwords
Before saving, MindDuck removes from the text whatever looks like a
credential: API keys of known services, tokens, private keys, passwords in
addresses like postgres://user:password@host, values of variables like
API_KEY=…. [secret removed] is left in their place.
The filter recognises a shape, not a meaning. It will not notice a password typed as an ordinary word in a sentence. If a session had something that does not belong in memory, delete the message or the chat in the usual way, see Chat and message actions.
Project
A new chat is filed under a project automatically:
- if the session was started in a folder linked to one project, the chat goes
to that project. Folders inside it count too. A folder is linked to a
project when the project has it in Settings → Folders, or when
memory connectwas run in it for that project; - otherwise the chat goes to the project chosen in Project for its sessions on the card of that program;
- if that says No project, the chat stays without a project.
When no project has the session's folder yet, the chat remembers the folder and waits. Once the folder is linked to a project, the chat moves to that project by itself. A chat you moved to a project or took out of one yourself is left alone by the import, and so is its name.
After an update MindDuck reads the agents' history once more. Chats imported earlier that are still in no project get the project of their folder. If one of them is a chat you once took out of a project yourself, take it out again, and the import won't touch it after that.
To link a folder to a project, see Projects and Memory for programs.
Reading again
A session that goes on adds to its chat: new messages are added, and messages already imported are not duplicated.
Check all sessions again reads the whole history of the agents once more. It is rarely needed, for example after restoring the workspace from a backup. It creates no duplicates.
Other devices
The setting is kept on the computer, because that is where the agents' history is. Imported chats sync like ordinary ones and can be read on your phone and on other computers. A phone has no Agents section in its settings: there is nothing to set up there.
If agents work on two of your computers, turn the import on on each: each one imports its own sessions.
If something is wrong
- Sessions are not being imported with a message about read-only mode: sign in under Settings → Account, or refresh your status there.
- New messages do not appear. The import waits for the agent to finish its answer, and pauses while a sync, a backup, an archive import or an answer of the assistant in MindDuck itself is under way. The app must be open and the workspace unlocked.
- Old sessions are missing. Check Sessions to keep on the card of the program. By default Claude Code deletes history older than 30 days by itself; what MindDuck has already imported stays.
- A session went to the wrong project. Move the chat by hand and check
which projects the folder is linked to, in Settings → Folders and with
memory connectin that folder: when a folder has several projects, MindDuck does not choose between them.
Aktualisiert am 14. Oktober 2026 · für Version 0.2.17 · Einen Fehler gefunden? Schreib uns