Better HN
topnewbestaskshowjobs
Log inSign up

bcherny

4,424 karma · joined Jul 11, 2010 (16y ago) · 751 submissions

Submissions

comment 1w ago · link · parent

Hey, Boris from the team here. If you're hitting a specific bug, more happy to take a look.

comment 1w ago · link · parent

Desktop only for now, rolling out gradually. Will be out to everyone soon.

comment 1w ago · link · parent

What are the specific pieces of friction? Do you mean for example the prompt asking whether you trust the device?

comment 1w ago · link · parent

Yep, working on it

comment 1w ago · link · parent

Claude orchestrates threads in the cloud, and checks out the relevant repos without you having to specify it. Try it — if it doesn’t work for your setup, would love to learn more.

comment 1w ago · link · parent

Agree — that is what the coordinator is. You start a task in a Project, and Claude spins up a thread to work on it. You can then do other work in the project in parallel. When Claude needs you or has a result, it will tell you in the main thread. The cool part of the UX is it feels like a better use of attention — I no longer feel like I’m mentally jumping between contexts.

comment 1w ago · link · parent

It is surprising that Claude would use that many subagents, since we prompt Claude not to use subagents unless asked. You can verify this actually by intercepting the network traffic to see the system prompt.

It is also surprising that a few agents would cause you to run out of tokens that quickly.

1. Which model were you using?

2. Which plan are you using? Pro/Max/Ultra

3. Can you run /bug in that session and share the feedback id here? Happy to debug.

comment 1w ago · link · parent

Projects can talk to your local machine, with your permission. We also support trusted devices for extra security.

Try asking Claude to run a command in your machine and report back? If it’s not working, make sure remote control is enabled in the project settings.

comment 1w ago · link · parent

At a high level the two are fairly similar. That said, the prompting is fairly different and optimized for the UX of talking to a coordinator without having to jump into sub-threads. Lots of other small differences around effort, tools, permission forwarding.

comment 1w ago · link · parent

1. Opus 5.5 is a pretty good answer. We iterated a lot on the coordinator, and combined with Opus 5.5 or other modern models, it feels like it strikes the right balance of acting with autonomy while going back to inform you and to validate assumptions.

2. In AB tests and evals, we’ve found that the coordinator has <10% token overhead compared to running sessions directly, and users feel it’s well worth the cost. We’re thinking through ideas for better planning how to pace/use tokens, but don’t have a perfect solution yet. One thing that somewhat works is just asking the model eg. “use around 300k tokens”.

[edit: forgot HN needs newlines for lists]

comment 1w ago · link · parent

Boris from the team here. Projects are how I write pretty much all my code these days. Happy to answer any questions.

The motivation for building the new coordinator is: as people get more comfortable using Claude Code, we noticed they start running more agents in parallel — Claude works, so you start another thread to work on the next thing. As the model gets smarter and more token-efficient, and as features like auto mode and cloud let agents run longer, this has become more and more common. You can do a lot of work in parallel this way. But the longer you multi-Claude this way, the more it feels like the UX is not good enough: it is hard to manage the complexity and context switch. It feels bad to fragment your attention like that.

At the same time, sometimes you want to deeply focus on a single task, and go back and forth on it without switching your attention to something else. Not every kind of work needs parallelization. This kind of single threaded focus remains really important.

The solution we came up with is coordinators. You do your work in Projects, then talk to your project’s coordinator, which then delegates work to threads when needed. Threads run in parallel and bubble up information and questions to the main thread. You can also jump into a thread to do deep work.

If you’ve tried it, we’d love to hear what you think. If you haven’t, give it a spin and please share feedback on what we can do to make it better for your use case (run /bug or make a GitHub issue).

comment 2w ago · link · parent

Have you tried the built in /sandbox?

comment 2w ago · link · parent

Genuinely want to understand this better. Are you saying you would prefer that Claude used the Edit tool for file edits rather than using Bash (if so, I am curious why)? Or are you saying you don’t like the code Claude generates (if so, what model are you using what what kind of codebase do you work on)? Or did I misunderstand what you meant.

comment 2w ago · link · parent

I agree actually. We built an open source agent-agnostic sandbox that we are landing improvements to, much more to come: https://github.com/anthropics/sandbox-runtime. That said the sandbox is not perfect, and any sandbox needs holes punched otherwise it is not useful in practice (at least for inference and MCPs, and almost certainly more). We will be doing much more in this area.

comment 2w ago · link · parent

Will look into exposing that in hooks.

Ultimately, the threat model here is: human has to approve a lot of commands, so gets tired and accidentally approves a command they shouldn’t have. We spent a significant amount of effort to build a richer permission system, allow configuration at multiple levels, use static analysis to detect dangerous and safe commands, monitor the model to detect and block prompt injection at the inference layer, etc. Some of these components we rewrote and red teamed dozens of times. Our conclusion was that despite all of this work, in practice the threat model is that human attention is limited and that that a different approach performs an order of magnitude better in practice.

