Skip to content

Carry on and share

Delete sessions

Remove a recorded session for good, free up space, and what stays behind.

You delete sessions in Usage; there’s no command for it. Wisdom never deletes anything on a schedule.

Open the session in Usage and press Delete. A dialog lists what goes and how big it is. Nothing is deleted until you confirm.

On the Usage overview, Storage shows the space used by each session, the database and each agent’s home. Clean up… lists sessions not active for 30 days (change the number). Pick some or choose all, and the same dialog then shows exactly what goes.

Part What happens
The session’s record and evidence Deleted. Its rows are overwritten inside the database, not only unlinked.
Its transcript and own files in the project’s agent home Deleted.
A connected session’s copy in your own agent home (~/.claude, for example) Kept, unless you tick the box. Ticked, the agent can no longer resume it. Left off, the agent still can, but Wisdom doesn’t record it again.
Prompt history all sessions share (history.jsonl, and Codex’s session_index.jsonl) Only this session’s own lines go. In your own agent home, only with the box ticked. If the agent keeps writing to the file, Wisdom leaves it as it was and says so.
Codex’s own databases Never edited, so a Codex session’s text can remain there.
Sessions that continue it or were cloned from it Kept. They now say they came from a deleted session.
Other sessions’ prompts and output Not edited, so they may still mention its ID.
A commit’s record in .git Kept. Its steps then show (session not available).

Wisdom keeps one hash of the session’s ID in .wisdom/deleted.json, so the session is never recorded again.

A model guide reads the sessions behind a commit. Once one of them is deleted, wisdom guide <commit> can’t write it any more. The plain guide still works, without the quoted request of the deleted turn.

Deleting in Usage is local. To remove a session your pushes sent, see Remove a session. Sessions shared with you have no Delete button; a teammate’s fetched session goes when the team deletes it and you run wisdom team fetch.

To remove all of a project’s recordings, and in a tracked project its agents’ logins, stop the service and delete the folder. See Uninstall.