Hacker News new | ask | show | jobs
by Jeremy1026 83 days ago
What was the purpose of having Claude Code spin up two more instances of Claude Code though? What was the intended outcome there?
3 comments

I don't know about the author, but I recently saw an article where the author of Claude code apparently spins up multiple instances at once (note that it could have just been a marketing ploy to get people to use more tokens)

https://www.xda-developers.com/set-up-claude-code-like-boris...

Just use Git worktrees and a lightweight VM environment (I like macOS native sandbox-exec) and you can spawn as many sessions as you want. I've run upwards of 30 at once on my M2 Pro with no noticeable resource impact.
I would love to know more, but am so ignorant about working with multiple sessions running in parallel that I don't know where to start - do you have a blog or published article to share that might get people like me into a more educated space
Emails on my profile, I'll run you through it all on a call. No I don't but I really should actually.
Hey! No email yet. I'm not going to sell you anything btw so reach out!
I tend to have multiple sessions running when doing stuff with CC. But rarely in the same space / domain. I'll have one working on some programming task, another making changes to my NAS and another doing research for some other topic (most recently networking gear upgrade paths).
I have a `SessionEnd` hook that summarizes the conversation with a bunch of metadata, but it doesn't always fire 'cause of my habits.

So, the `SessionStart` hook was meant to catch any conversation where the `SessionEnd` hook wasn't fired.

Edit: I do realize a batch job is better. That's what I do now.

Exponential productivity gains?;)