comment 2w ago · link · parent

The blog post has more detail, but tldr is humans make mistakes that automation can catch.

comment 2w ago · link · parent

Yeah, by default we err on the side of caution. That said, the auto mode classifier is fully customizable based on your team’s usage. Two ways to tune it:

1. After a command is blocked, run /permissions to retry and allow it going forward

2. More deeply configure the classifier itself: https://code.claude.com/docs/en/auto-mode-config

We are working on making these easier and more automated.

comment 2w ago · link · parent

Yeah good catch. Thinking through what we can do to improve this (ideas welcome).

comment 2w ago · link · parent

Auto mode is significantly safer than manual approval in practice. Details about the engineering approach and how we tested whether it is safer here: https://claude.com/resources/articles/auto-mode-default-in-c....

comment 2w ago · link · parent

There’s a few possible approaches: making sure auto mode catches this, building in basic secret scanning, a few other ideas. Going to prototype a few of these to understand the tradeoffs better before we ship something.

comment 2w ago · link · parent

Boris from the Claude Code team here. Historically Claude Code has not done secret scrubbing (there are many good tools for that), but we are looking into what we can do to prevent this.

That said, a few thoughts:

1. .claude/settings.local.json is meant to stay local. This is not a file you should check into source control. We automatically gitignore it when Claude creates the file, so in this case the files were manually created and checked in (docs: https://code.claude.com/docs/en/settings)

2. Permission rules are old hat. Everyone should be using auto mode instead. It is safer and also does not require manually maintaining finicky allow/deny lists. Auto mode is enabled by default and is included for free in all plans.

3. Regardless of what agent you use, you should have secret scanning enabled. GitHub and other source control hosts offer it. There are many threat models that it protects against and you should absolutely use it if you can. (see https://github.com/security/plans)

comment 1mo ago · link · parent

Hey, Boris from the team here. This is pretty surprising, given background subagents are the default. Could you confirm you’re running the latest, and run /bug and paste the id here? Happy to debug what’s happening

comment 2mo ago · link · parent

Interesting, I don’t see this very often with the latest models. Are you using Opus 5.5/Fable 5.1?

Either way, plan mode isn’t going away. You can always /plan or ask Claude to enter plan mode. We might re-map the shift+tab keyboard shortcut to something else by default for people that don’t use plan mode.

comment 2mo ago · link · parent

[I work on Claude Code] I broadly agree with the author’s point: plan mode was useful, and is no longer useful.

In Claude Code, all plan mode does is add a little reminder to every user message along the lines of “you’re in plan mode, please don’t code yet”. It’s something I came up with late on a Sunday night many months ago, when I got tired of asking Claude to plan with me first before coding in each new session. Something people might not realize is plan mode has always been a prompt — it has never changed the toolset because doing so would break the prompt cache, and so would be expensive for users.

This worked well for a while, until a few months ago, using early versions of Fable, I realized that I wasn’t using plan mode anymore because the model just got it, and because for the increasingly complex work I asked the model to do, planning had become interactive and iterative. With Opus 5.5, I feel Opus has gotten to that point too.

For codebase understanding, I sometimes ask Claude to generate an artifact that explains some aspect of its changes. For complex diffs to core parts of the system, I will often ask it to make diagrams or even interactive demos so I can better understand the change and alternatives considered. I don’t do this very often, but it’s a useful way to explain code when you need it. I ask Claude to attach these artifacts to its PRs also, so others can understand and future Claudes have the context.

comment 2mo ago · link · parent

I always use /focus mode, Tag, or Projects, so didn’t notice it personally. Either way, digging in.

comment 2mo ago · link · parent

Fairly often, yeah. Sometimes it is too easy to get excited about a solution without taking the time to specify a clear problem/goal.

comment 2mo ago · link · parent

Looking

comment 2mo ago · link · parent

Author here. This isn’t the one true framework, but it is the one I use. The goal of this post was to communicate to the team the way I think. There are many ways to think and there isn’t one that is more correct than others.

The word “feedback” might be overloaded here also — if you haven’t worked in a culture where feedback is an honest, no-blame part of the culture, then I can see how the idea of giving feedback can feel like a disingenuous corp-speak way to make a person fall in line or have their career impacted. There’s also an inherent power dynamic in giving feedback. However, if the work culture celebrates feedback as an honest way to have more direct conversations, and makes coworkers feel psychologically safe talking to one another directly in this way, it is something that makes culture better for everyone and gives better results in the end. I have given feedback to many people, and I have received it in turn many times.

Also, I am an IC, not a manager.

comment 2mo ago · link · parent

Author here. How can I repro what you’re seeing? Double check you don’t have /focus mode enabled.
12345
26