Skip to content

Carry on and share

Clone a session

Carry a session on as a new one that already holds its conversation, one you imported or your own.

A clone is a new session of the same agent that already holds another session’s conversation. The agent carries on as if it had done that work itself. The original is never changed.

Terminal
wisdom clone 3f9c2a71
A recorded sessionimported, or your own
wisdom clonecopies the conversation, with a new ID
The agent opensit remembers all of it
Recorded from hereyour next prompt is its t1
  • Carry on a session shared with you. You can’t resume someone else’s recording, so a clone is how you continue it with the whole conversation, in your own checkout.
  • Try another direction in your own work, without touching the session that works.
  • Start several attempts from the same point. Each clone is a session of its own.

If you want the agent to read what happened instead of remembering it, or you want a different agent, use a handoff. If you want to go on in the same session, use resume.

Same session? What the agent knows Agent
Resume Yes Everything, as its own memory The same
Clone No, a new one Everything, as its own memory The same
Handoff A new one, or another existing one What it reads from the record Any

After wisdom share on their machine and wisdom import on yours, clone it:

Terminal
wisdom import 3f9c2a71-20261111-1402.wisdom-share
wisdom clone 3f9c2a71
Output
Cloned claude-code session 3f9c2a71-8d4e-4b1a-9c55-2e7f0b6d1a90 (shared from invoice-api), 3 turns, into new session 3bc87174-4faa-44d9-9860-2d2f81a20c60.
Wisdom records it from here on. The cloned turns stay readable in the original.
Note: 2 files differ on disk from what this session remembers: src/totals.ts, test/totals.test.ts.

Then the agent opens in your terminal, with the conversation in place. If the agent can’t start, the clone is kept and Wisdom prints the command that starts it later.

Folder paths are rewritten to your project in the copy. Paths inside old tool output stay as they were. To match their files as well, check out the commit or branch they worked on first. You still need the same agent installed and your own login.

To go on where you stopped, you usually want resume. Clone when you want a second attempt and the original left alone. There’s nothing to share or import. Use the session’s ID, its first 8 characters or more, or latest:

Terminal
wisdom glance # find it
wisdom clone 3f9c2a71
Output
Cloned claude-code session 3f9c2a71-8d4e-4b1a-9c55-2e7f0b6d1a90, 3 turns, into new session bd19c3f3-17e2-4563-8e2d-bcccd636dae3.
Wisdom records it from here on. The cloned turns stay readable in the original.
Note: 1 file differs on disk from what this session remembers: src/totals.ts.

A clone’s glance says where it came from:

Output
session bd19c3f3-17e2-4563-8e2d-bcccd636dae3 · claude-code 2.1.319 · closed (idle) · version 53
resume with: wisdom resume bd19c3f3-17e2-4563-8e2d-bcccd636dae3
…
cloned from 3f9c2a71-8d4e-4b1a-9c55-2e7f0b6d1a90 (claude-code) at version 38 · 3 turns
…
not recorded history-cloned:The first 3 turns happened in 3f9c2a71-8d4e-4b1a-9c55-2e7f0b6d1a90; their file changes were made there, not here. (seq 3)
t1 in now do the same for credit notes
  • Only prompts after the clone are its turns. The copied ones are read in the original.
  • Usage shows the copied turns as a collapsed Cloned history block that opens the original.
  • Deleting the original doesn’t delete the clone. The clone then says it came from a deleted session, and the copied turns can no longer be read in Wisdom.

In a connected project the copy goes into your own agent’s home, so it opens with your normal login. Otherwise it goes into the agent’s home inside .wisdom/.

Option What it does
--cwd DIR The project to clone in.
--trust-all-hooks Codex only: skip the hook review for every hook in that run. Only in repositories you trust.
--claude-bin, --codex-bin, --pi-entry FILE Use another installation of the agent.
  • Same agent only. A Claude Code conversation can’t become a Codex one.
  • The whole history goes to your model with the first prompt, and that usage counts. For a very long session, a handoff starts lighter.
  • It needs the agent’s transcript. A session Wisdom holds no transcript copy of can’t be cloned; Wisdom says so and suggests reading it or handing off.
  • Another login is not confirmed yet. Claude Code signs its thinking and Codex encrypts its reasoning, and whether a clone resumes under a different login than the one that recorded it hasn’t been tested. Claude Code, Codex and Pi all find and open a clone; Pi was resumed in full with a scripted model.