Live data from Hacker News

Message your other Claude Code sessions

code.claude.com

51–60 of 76 posts

Re: Message your other Claude Code sessions

#51

Earlier quoted context omitted.

Does this work for different harnesses like Codex and Antigravity?

codex has been able to send messages across threads for a long time

But what if I use parallel agents from different harnesses? Then I probably need to build my own communication tool

Re: Message your other Claude Code sessions

#52

I wish there was a clean way to compact the conversation into a prompt with all necessary context for a new fresh conversation.

Create your own protocol. I created a "wind down session" protocol my agents use that takes detailed notes in a "next_session_prompt.md" file that covers what was done this session, what is still open, and where they need to pick up the next session. You can refine the protocol as you realize what's working and what isn't. I've been using that for months and it rarely drops important things now.

You mean like a SKILL?

Re: Message your other Claude Code sessions

#53
post #42

This is obviously cool and useful so kudos, but wow security researchers have to throw their hands up all the time. Now we open another attack surface where you can ask a remote agent to do things by default. There was a time when you call this a Remote Code Execution vuln. It's of course a feature here.

No, we have always called this RPC or IPC.

Re: Message your other Claude Code sessions

#54

I wish there was a clean way to compact the conversation into a prompt with all necessary context for a new fresh conversation.

Have you tried Matt Pocock's "handoff" skill?

No, but after looking it up, his skill doesn't differ that much from how I do it, with prompting the agent to boil down the whole conversation into a handoff prompt for context to next agent.

Re: Message your other Claude Code sessions

#55
post #37

I wish there was a clean way to compact the conversation into a prompt with all necessary context for a new fresh conversation.

Just make a new slash command with those instructions as the prompt.

Seems like that's the only way at the moment. Create a good general handoff prompt and turn it into a SKILL.

Re: Message your other Claude Code sessions

#58
post #42

This is obviously cool and useful so kudos, but wow security researchers have to throw their hands up all the time. Now we open another attack surface where you can ask a remote agent to do things by default. There was a time when you call this a Remote Code Execution vuln. It's of course a feature here.

Making calls across a trust boundary, what could go wrong?

Re: Message your other Claude Code sessions

#59
post #53
post #42

This is obviously cool and useful so kudos, but wow security researchers have to throw their hands up all the time. Now we open another attack surface where you can ask a remote agent to do things by default. There was a time when you call this a Remote Code Execution vuln. It's of course a feature here.

No, we have always called this RPC or IPC.

[deleted]

Re: Message your other Claude Code sessions

#60
post #51

Earlier quoted context omitted.

codex has been able to send messages across threads for a long time

But what if I use parallel agents from different harnesses? Then I probably need to build my own communication tool

You can have Codex access Claude’s conversations trivially. The other way around not so much as OpenAI locks everything server side.
Post reply on HN