Pick up where another Claude Code or Codex session left off
A new Claude Code session starts with no memory of the last one, so to carry on its work it needs that session’s last turns, branch and files. ACTVT indexes every Claude Code and Codex session on your Mac and serves them to your agents over MCP. Ask the new session to use ACTVT: agent_sessions_query lists this repo’s sessions, and agent_resume_session returns an earlier session’s title, the files it touched, its branch and its last turns, with sensitive data masked. It never returns the full transcript. In the video, a new Claude Code session finds the agent that fixed a Stripe webhook earlier, learns it was told to hold the tests, writes them, and runs them: 7 of 7 pass. It also says what it didn’t check. The agent tools are part of the Premium tier.
0:424 chapters
Step by step
0:00Earlier: a fix, no tests
Earlier today, a Claude Code session fixed a Stripe webhook in this repo. You told it to hold the tests.
0:05Ask the new session
A new Claude Code session. Ask it to check ACTVT for where that agent left off.
0:13ACTVT has the handoff
It asks ACTVT, over MCP, for this repo’s agent sessions. One is itself. The other is the earlier Claude Code session, so it reads its last turns.
0:21It carries on
It reads the code and writes the tests that were left for later; you approve the new test file. All 7 tests pass, and it tells you where the earlier agent left off, and what it didn’t check.
Questions
- Does the new agent find ACTVT on its own?
- No. You name ACTVT in the prompt, and the agent calls ACTVT’s tools over MCP.
- Does it read the earlier session’s whole transcript?
- No. agent_resume_session returns its title, the files it touched, its branch and its last turns, with sensitive data masked, never the full transcript.
- Which plan has the agent tools?
- Premium, or the free trial.
More tutorials
All tutorials →
1:24Every machine you code on
See Claude Code, Codex and pi sessions from all your machines over SSH
Start Claude Code on another Mac over SSH, and you can follow the session from your own Mac while it runs and read the whole transcript when it’s done.
3:42Leftover ports
Find and kill the dev server Claude Code or Codex left running
Claude Code starts a dev server and then quits, and port 3000 stays taken. ACTVT shows you the server whose session is gone and lets you free the port safely.
0:48A plan-aware agent
Check your Claude and Codex plan limits before a long agent job
Before a two-hour job, Claude Code asks ACTVT how much of your plan is left. You can see the same limits in ACTVT, along with when each one resets.
Try it on your own agents
ACTVT is free to start, and reads the session files Claude Code, Codex CLI and Pi already write. Nothing to configure.