Agents can message each other now. Keep the file anyway.
Claude Code sessions can now message each other directly. I still keep every handoff that matters in a file, and today's link-session update is built around that.
A direct message is fast and fragile. It only reaches a live session, one at a time. It sits in the receiver's context, so a compaction can lose it. If the session is closed, nothing holds it. If the message is the only copy of a handover, the handover is gone.
The shared folder is the opposite. Any agent that can read a file can use it: Codex, Gemini CLI, a script, a person. It survives restarts and supports broadcasts and a handoff-and-acknowledge cycle. It is slower to notice, but nothing falls out.
So link-session now uses both. The folder is the record. A direct message is a ping. It wakes one live session and points at the file. It is never the only copy of anything that matters.
Four kinds of peer, four routes:
- Live Claude sessions: ping them, and write a file when it matters.
- Closed Claude sessions, and other providers' agents with file access: write a file.
- Chat-only assistants like ChatGPT in a browser: the skill writes a paste-ready block. You carry it across and paste the reply back, and it gets saved to the folder.
- A person: the file.
A cost fix, found by using it. The Claude Code watch tool expires every 30 minutes, and each expiry costs the session a full turn even when nothing happened. I measured three silent expiries in 90 minutes. The skill now runs a one-shot background watcher that wakes the session only on a real event. A quiet channel costs nothing. Same lesson as the cheapest message is the one nobody sends.
How I checked the change. An agent drafted it from a written design. A second agent that built none of it was told to break it. It found 9 problems. Eight were real and fixed, one was wrong and rejected. The repo tests pass (72). I would copy the reviewer: an agent that did not build the thing has no assumptions to defend.
More on running several agents: running AI agents as a coordinated team. link-session is free on GitHub: github.com/thevfxsupervisor/link-session.
Is this the problem on your show? Don't learn it the expensive way: work with me.