t3-fork
t3-fork
Copies a T3 Code conversation into a new thread, full history included. --first n keeps only the first n user turns; --last n keeps only the last n, with no memory of anything earlier. Forking --current drops the triggering /t3-fork turn itself by default.
Reads the session id for a thread from ~/.t3/userdata/state.sqlite (read only), copies the transcript to a new session id, and registers it through T3's own transcript importer so history shows in the UI. T3 Code must be running. Requires bun, macOS only.
--provider <name> forks into a different agent instead (codex, cursor, or a different claude model). Codex, Cursor, and Claude Code each use their own, incompatible session format, so there is no way to hand a live session to a different one. Instead the kept turns are rendered as plain text and sent as the new thread's first message: a fresh native session under the target agent, seeded with that text instead of a resumed session.