Live data from Hacker News

Message your other Claude Code sessions

code.claude.com

31–40 of 76 posts

Re: Message your other Claude Code sessions

#32
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?

“Search session history for when we discussed XYZ”

https://github.com/nerdyaustin/memory_mcp

You can skip all the sync stuff, not necessary at all

Re: Message your other Claude Code sessions

#33
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?

This one does agentic search instead of compaction: https://github.com/wedow/harness

Generally works quite well but it allows nested subagents and that can use a lot of tokens if the agent prompts are too open-ended.

All messages are persisted as separate markdown files under a session directory, which makes them much more friendly to grep and such than the common jsonl files are. Agents can search them rapidly without messing around with jq.

Also written in Bash so it runs on any old potato you have laying around.

Re: Message your other Claude Code sessions

#34
post #8

Tried to have Claude demo this to me in the standalone Mac OS app. It didn't even know what I was talking about. Then I realized maybe it's only in CC. So I go over to CC and ask it to demo this functionality and it wants to demo via subagents. I correct it that I want separate chats to message each other. It tells me I need to open another Claude session in another terminal of course and just leave it sitting there.…

The simplest version of this is to just tell two sessions to coordinate by taking turns appending to a markdown file.

Re: Message your other Claude Code sessions

#36
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!

I haven't really shared this outside of my immediate circle, but I actually have a project like this. It plays on ~all events at the moment but has a special multi-tone sound when an agent is done or asking permission.

It's a cli that runs a server, a browser-based UI (where the audio happens), and a set of scripts to install hooks for various harnesses.

https://github.com/neiltron/bingbong

Re: Message your other Claude Code sessions

#39
post #21

Earlier quoted context omitted.

https://github.com/mattpocock/skills/blob/main/skills/produc... > Write a handoff document summarising the current conversation so a fresh agent can continue the work. > […]

I do this a lot and you have to be really careful to clean these up or qualify/steer agents around them. They’ll often be very emphatically confident about some assumption or implication they made, and if another agent stumbles upon them they’ll get mislead. They don’t really know what they’re handing off or what you’re trying to actually do, so in a sense it’s not a grounded task for them. Actually, if you think abo…

I agree that if a sub agent could work then handoff is the wrong skill. These docs on the site agree too:

> What it buys is portability, not compression. That makes the skill narrower than it sounds. You need a file only when the work has to travel — to a new harness, a new directory, a colleague, or a side task you want to fork off. If nothing is travelling, you do not need a handoff: staying in the session, /clear, a subagent and /compact cover the ordinary end-of-phase case, and /compact covers it more often than this skill does.

https://www.aihero.dev/skills-handoff

(Emphasis mine)

Re: Message your other Claude Code sessions

#40
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?

Hydra is an agent in spirit, but actually wraps other agents through ACP. It drives its own async compaction algorithm that gives the agent it wraps full access to history that it can search as an MCP server after compacting.

https://github.com/smagnuso/hydra-acp

Post reply on HN