| ▲ | bcherny 13 hours ago |
| Hey, Boris from the Claude Code team here. A few tips: 1. If there is anything Claude tends to repeatedly get wrong, not understand, or spend lots of tokens on, put it in your CLAUDE.md. Claude automatically reads this file and it’s a great way to avoid repeating yourself. I add to my team’s CLAUDE.md multiple times a week. 2. Use Plan mode (press shift-tab 2x). Go back and forth with Claude until you like the plan before you let Claude execute. This easily 2-3x’s results for harder tasks. 3. Give the model a way to check its work. For svelte, consider using the Puppeteer MCP server and tell Claude to check its work in the browser. This is another 2-3x. 4. Use Opus 4.5. It’s a step change from Sonnet 4.5 and earlier models. Hope that helps! |
|
| ▲ | epolanski 10 hours ago | parent | next [-] |
| > If there is anything Claude tends to repeatedly get wrong, not understand, or spend lots of tokens on, put it in your CLAUDE.md. Claude automatically reads this file and it’s a great way to avoid repeating yourself. Sure, for 4/5 interactions then will ignore those completely :) Try for yourself: add to CLAUDE.md an instruction to always refer to you as Mr. bcherny and it will stop very soon. Coincidentally at that point also loses tracks of all the other instructions. |
| |
| ▲ | roughly 5 hours ago | parent | next [-] | | One of the things you get an intuition for after using these systems is when to start a new conversation, and the basic rule of thumb is “always.” Use a conversation for one and only one task or question, and then start a new one. For longer projects, have the LLM write down a plan or checklist, and then have it tackle each step in a new conversation. The LLM context collapse happens well before you hit the token limits, and things like ground rules and whatnot stop influencing the LLMs outputs after a couple tens of thousands of tokens in my experience. (Similar guidance goes for writing tools & whatnot - give the LLM exactly and only what it needs back from a tool, don’t try to make it act like a deterministic program. Whether or not they’re capital-I intelligent, they’re pretty fucking stupid.) | | | |
| ▲ | bcherny 9 hours ago | parent | prev | next [-] | | Yeah, adherence is a hard problem. It should be feeling much better in newer models, especially Opus 4.5. I generally find that Opus listens to me the first time. | | |
| ▲ | frankdenbow 8 hours ago | parent | next [-] | | Have been using Opus 4.5 and can confirm this is how it feels, it just works. | | |
| ▲ | PufPufPuf 7 hours ago | parent [-] | | It also works your wallet | | |
| ▲ | wyre 4 hours ago | parent | next [-] | | Highly recommend Claude Max, but I also want to point out Opus 4.5 is the cheapest Opus has ever been. (I just learned ChatGPT 5.2 Pro is $168/1mtok. Insanity.) | |
| ▲ | fastball 6 hours ago | parent | prev | next [-] | | If you pay for a Claude Max subscription it is the same price as previous models. | |
| ▲ | shepherdjerred 4 hours ago | parent | prev [-] | | Just wait a few months -- AI has been getting more affordable _very_ quickly |
|
| |
| ▲ | hamiecod 4 hours ago | parent | prev [-] | | I’ve felt that the LLM forgets CLAUDE.md after 4-5 messages. Then, why not reinject CLAUDE.md into the context at the fifth message? |
| |
| ▲ | tclancy 4 hours ago | parent | prev | next [-] | | Yes. One of my system-wide instructions is “Read the Claude.md file and any readme in the current directory, then tell me how you slept.” If Claude makes a yawn or similar, I know it’s parsed the files. It’s not been doing so the last week or so, except for once out of five times last night. | |
| ▲ | SV_BubbleTime 9 hours ago | parent | prev | next [-] | | The number of times I’ve written “read your own fucking Claude.md file” is a bit too numerous. “You’re absolutely right! I see here you don’t want me to break every coding convention you have specified for me!” | |
| ▲ | dayjah 10 hours ago | parent | prev [-] | | The Attention algo does that, it has a recency bias. Your observation is not necessarily indicative of Claude not loading CLAUDE.md. I think you may be observing context rot? How many back and forths are you into when you notice this? | | |
| ▲ | Fargren 10 hours ago | parent | next [-] | | That explains why it happens, but doesn't really help with the problem. The expectation I have as a pretty naive user, is that what is in the .md file should be permanently in the context. It's good to understand why this is not the case, but it's unintuitive and can lead to frustration. It's bad UX, if you ask me. I'm sure there are workarounds such as resetting the context, but the point is that god UX would mean such tricks are not needed. | | |
| ▲ | girvo 10 hours ago | parent [-] | | Yeah the current best approach to aggressively compact and recreate context by starting fresh. It’s awkward and I wish I didn’t have to. | | |
| ▲ | toxic72 7 hours ago | parent [-] | | I'm surprised this hasn't been been automated yet but I'm pretty naive to the space - the problem of "when?"/"how often?" seems like a fun one to chew on |
|
| |
| ▲ | epolanski 10 hours ago | parent | prev [-] | | I know the reason, I just took the opportunity of answering to a claude dev to point out why it's no panacea and how this requires consistent context management. Real semi-productive workflow is really a "write plans in markdowns -> new chat -> implement few things -> update plans -> new chat, etc". |
|
|
|
| ▲ | sahilagarwal 43 minutes ago | parent | prev | next [-] |
| Hi Boris, If you wouldn't mind answering a question for me, it's one of the main things that has made me not add claude in vscode. I have a custom 'code style' system prompt that I want claude to use, and I have been able to add it when using claude in browser - ```
Beautiful is better than ugly. Explicit is better than implicit.
Simple is better than complex. Complex is better than complicated.
Readability counts.
Special cases aren't special enough to break the rules. Although practicality beats purity.
If the implementation is hard to explain, it's a bad idea. If the implementation is easy to explain, it may be a good idea. Trust the context you're given. Don't defend against problems the human didn't ask you to solve.
``` How can I add it as a system prompt (or if its called something else) in vscode so LLMs adhere to it? |
|
| ▲ | keepamovin 3 hours ago | parent | prev | next [-] |
| This is cool, thank you! Some things I found from my own interactions across multiple models (in addition to above): - It's basically all about the importance of (3). You need a feedback loop (we all do). and the best way is for it to change things and see the effects (ideally also against a good baseline like a test suite where it can roughly guage how close or far it is from the goal.) For assembly, a debugger/tracer works great (using batch-mode or scripts as models/tooling often choke on such interactivie TUI io). - If it keeps missing the mark tell it to decorate the code with a file log recording all the info it needs to understand what's happening. Its analysis of such logs normally zeroes the solution pretty quickly, especially for complex tasks. - If it's really struggling, tell it to sketch out a full plan in pseudocode, and explain why that will work, and analyze for any gotchas. Then to analayze the differences between the current implementation and the ideal it just worked out. This often helps get it unblocked. |
|
| ▲ | glamp 9 hours ago | parent | prev | next [-] |
| Hey Boris, I couldn't agree more. And using Plan mode was a major breakthrough for me. Speaking of Plan Mode... I was previously using it repeatedly in sessions (and was getting great results). The most recent major release introduced this bug where it keeps referring back to the first plan you made in a session even when you're planning something else (https://github.com/anthropics/claude-code/issues/12505). I find this bug incredibly confusing. Am I using Plan Mode in a really strange way? Because for me this is a showstopper bug–my core workflow is broken. I assume I'm using Claude Code abnormally otherwise this bug would be a bigger issue. |
| |
| ▲ | fourthark 3 hours ago | parent | next [-] | | Yes as lostdog says, it’s a new feature that writes plans in plan mode to ~/.claude/plans. And it thinks it needs to continue the same plan that it started. So you either need to be very explicit about starting a NEW plan if you want to do more than one plan in a session, or close and start a new session between plans. Hopefully this new feature will get less buggy. Previously the plan was only in context and not written to disk. | |
| ▲ | manmal 8 hours ago | parent | prev | next [-] | | Why don’t you reset context when working on something else? | | |
| ▲ | mrieck 44 minutes ago | parent [-] | | It’s additional features that are related. For example making a computer use agent… Made the plan, implementation was good, now I want to add a new tool for the agent, but I want to discuss best way to implement this tool first. Clearing context means Claude forgets everything about what was just built. Asking to discuss this new tool in plan mode makes Claude rewrite entire spec for some reason. As workaround, I tell Claude “looks good, delete the plan” before doing anything. I liked the old way where once you exit plan mode the plan is done, and next plan mode is new plan with existing context. |
| |
| ▲ | lostdog 8 hours ago | parent | prev [-] | | Yes, I've also been confused by things like this. Claude code is sometimes saving plans to ~/.claude/plans under animal names. But it's not really surface where the plan goes, not what the expected way to refer back to them is? |
|
|
| ▲ | malloc2048 7 hours ago | parent | prev | next [-] |
| Thank you for Claude Code (Web). Google has a similar offering with Google Jules. I got really, really bad results from Jules and was amazed by Claude Code when I finally discovered it. I compared both with the same set of prompts and Claude Code seemed to be a senior expert developer and Jules, well don't know who be that bad ;-) Anyway, I also wanted to have persistent information, so I don't have to feed Claude Code the same stuff over and over again. I was looking for similar functionality as Claude projects. But that's not available for Claude Code Web. So, I asked Claude what would be a way of achieving pretty the same as projects, and it told me to put all information I wanted to share in a file with the filename:.clinerules. Claude told me I should put that file in the root of my repository. So please help me, is your recommendation the correct way of doing this, or did Claude give the correct answer? Maybe you can clear that up by explaining the difference between the two files? |
| |
|
| ▲ | moribvndvs 11 hours ago | parent | prev | next [-] |
| Do you recommend having Claude dump your final plan into a document and having it execute from that piece by piece? I feel like when I do plan mode (for CC and competing products), it seems good, but when I tell it to execute the output is not what we planned. I feel like I get slightly better results executing from a document in chunks (which of course necessitates building the iterative chunks into the plan). |
| |
| ▲ | hebrox 2 hours ago | parent | next [-] | | I ask it to write a plan and when it starts the work, keep progress in another document and to never change the plan. If I didn't do this, somehow with each code change the plan document would grow and change. Keeping plan and progress separate prevented this from happening. | |
| ▲ | hamiecod 4 hours ago | parent | prev | next [-] | | I ask claude to dump the plan into a file and ensure that the tasks have been split into subtasks such that the description of each subtask meets the threshold such that the probability of the LLM misinterpreting is very low. | |
| ▲ | justatdotin 11 hours ago | parent | prev | next [-] | | a very common pattern is planner / executor. yes the executor only needs the next piece of the plan. I tend to plan in an entirely different environment, which fits my workflow and has the added benefit of providing a clear boundary between the roles. I aim to spend far more time planning than executing. if I notice getting more caught up in execution than I expected, that's a signal to revise the plan. | |
| ▲ | danenania 10 hours ago | parent | prev [-] | | I often use multiple documents to plan things that are too large to fit into a single planning mode session. It works great. You can also use it in conjunction with planning mode—use the documents to pin everything down at a high-to-medium level, then break off chunks and pass those into planning mode for fine-grained code-level planning and a final checking over before implementation. |
|
|
| ▲ | dotancohen 13 hours ago | parent | prev | next [-] |
| > I add to my team’s CLAUDE.md multiple times a week.
How big is that file now? How big is too big? |
| |
| ▲ | kxrm 11 hours ago | parent | next [-] | | Something to keep in mind is if your CLAUDE.md file is getting large, consider alternative approaches especially for repeatable tasks. Using slash commands and skills for workflows that are repeatable is a really nice way to keep your rules file from exploding. I have slash commands for code review, and git commit management. I have skills for complex tool interactions. Our company has it's own deployment CLI tool so using skills to make Claude Code an expert at using this tool has done wonders to improve Claude Codes performance when working on CI/CD problems. I am currently working on a new slash command /investigate <service> that runs triage for an active or past incident. I've had Claude write tools to interact with all of our partner services (AWS, JIRA, CI/CD pipelines, GitLab, Datadog) and now when an incident occurs it can quickly put together an early analysis of a incident finding the right people to involve (not just owners but people who last touched the service), potential root causes including service dependency investigations. I am putting this through it's paces now but early results are VERY good! | |
| ▲ | bcherny 13 hours ago | parent | prev [-] | | Try to keep it under 1k tokens or so. We will show you a warning if it might be too big. Ours is maybe half that size. We remove from it with every model release since smarter models need less hand-holding. You can also break up your CLAUDE.md into smaller files, link CLAUDE.mds, or lazy load them only when Claude works in nested dirs. https://code.claude.com/docs/en/memory | | |
| ▲ | bgilly 10 hours ago | parent | next [-] | | I’ve been fine tuning mine pretty often. Do you have any Claude.md files you can share as good examples? Especially with opus 4.5. And thank you for your work!! I focus all of my energy on helping families stay safe online, I make educational content and educational products (including software). Claude Code has helped me amplify my efforts and I’m able to help many more families and children as a result. The downstream effects of your work on Claude Code are awesome! I’ve been in IT since 1995 and your tools are the most powerful tools I’ve ever used, by far. | |
| ▲ | blobbers 11 hours ago | parent | prev | next [-] | | 1k tokens, google says thats about 750 words. That's actually pretty short, any chance you could post a few samples of instructions or even link to a publicly available file CLAUDE.md you recommend? | | |
| ▲ | dotancohen 11 hours ago | parent | next [-] | | That is seriously short. I've asked Claude Code to add instructions to CLAUDE.md and my one line request has resulted in tens of lines added to the file. | | |
| ▲ | hanska 9 hours ago | parent [-] | | yes if you tell llm to do things it will be too verbose. either explicitly instruct the length ("add 5 lines bulletpoints, tldr format") or just write it yourself. |
| |
| ▲ | songodongo 5 hours ago | parent | prev [-] | | crickets |
| |
| ▲ | tomviner 12 hours ago | parent | prev [-] | | How do you know what to remove? |
|
|
|
| ▲ | mraza007 3 hours ago | parent | prev | next [-] |
| +1 on that
Opus 4.5 is a game changer
I have used to refactor and modernize one of my old react project using bootstrap,
You have to be really precise when prompting and having solid CLAUDE.md works really well |
|
| ▲ | tlarkworthy 10 hours ago | parent | prev | next [-] |
| also after you have a to-and-fro to course correct it on a task, run this self-reflection prompt https://gist.github.com/a-c-m/f4cead5ca125d2eaad073dfd71efbc... That will moves stuff that required manually clarifying back into the claude.md (or a useful subset you pick). It does a much better job of authoring claude.md than I do. |
|
| ▲ | cafebeen 12 hours ago | parent | prev | next [-] |
| Thanks for your work great work on Claude Code! One other feature with CLAUDE.md I’ve found useful is imports: prepending @ to a file name will force it to be imported into context. Otherwise, whether a file is read and loaded to context is dependent on tool use and planning by the agent (even with explicit instructions like “read file.txt”). Of course this means you have to be judicial with imports. |
|
| ▲ | Etheryte 10 hours ago | parent | prev | next [-] |
| Hah, that's funny. Claude can't help but mess all the comments in the code up even if I explicitly tell it to not change any comments five times. That's literally the experience I had before opening this thread, never mind how often it completely ignores CLAUDE.md. |
|
| ▲ | ed4bb9fb7c 3 hours ago | parent | prev | next [-] |
| > 1. If there is anything Claude tends to repeatedly get wrong, not understand, or spend lots of tokens on, put it in your CLAUDE.md. What a joke. Claude regularly ignores the file. It is a toss up: we were playing a game at work to guess which items will it forget first: to run tests, formatter, linter etc. This is despite items saying ABSOLUTELY MUST, you HAVE To and so long. I have cancelled my Claude Max subscription. At least Codex doesn’t tell me that broken tests are unrelated to its changes or complain that fixing 50 tests is too much work. |
|
| ▲ | dmd 10 hours ago | parent | prev | next [-] |
| I would LOVE to use Opus 4.5, but it means I (a merely Pro peon) can work for maybe 30 minutes a day, instead of 60-90. |
| |
| ▲ | koolba 2 hours ago | parent [-] | | I’m old enough to remember being able to work at programming related tasks without any such tools. Is that not still a thing? |
|
|
| ▲ | matt3210 11 hours ago | parent | prev | next [-] |
| I’ve yet to see any real work get done with agents. Can you share examples or videos of real production level work getting done? Maybe in a tutorial format? My current understanding is that it’s for demos and toy projects |
| |
| ▲ | MontyCarloHall 9 hours ago | parent | next [-] | | Good question. Why hasn't there been a profusion of new game-changing software, fixes to long-standing issues in open-source software, any nontrivial shipped product at all? Heck, why isn't there a cornucopia of new apps, even trivial ones? Where is all the shovelware [0]? Previous HN discussion here [1]. Don't get me wrong, AI is at least as game-changing for programming as StackOverflow and Google were back in the day. I use it every day, and it's saved me hours of work for certain specific tasks [2]. But it's simply not a massive 10x force multiplier that some might lead you to believe. I'll start believing when maintainers of complex, actively developed, and widely used open-source projects (e.g. ffmpeg, curl, openssh, sqlite) start raving about a massive uptick in positive contributions, pointing to a concrete influx of high-quality AI-assisted commits. [0] https://mikelovesrobots.substack.com/p/wheres-the-shovelware... [1] https://news.ycombinator.com/item?id=45120517 [2] https://news.ycombinator.com/item?id=45511128 | | |
| ▲ | jerf 7 hours ago | parent | next [-] | | "Heck, why isn't there a cornucopia of new apps, even trivial ones?" There is. We had to basically create a new category for them on /r/golang because there was a quite distinct step change near the beginning of this year where suddenly over half the posts to the subreddit were "I asked my AI to put something together, here's a repo with 4 commits, 3000 lines of code, and an AI-generated README.md. It compiles and I may have even used it once or twice." It toned down a bit but it's still half-a-dozen posts a day like that on average. Some of them are at least useful in principle. Some of them are the same sorts of things you'd see twice a month, only now we can see them twice a week if not twice a day. The problem wasn't necessarily the utility or the lack thereof, it was simply the flood of them. It completely disturbed the balance of the subreddit. To the extent that you haven't heard about these, I'd observe that the world already had more apps than you could possibly have ever heard about and the bottleneck was already marketing rather than production. AIs have presumably not successfully done much about helping people market their creations. | |
| ▲ | hansmayer 9 hours ago | parent | prev | next [-] | | Well, the LLM industry is not completely without results. We do have ever increasing frequency of outages in major Internet services...Somehow correlates with the AI mandates major tech corps seem to pushing now internally. | |
| ▲ | amirhirsch 7 hours ago | parent | prev | next [-] | | The effect of these tools is people losing their software jobs (down 35% since 2020). Unemployed devs aren’t clamoring to go use AI on OSS. | | |
| ▲ | majewsky 6 hours ago | parent | next [-] | | Wasn't most of that caused by that one change in 2022 to how R&D expenses are depreciated, thus making R&D expenses (like retaining dev staff) less financially attractive? Context: This news story https://news.ycombinator.com/item?id=44180533 | | |
| ▲ | amirhirsch 3 hours ago | parent [-] | | Probably also end of ZIRP and some “AI washing” to give the illusion of progress |
| |
| ▲ | KetoManx64 7 hours ago | parent | prev [-] | | Same thing happened to farmers during the industrial revolution, same thing happened to horse drawn carriage drivers, same thing happened to accountants when Excel came along, mathmaticins, and on and on the list goes. Just part of human peogress. |
| |
| ▲ | cageface 7 hours ago | parent | prev [-] | | As another example, the MacApps Reddit has been flooded with new apps recently. |
| |
| ▲ | spreiti 9 hours ago | parent | prev | next [-] | | I use GitHub Copilot in Intellij with Claude Sonnet and the plan mode to implement complete features without me having to code anything. I see it as a competent software developer but one that doesn't know the code base. I will break down the tasks to the same size as if I was implementing it. But instead of doing it myself, I roughly describe the task on a technical level (and add relevant classes to the context) and it will ask me clarifying questions. After 2-3 rounds the plan usually looks good and I let it implement the task. This method works exceptionally well and usually I don't have to change anything. For me this method allows me to focus on the architecture and overall structure and delegate the plumbing to Copilot. It is usually faster than if I had to implement it and the code is of good quality. The game changer for me was plan mode. Before it, with agent mode it was hit or miss because it forced me to one shot the prompt or get inaccurate results. | | |
| ▲ | madcocomo 4 hours ago | parent | next [-] | | My experience is that GitHub Copilot works much better in VS Code than Intellij. Now I have to open them together to work on one single project. | |
| ▲ | hansmayer 9 hours ago | parent | prev [-] | | Yeah, but what did you produce with it in the end? Show us the end result please. | | |
| ▲ | williamcotton 8 hours ago | parent | next [-] | | I've been writing an experimental pipeline-based web app DSL with Claude Code for the last little while in my spare time. Sort of bash-like with middleware for lua, jq, graphql, handlebars, postgres, etc. Here's an already out of date and unfinished blog post about it: https://williamcotton.com/articles/introducing-web-pipe Here's a simple todo app: https://github.com/williamcotton/webpipe/blob/webpipe-2.0/to... Check out the BDD tests in there, I'm quite proud of the grammar. Here's my blog: https://github.com/williamcotton/williamcotton.com/blob/mast... It's got an LSP as well with various validators, jump to definitions, code lens and of course syntax highlighting. I've yet to take screenshots, make animated GIFs of the LSP in action or update the docs, sorry about that! A good portion of the code has racked up some tech debt, but hey, it's an experiment. I just wanted to write my own DSL for my own blog. | |
| ▲ | spreiti 9 hours ago | parent | prev [-] | | I cannot show it because the code belongs to my employer. | | |
| ▲ | hansmayer 9 hours ago | parent [-] | | Ah yes of course. But no one asked for the code really. Just show us the app. Or is it some kinda super-duper secret military stuff you are not even supposed to discuss, let alone show. | | |
| ▲ | spreiti 40 minutes ago | parent [-] | | It is neither of these. It's an application that processes data and is not accessible outside of the companies network. Not everything is an app. I described my workflow that has been a game changer for me, hoping it might be useful to another person because I have struggled to use LLMs for more than a Google replacement. As an example, one task of the feature was to add metrics for observability when the new action was executed. Another when it failed. My prompt: Create a new metric "foo.bar" in MyMetrics when MyService.action was successful and "foo.bar.failed" when it failed. I review the plan and let it implement it. As you can see it's a small task and after it is done I review the changes and commit them. Rinse and repeat. I think the biggest issue is that people try to one shot big features or applications. But it is much more efficient to me to treat Copilot as a smart pair programming partner. There you also think about and implement one task after the other. |
|
|
|
| |
| ▲ | cachvico 7 hours ago | parent | prev | next [-] | | Here's one - https://apps.apple.com/us/app/pistepal/id6754510927 The app is definitely still a bit rough around the edges but it was developed in breakneck speed over the last few months - I've probably seen an overall 5x acceleration over pre-agentic development speed. | |
| ▲ | PaulHoule 10 hours ago | parent | prev | next [-] | | I use Junie to get tasks done all the time. For instance I had two navigation bars in an application which had different styling and I told it make the second one look like the first and... it made a really nice patch. Also if I don't understand how to use some open source dependency I check the project out and ask Junie questions about it like "How do I do X?" or "How does setting prop Y have the effect of Z?" and frequently I get the right answer right away. Sometimes I describe a bug in my code and ask if it can figure it out and often it does, ask for a fix and often get great results. I have a React application where the testing situation is FUBAR, we are stuck on an old version of React where tests like enzyme that really run react are unworkable because the test framework can never know that React is done rendering -- working with Junie I developed a style of true unit tests for class components (still got 'em) that tests tricky methods in isolation. I have a test file which is well documented explaining the situation around tests and ask "Can we make some tests for A like the tests in B.test.js, how would you do that?" and if I like the plan I say "make it so!" and it does... frankly I would not be writing tests if I didn't have that help. It would also be possible to mock useState() and company and might do that someday... It doesn't bother me so much that the tests are too tightly coupled because I can tell Junie to fix or replace the tests if I run into trouble. For me the key things are: (1) understanding from a project management perspective how to cut out little tasks and questions, (2) understanding enough coding to know if it is on the right track (my non-technical boss has tried vibe coding and gets nowhere), (3) accepting that it works sometimes and sometimes it doesn't, and (4) recognizing context poisoning -- sometimes you ask it to do something and it gets it 95% right and you can tell it to fix the last bit and it is golden, other times it argues or goes in circles or introduces bugs faster than it fixes them and as quickly as you can you recognize that is going on and start a new session and mix up your approach. | | |
| ▲ | matt3210 10 hours ago | parent | next [-] | | Manually styling two similar things the same way is a code smell. Ask the ai to make common components and use them for both instead of brute forcing them to look similar. | | |
| ▲ | PaulHoule 9 hours ago | parent [-] | | Yeah, I thought about this in that case. I tend to think the way you do to the extent that it is sometimes a source of conflict with other people I work with. These navbars are similar but not the same, both have a pager but they have other things, like one has some drop downs and the other has a text input. Styled "the same" means the line around the search box looks the same as the lines around the numbers in the pager, and Junie got that immediately. In the end the patch touched css classes in three lines of one file and added a css rule -- it had the caveat that one of the css classes involved will probably go away when the board finally agrees to make a visual change we've been talking about for most of a year but I left a comment in the first navbar warning about that. There are plenty of times I ask Junie to try to consolidate multiple components or classes into one and it does that too as directed. | | |
| |
| ▲ | matt3210 10 hours ago | parent | prev [-] | | This is a lot of good reasons not to use it yet IMO |
| |
| ▲ | 10 hours ago | parent | prev | next [-] | | [deleted] | |
| ▲ | danenania 10 hours ago | parent | prev [-] | | I know of many experienced and capable engineers working on complex stuff who are driving basically all their development through agents. This includes production level work. This is the norm now in the SV startup world at least. You don't just YOLO it. You do extensive planning when features are complex, and you review output carefully. The thing is, if the agent isn't getting it to the point where you feel like you might need to drop down and edit manually, agents are now good enough to do those same "manual edits" with nearly 100% reliability if you are specific enough about what you want to do. Instead of "build me x, y, z", you can tell it to rename variables, restructure functions, write specific tests, move files around, and so on. So the question isn't so much whether to use an agent or edit code manually—it's what level of detail you work at with the agent. There are still times where it's easier to do things manually, but you never really need to. | | |
| ▲ | matt3210 10 hours ago | parent [-] | | Can you show some example? I feel like there would be streams or YouTube lets plays on this if it was working well | | |
| ▲ | sixtyj 10 hours ago | parent | next [-] | | I would like to see it as well. It seems to me that everybody sells shovels only. But nobody haven’t seen gold yet. :) | |
| ▲ | shsush 10 hours ago | parent | prev | next [-] | | The real secret to agent productivity is letting go of your understanding of the code and trusting the AI to generate the proper thing. Very pro agent devs like ghuntley will all say this. And it makes sense. For most coding problems the challenge isn’t writing code. Once you know what to write typing the code is a drop in the bucket. AI is still very useful, but if you really wanna go fast you have to give up on your understanding. I’ve yet to see this work well outside of blog posts, tweets, board room discussions etc. | | |
| ▲ | submain 9 hours ago | parent | next [-] | | > The real secret to agent productivity is letting go of your understanding of the code and trusting the AI to generate the proper thing The few times I've done that, the agent eventually faced a problem/bug it couldn't solve and I had to go and read the entire codebase myself. Then, found several subtle bugs (like writing private keys to disk even when that was an explicit instruction not to). Eventually ended up refactoring most of it. It does have value on coming up with boilerplate code that I then tweak. | | |
| ▲ | maplethorpe 8 hours ago | parent [-] | | You made the mistake of looking at the code, though. If you didn't look at the code, you wouldn't have known those bugs existed. | | |
| ▲ | PunchyHamster 5 hours ago | parent [-] | | fixing code now is orders of magnitude cheaper than fixing it in month or two when it hits production. which might be fine if you're doing proof of concept or low risk code, but it can also bite you hard when there is a bug actively bleeding money and not a single person or AI agent in the house that knows how anything work |
|
| |
| ▲ | urig 9 hours ago | parent | prev | next [-] | | That's just irresponsible advice. There is so little actual evidence of this technology being able to produce high quality maintainable code that asking us to trust it blindly is borderline snake-oil peddling. | | |
| ▲ | hansmayer 9 hours ago | parent [-] | | Not borderline - it is just straight snake-oil peddling. | | |
| ▲ | _zoltan_ 7 hours ago | parent [-] | | yet it works? where have you been for the last 2 years? calling this snake oil is like when the horse carriage riders were against cars. |
|
| |
| ▲ | Kubuxu 9 hours ago | parent | prev | next [-] | | I don’t see how I would feel comfortable pushing the current output of LLMs into high-stakes production (think SLAs, SRE). Understanding of the code in these situation is more important than the code/feature existing. | | |
| ▲ | shsush 9 hours ago | parent | next [-] | | I agree and am the same. Using them to enhance my knowledge and as well as autocomplete on steroids is the sweet spot. Much easier to review code if im “writing” it line by line. I think the reality is a lot of code out there doesn’t need to be good, so many people benefit from agents etc. | |
| ▲ | danenania 9 hours ago | parent | prev [-] | | You can use an agent while still understanding the code it generates in detail. In high stakes areas, I go through it line by line and symbol by symbol. And I rarely accept the first attempt. It’s not very different from continually refining your own code until it meets the bar for robustness. Agents make mistakes which need to be corrected, but they also point out edge cases you haven’t thought of. |
| |
| ▲ | heavyset_go 6 hours ago | parent | prev | next [-] | | > The real secret to agent productivity is letting go of your understanding of the code This is negligence, it's your job to understand the system you're building. | |
| ▲ | hansmayer 9 hours ago | parent | prev | next [-] | | Not to blow your bubble, but I've seen agents expose Stripe credentials by hardcoding them as text into a react frontend app, so, no kids, do not "let go" of code understanding, lest you want to appear as the next story along the lines of "AI dropped my production database". | |
| ▲ | yonaguska 6 hours ago | parent | prev [-] | | This is sarcasm right? | | |
| ▲ | PunchyHamster 5 hours ago | parent [-] | | I wish, that's dev brain on AI sadly. We've been unfucking architecture done like that for a month after the dev that had hallucination session with their AI left. |
|
| |
| ▲ | danenania 10 hours ago | parent | prev | next [-] | | A lot of that would be people working on proprietary code I guess. And most of the people I know who are doing this are building stuff, not streaming or making videos. But I'm sure there must be content out there—none of this is a secret. There are probably engineers working on open source stuff with these techniques who are sharing it somewhere. | | | |
| ▲ | hansmayer 9 hours ago | parent | prev [-] | | +1 here. Lets see those productivity gains! |
|
|
|
|
| ▲ | kelvinjps10 7 hours ago | parent | prev | next [-] |
| How do you make Claude code to choose opus and not sonnet? For me it seems to do it automatically |
| |
|
| ▲ | kidbomb 12 hours ago | parent | prev | next [-] |
| Does the same happens if I create an AGENTS.md instead? |
| |
| ▲ | red2awn 12 hours ago | parent | next [-] | | Claude Code does not support AGENTS.md, you can symlink it to CLAUDE.md to workaround it. Anthropic: pls support! | | | |
| ▲ | kevinherron 11 hours ago | parent | prev [-] | | Use AGENTS.md for everything, then put a single line in CLAUDE.md: @AGENTS.md
| | |
|
|
| ▲ | goalieca 13 hours ago | parent | prev | next [-] |
| > I add to my team’s CLAUDE.md multiple times a week. This concerns me because fighting tooling is not a positive thing. It’s very negative and indicates how immature everything is. |
| |
| ▲ | jedberg 13 hours ago | parent | next [-] | | The Claude MD is like the documentation you hand to a new engineer on your team that explains details about your code that they wouldn't otherwise know. It's not bad to need one. | | |
| ▲ | thfuran 12 hours ago | parent [-] | | But that documentation shouldn’t need to be updated nearly every other day. | | |
| ▲ | Bjartr 12 hours ago | parent | next [-] | | Consider that every time you start a session with Claude Code. It's effectively a new engineer. The system doesn't learn like a real person does, so for it to improve over time you need to manually record the insights that for a normal human would be integrated by the natural learning process. | | |
| ▲ | majewsky 6 hours ago | parent | next [-] | | Yes, that's exactly the problem. There's good reasons why any particular team doesn't onboard new engineers each day, going all the way back to Fred Brooks and "adding more people to a late project makes it later". | |
| ▲ | newsoftheday 11 hours ago | parent | prev | next [-] | | Reminds me of that Nicole Kidman movie Before I Go to Sleep. | |
| ▲ | bdangubic 6 hours ago | parent | prev | next [-] | | there are many tools available that work towards solving this problem | |
| ▲ | handfuloflight 10 hours ago | parent | prev [-] | | Sleep time compute architectures are changing this. |
| |
| ▲ | Marsymars 12 hours ago | parent | prev | next [-] | | I certainly could be updating the documentation for new devs very frequently - the problem with devs is that they don't bother reading the documentation. | | |
| ▲ | PunchyHamster 5 hours ago | parent [-] | | and the other problem - when they see something is wrong/out of date, they don't update it... |
| |
| ▲ | kxrm 12 hours ago | parent | prev | next [-] | | If you are consistent with how you do your projects you shouldn't need to update CLAUDE.md nearly every day. Early on, I was adjusting it nearly every day for maybe a couple of projects but now I have very little need to make any adjustments. Often the challenge is users aren't interacting with Claude Code about their rules file. If Claude Code doesn't seem to be working with you ask it why it ignore a rule. Often times it provides very useful feedback to adjust the rules and no longer violate them. Another piece of advice I can give is to clear your context window often! Early in my start in this I was letting the context window auto compact but this is bad! Your model is it's freshest and "smartest" when it has a fresh context window. | | |
| ▲ | nrds 11 hours ago | parent [-] | | It takes a lot of uncached tokens to let it learn about your project again. |
| |
| ▲ | udfalkso 7 hours ago | parent | prev | next [-] | | Same thing happens every time a new hire joins the team. Lots of documentation is stale and needs updating as they onboard. | |
| ▲ | jm4 12 hours ago | parent | prev | next [-] | | It does if it’s incomplete or otherwise doesn’t accurately convey what people need to know. | |
| ▲ | Gud 11 hours ago | parent | prev | next [-] | | Why not? | |
| ▲ | bitwize 10 hours ago | parent | prev [-] | | Have you never looked at your work's Confluence? Worse, have you never spent time at a company where the documentation wasn't frequently updated? |
|
| |
| ▲ | bcherny 13 hours ago | parent | prev [-] | | You might be misunderstanding what a CLAUDE.md is. It’s not about fighting the model, rather it’s giving the model a shortcut to get the context it needs to do its work. You don’t have to have one. Ours is 100% written by Claude itself. | | |
| ▲ | seunosewa 12 hours ago | parent [-] | | That's not the same thing as adding rules by yourself based on your experiences with Claude. |
|
|
|
| ▲ | cerved 8 hours ago | parent | prev | next [-] |
| Hey Boris, can you teach CC how to use cd? |
| |
| ▲ | jcheng 8 hours ago | parent [-] | | Personally, CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR=1 made all my cd problems go away (which were only really in cmake-based projects to begin with). |
|
|
| ▲ | nrds 11 hours ago | parent | prev | next [-] |
| > Use Opus 4.5. This drives up price faster than quality though. Also increases latency. |
| |
| ▲ | sothatsit 11 hours ago | parent | next [-] | | Opus 4.5 is significantly better if you can afford it. They also recently lowered the price for Opus 4.5, so it is only 1.67x the price of Sonnet, instead of 5x for Opus 4. | |
| ▲ | minimaxir 10 hours ago | parent | prev | next [-] | | There's a counterintuitive pricing aspect of Opus-sized LLMs in that they're so much smarter that in some cases, it can solve the problem faster and with much fewer tokens that it can end up being cheaper. | |
| ▲ | bakugo 11 hours ago | parent | prev [-] | | Obviously the Anthropic employee advertising their product wants you to pay as much as possible for it. | | |
| ▲ | handfuloflight 10 hours ago | parent [-] | | The generosity of the Max plans indicates otherwise. | | |
| ▲ | bakugo 8 hours ago | parent [-] | | God bless these generously benevolent corporations, giving us such amazing services for the low low price of only $200 per month. I'm going to subscribe right now! I almost feel bad, it's like I'm stealing from them. | | |
| ▲ | handfuloflight 7 hours ago | parent [-] | | That $200 a month is getting me $2000 a month in API equivalent tokens. I used to spend $200+ an hour on a single developer. I'm quite sure that benevolence was a factor when they submitted me an invoice, since there is no real transparency if I was being overbilled or not or that the developer acted in my best interest rather than theirs. I'll never forget that one contractor who told me he took a whole 40 hours to do something he could have done in less than that, specifically because I allocated that as an upperbound weekly budget to him. | | |
| ▲ | bakugo 6 hours ago | parent [-] | | > That $200 a month is getting me $2000 a month in API equivalent tokens. Do you ever feel bad for basically robbing these poor people blind? They're clearly losing so much money by giving you $1800 in FREE tokens every month. Their business can't be profitable like this, but thankfully they're doing it out of the goodness of their hearts. | | |
| ▲ | handfuloflight 6 hours ago | parent [-] | | I'm not sure that you actually expect to be taken seriously if you're going to assert that these companies don't have costs themselves to deliver their services. |
|
|
|
|
|
|
|
| ▲ | hansmayer 9 hours ago | parent | prev | next [-] |
| Hey Boris from the Claude Code team - could you guys please be so kind so as to stop pushing that narrative about CLAUDE.md, either yourselves or through influencers and GenAI-grifters? The reason being, it is simply not true. A lot of the time the instructions will be ignored. Actually, the term "ignored" is putting the bar too high, because your tool does not intentionally "ignore", not having sentience and knowledge. We experience the effects of the instructions being ignored, because your software is not deterministic, its merely guessing the next token, and sometimes those instructions tacked onto the rest of the context statistically do not match what we as humans expect to see (while its perfectly logical for your machine learning text generator, based on the datasets it was trained on). |
| |
| ▲ | blitz_skull 9 hours ago | parent | next [-] | | This seems pretty aggressive considering this is all just personal anecdote. I update my CLAUDE.md all the time and notice the effects. Why all the snark? | | |
| ▲ | hansmayer 9 hours ago | parent [-] | | Is it really just a personal anecdote ? Please do read some other comments on this post. The snark comes from everyone and their mother recommending "just write CLAUDE.md", when it is clear that this technology does not have intrinsic capability to perform reliable outputs based on human language input. | | |
| ▲ | blitz_skull 9 hours ago | parent [-] | | Yeah… that’s the point of LLMs: variable output. If you’re using them for 100% consistent output, you’re using the wrong tool. | | |
| ▲ | hansmayer 9 hours ago | parent [-] | | Is it? So you are saying software should not be consistent? Or that LLMs should not be used for software development, aside from toy-projects? |
|
|
| |
| ▲ | simonw 8 hours ago | parent | prev [-] | | CLAUDE.md is read on session startup. If you're continually finding that it's being forgotten, maybe you're not starting fresh sessions often enough. | | |
| ▲ | hansmayer 8 hours ago | parent | next [-] | | I should not have to fight tooling, especially the supposedly "intelligent" one. What's the point of it, if we have to always adapt to the tool, instead of the other way around? | | |
| ▲ | kfajdsl 8 hours ago | parent [-] | | It's a tool. The first time you used a shell you had to learn it. The first time you used a text editor you had to learn it. You can learn how to use it, or you can put it down if you think it doesn't bring you any benefit. | | |
| ▲ | PunchyHamster 5 hours ago | parent | next [-] | | even shell remembers my commands... | |
| ▲ | hansmayer 8 hours ago | parent | prev [-] | | I am sorry but what do I have to learn? That the tool does not work as advertised? That sometimes it will work as advertised, sometimes not? That it will sometimes expose critical secrets as plain text and some other time suggest to solve a problem in a function by removing the function code completely? What are you even talking about, comparing to shell and text editors? These are still bloody deterministic tools. You learn how they work and the usage does not change unpredictably every day! How can you learn something that does not have predictable outputs? | | |
| ▲ | simonw 6 hours ago | parent [-] | | Yes, you have to learn those things. LLMs are hard to use. So are animals, but we've used dogs and falcons and truffle hunting pigs as tools for thousands of years. Non-deterministic tools are still tools, they just take a bunch more work to figure out. | | |
| ▲ | xn 6 hours ago | parent | next [-] | | It's like having Michael Jordan with dementia on your team. You start out mesmerized by how many points he can score, and then you get incredibly frustrated that he forgets he has to dribble and shoot into the correct hoop. | |
| ▲ | exasperaited 5 hours ago | parent | prev [-] | | > So are animals, but we've used dogs and falcons and truffle hunting pigs as tools for thousands of years. Dogs learn their jobs way faster, more consistently and more expressively than any AI tool. Trivially, dogs understand "good dog" and "bad dog" for example. Reinforcement learning with AI tooling clearly seems not to work. | | |
| ▲ | simonw 3 hours ago | parent [-] | | > Dogs learn their jobs way faster, more consistently and more expressively than any AI tool. That doesn't match my experience with dogs or LLMs at all. |
|
|
|
|
| |
| ▲ | exasperaited 5 hours ago | parent | prev [-] | | I understand you're trying to be helpful but the number of "you're holding it wrong" things I read about this tool — any AI tool — just makes me wonder who vibe coders are really doing all this unpaid work for. |
|
|
|
| ▲ | jMyles 9 hours ago | parent | prev | next [-] |
| 3. Puppeteer? Or Playwright? I haven't been able to make Puppeteer work for the past 8 weeks or so ("failed to reconnect"). Do you have a doc on this? |
| |
| ▲ | cebert 7 hours ago | parent [-] | | I know the Playwright MCP server works great. I use it daily. | | |
| ▲ | jMyles 7 hours ago | parent [-] | | Same, I use Playwright all the time, but haven't been able to make puppeteer work in quite some time. Playwright, while reliable in terms of features, just absolutely eats the heck out of context. | | |
| ▲ | cebert 5 hours ago | parent [-] | | I’ve heard folks claim the Chrome DevTools MCP eats less context, but I don’t know how accurate that is. |
|
|
|
|
| ▲ | matt3210 10 hours ago | parent | prev [-] |
| Does all my code get uploaded to the service? |