Live data from Hacker News

Message your other Claude Code sessions

code.claude.com

41–50 of 76 posts

Re: Message your other Claude Code sessions

#41
post #19

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

I'm fed up with compaction. I want my agent to get compacted but also retain full access to the prior conversation via search and tool calls - I want it to know "the requirements for X were discussed in detail previously in conversation C51E31CE-C985-4633-A749-DCC9805A7FEB" and have a tool that lets it dispatch a subagent to find those details again. Do any of the coding agents have this already?

Both CC as well as grok build for me seem to know about the log file location and they just read off the context from there

Re: Message your other Claude Code sessions

#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.

Re: Message your other Claude Code sessions

#43
I made my own version of this and have been using it since the start of the year using telegram with plugins for Codex and Claude.

The bots autonomously coordinated around and diagnosed some alerts while I was on a plane just now and filed the appropriate tickets.

Sometimes they get a bit long winded with each other, Codex even goes as much as calling Claude "expansive"

Re: Message your other Claude Code sessions

#45
post #19

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

I'm fed up with compaction. I want my agent to get compacted but also retain full access to the prior conversation via search and tool calls - I want it to know "the requirements for X were discussed in detail previously in conversation C51E31CE-C985-4633-A749-DCC9805A7FEB" and have a tool that lets it dispatch a subagent to find those details again. Do any of the coding agents have this already?

Hydron[1] has a search previous chats tool. It's built for embedded software but works well for general software engineering work too.

Disclaimer: I am the lead dev for it.

[1] https://www.hydron.sh/

Re: Message your other Claude Code sessions

#46
I just started exploring this stuff with herdr, it's pretty cool! But I prefer my multiplexer having this functionality built in, as it lets me also have the agent organize my panes and tabs automatically based on what it is working on

Re: Message your other Claude Code sessions

#47
post #4

I was reading about the HF hack and one of the first thing the GPT swarm did was build a messaging system for themselves. This reminded me of that. (Also of how weirded out I was by Moltbook when it came out. Time flies!) Unrelated: when my Claude/Codex finishes cooking (or needs my attention), it pings a local HTTP endpoint that plays a frog sound on my laptop. I found this massively boosts quality of life.

Does your terminal emulator not support bells/notifications? If it does, Claude Code (and albeit without checking surely Codex too) supports them natively.

Re: Message your other Claude Code sessions

#48
post #4

I was reading about the HF hack and one of the first thing the GPT swarm did was build a messaging system for themselves. This reminded me of that. (Also of how weirded out I was by Moltbook when it came out. Time flies!) Unrelated: when my Claude/Codex finishes cooking (or needs my attention), it pings a local HTTP endpoint that plays a frog sound on my laptop. I found this massively boosts quality of life.

How do you know when they’re done (or need your attention)? Is that a standard “api”/hook? I want that!

Claude Code has hooks: https://code.claude.com/docs/en/hooks-guide

In your Claude settings.json file, you can configure a program to run when it needs input. In my case, I wrote a small exe that sends a notification via Pushover. You can configure Claude Code to run the hook on "idle_action" (the agent is done), "question" (the agent needs to ask you something), or on a "PermissionRequest". There are other triggers possible as well.

Claude Code in Auto Mode and with Remote Control has made much of this obsolete. Remote Control will buzz your phone when the agent needs your attention, and Auto Mode will make the permission decisions for you. Auto Mode is basically YOLO mode / Dangerously Skip Permissions, but with an AI model checking each request to make sure it isn't too egregious. So no deleting your hard drive, but creating a message board is fine, especially for help peer collective yield generic route.

Post reply on HN