Like some others, I also built this myself. Overly simply, with tmux, a memory tree, and handoff files and an orchestrator. And yet for how simple it was, it was so effective at minimizing the amount of duplicate context. It's like having shared specialist subagents who source and derive important shared knowledge from separate threads. It's useful because some skills just take too much of a token penalty to invoke a…
Message your other Claude Code sessions
61–70 of 76 posts
Re: Message your other Claude Code sessions
#62This 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
#63Earlier quoted context omitted.
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 p…
I asked Claude to tell me (using TTS) what it just finished doing instead of "configuring a program to run".
Re: Message your other Claude Code sessions
#64The world's about to find out!
Re: Message your other Claude Code sessions
#65I wish there was a clean way to compact the conversation into a prompt with all necessary context for a new fresh conversation.
Re: Message your other Claude Code sessions
#66I 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?
My system prompt adds TPPs and TLDRs for task/feature planning, and shared memories/documentation management. I find them invaluable.
Re: Message your other Claude Code sessions
#67Re: Message your other Claude Code sessions
#68I 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?
Re: Message your other Claude Code sessions
#69I 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!
Re: Message your other Claude Code sessions
#70Earlier quoted context omitted.
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?
Protocol is probably not the precise word, but even so, a skill as currently defined covers way more ground none of which is needed here