13 ms·
Claude Cookbook
- dusantm 3mo ago[flagged]
- beklein 3mo agoThanks! I also like the OpenAI Cookbook: https://developers.openai.com/cookbook https://developers.openai.com/cookbook Other AI labs also tend to publish examples and cookbooks on GitHub and Hugging Face, so it's always worth keeping an eye on those as well.
- deleted 3mo ago[deleted]
- AntiqueFig 3mo agoI thought it would be a litteral cookbook on how to make plausible/feasible recipes with LLMs (we're not here yet sadly).
- willis936 3mo agoSame. I was hoping for a digital meal planner.
- weird-eye-issue 3mo agoAsk it for one?
- simonw 3mo agoI've been cooking with the help of LLMs a few times a month for over a year now. It's worked out well 9/10 times. It turns out the "average" version of a recipe that's baked into the weights is usually a solid recipe, and they're really good at offering substitutions for things like "I don't have ingredient X" or "make it vegetarian". It's also fun promoting "make it tastier" once or twice after each recipe just to see what happens.
- cloakandswagger 3mo agoOne of the most satisfying and useful applications for AI is handing it the URL for a recipe (replete with 8 paragraphs of useless introductory text, 2 paragraphs dedicated to how to refrigerate the meal, 9 inline advertisements and a mid-scroll ad) and having it return the actual recipe in Markdown in an Obsidian folder.
- NoboruWataya 3mo agoSurprisingly, a lot of these recipe websites (even the worst offenders for fluff and ads) have a clean JSON API for getting the recipe directly. I self-host a Mealie instance (https://docs.mealie.io/ https://docs.mealie.io/) which has an "import from URL" feature that uses this. It has rarely if ever failed me.
- fwip 3mo agoYou can also hit "print" and get a nicely formatted, single page list of ingredients and recipe.
- simonw 3mo agoThe other day I did that with a TikTok video! It was infuriatingly vague, so I extracted the mp4 using yt-dlp and fed the video file into Gemini Flash and told it to fill in the missing information and give me back a proper recipe.
- enobrev 3mo agoI've been maintaining a personal calorie tracker (keeps me entering), and using claude for entering meals has been the perfect experience. One of my favorite features has been giving a recipe url and having it figure out the calories for that recipe with line-by-line entries for each ingredient. Then it keeps the extracted recipe in markdown format for the next time I want to make it. Substitutions are also great - "I'm making [such and such recipe], but with half the sugar." One of the others has been "I had a meal a couple weeks ago at [x restaurant], can you enter that again for right now?" Having the long-term context for entry has been excellent. And a related one, where I upload a photo of the menu, and say which menu items I'm eating and it puts together an estimate for the calorie count. I lean heavily on a long auto-compacting claude code session for all of this. I have a UI for graphs, history, and simple entries, but claude's been my favorite means of entry by far
- p_l 3mo agoI have actually cooked with LLMs, specifically Gemini, few times this year. Works surprisingly well, can even tell it "I have so and so ingredients in my pantry, I want a keto-friendly meal, what can I make?" followed with some narrowing down dialogue-style.
- exsss 3mo agoI've been using ChatGPT to learn how to cook, specifically Italian cuisine, and with a few bumps here and there it has been working surprisingly well.
- winterbourne 3mo agoRecipes like this get baked into the next iteration of a model.
- zahlman 3mo agoWell, that's silly. The batter goes in the pan; the recipe is supposed to stay out on the counter.
- merrvk 3mo agoThey could have done at least one pass on the UI. Can't even get simple table spacing right
- mindwok 3mo agoGotta be honest, almost every "how to use AI" resource seems pointless to me. I'm either going to ask the AI how to do it, or if it's about using the AI then we can just bake it into the harness or wait for Anthropic/OpenAI to do it for me because they're always trivial. All of these resources on agentic workflows, managing agent memory, harness engineering, etc. appear to just be theatre to me.
- deepfriedbits 3mo agoNot only that, but all of this tooling around models has such a short shelf life as the models themselves grow in capabilities, they absorb the tooling. We've already seen it over and over again.
- mexicocitinluez 3mo agoAmen on both your and OP's comments. These tools work pretty well out-of-the-box. I'm sure I could squeeze out better token usage or streamline some tool calls, but it's not something I really want to focus on. Just like I don't want to endlessly configure my IDE, I don't really have patience with spending time on anything besides actually building something.
- john___matrix 3mo agoThis is how I've gone about it with my Shopify site. I appreciate there may be more efficient ways to do things if you're an actual developer or engineer but I'm not and the tools I've been able to build so far have been both fun to make and add value to our workflow as a small 2 person ecommerce business. I do at least have a background in web as a designer for many years and having worked with developers I can at least spec and understand how a product might work which is one thing Claude/AI isn't hugely helpful with and often it's the testing and QA phase as always where the problems and shortcomings expose themselves.
- NooneAtAll3 3mo agoif you know how to ask Ai about how to use Ai, you already know how to use Ai the point of guides is to provide assurance for people unfamiliar to the process in the first place
- behnamoh 3mo agoSo like OpenAI's Cookbook which has existed for years and no one reads?
- simonw 3mo agoAnthropic started their in August 2023 https://github.com/anthropics/claude-cookbooks/commit/2b3f4a314e3c7741a854fde961cdcc82ac207f1d https://github.com/anthropics/claude-cookbooks/commit/2b3f4a... OpenAI's started in June 2022 https://github.com/openai/openai-cookbook/commit/535f545be7e0aa30fe97a9041e2cf11bc734e49a https://github.com/openai/openai-cookbook/commit/535f545be7e...
- weird-eye-issue 3mo agoHave you ever thought that just because you don't read something doesn't mean that nobody reads it?
- bigfishrunning 3mo agoI would assume people read LLM generated summaries of it, almost nobody reads it directly.
- svara 3mo agoSomehow all the with/without cookbook design examples look vibe coded on both sides to me. I'm not enough of a designer to be able to point exactly at what makes it so, but Claude does seem to have a somewhat limited repertoire of styles. Maybe if you could point more precisely at the required changes, you could discourage it?
- hkclawrence 3mo ago[flagged]
- motbus3 3mo agoAfter all this effort of not opening the models, then trying to forbid people to use open models and all the rubbish their CEO keeps talking about common people I am done with Anthropic. I can't use it on good faith Same goes for grok, chat gpt and others all involved in killing people and monopolising the market.
- villish 3mo agoThe open models will also be used to kill people, unfortunately.
- adhamsalama 3mo agoAren't closed models used to kill people by the US and Israel?
- motbus3 3mo agoaccording to the warlords that area killing people with ai models while lying about everything that is happening, yes.
- gherkinnn 3mo agohttps://platform.claude.com/cookbook/coding-prompting-for-frontend-aesthetics https://platform.claude.com/cookbook/coding-prompting-for-fr... Before: bland After: bland with gradients
- not-kinsale-joe 3mo agoYes, and a couple of them look better before, I would say only the Blog one is truly better.
- intuitionist 3mo agoThe Blog after just looks like a Substack post.
- murkt 3mo agoYeah, along with UPPERCASE labels, which is a staple of AI designed pages
- throw1234567891 3mo agoIt should not be difficult to change the CSS. LLMs have learned from us.
- myaccountonhn 3mo agoIt is to a point where I prefer the non-"aesthetics" version.
- crabbuh 3mo agoGradients fixed it. They fix everything.
- killthebuddha 3mo agoDoes anybody here have a frontend development workflow that works well with coding agents? In my experience coding agents ship buggy, broken, incomplete, or awkward frontend features at a way higher frequency than they do for backend features. The reason seems obviously to be the difference in verifiability between the two. Basic test suites dont seem to help much. I assume something like Garry Tan’s gstack is the right direction but I dont know if that particular tool is mature enough to adopt yet. I was surprised too see here on HN recently that gemini 3.5 flash may outperform Opus/gpt-5.5 on frontend tasks (maybe because of Gemini’s supposed edge w.r.t. multimodality? or maybe it understands Chrome more deeply?), can anyone here second that take?
- CuriouslyC 3mo agoAgents aren't great at complex async state updates, mostly because it's hard to represent what's happening in their context. They're fine at creating complex components in isolation and implementing decoupled stuff like animations.
- mellosouls 3mo agoThere may be good options coupled with agents like Claudes Front End Design skill, I haven't used it. I have been using Magic Patterns which is very good at generating initial prototypes, especially when driven by an agent familiar with it's facilities and constraints. I assume the service is just a wrapper plus scaffolding but I like it. You have to push it though to get anything particularly creative but it's good at standard front end designs. https://www.magicpatterns.com/ https://www.magicpatterns.com/ That's not necessarily what you're after because I only use it for piloting stuff, not for adhoc feature addition and fixes.
- wccrawford 3mo agoI've been using Matt Pocock's skills at home, and they seem pretty great. He makes a great case for them vs other skills in his videos. I don't remember the exact arguments, but basically they're designed to be called by the user instead of called automatically, and that makes them take less context merely because they exist. I've also found that they tend to coerce the programmer into thinking about the end result, rather than try to push them out of that role. His grill skills are about making sure the actual requirements are known, and his prototype skill can help explore things that need to be experienced to make a hard decision on.
- brkn 3mo agoI thought this is a new product to generate recipes with Claude.
- itchingsphynx 3mo agoI was hoping too, because I use a Claude project for recipes and it’s great for suggestions and adapting recipes for what’s in the pantry.
- amelius 3mo agoYou can use it for that.
- wyldberry 3mo agoI legitimately thought this was going to be a chef (the food kind) tool.
- jdw64 3mo ago[dead]
- mbreese 3mo agoI'm a bit disappointed. Based on the title, I was hoping this was going to be a list of popular recipes Claude has suggested for cooking food. It's one of the not-so-obvious use cases I have a Claude/ChatGPT. It's been really helpful for figuring out how to cook something new (for me). It is easy to ask "how do I cook X" when I have no idea of where to start. Claude has also been helpful when trying to figure out how to substitute different ingredients when I've forgotten something at the store. I've also gotten corrections in recipes, with Claude (correctly) identifying different issues that I didn't notice (like when Claude suggested adding more sugar to a sorbet too avoid having excess ice when freezing in a sorbet).
- mexicocitinluez 3mo agoThis is definitely controversial, but I think the best CLAUDE.MD is no CLAUDE.MD at all. Every time I found myself wanting to put information into that file, I asked myself "Why isn't this already obvious from the code itself?" I don't need to tell the agent my tech stack, what DB access library I'm using, the way in which I write my tests, etc. Why? Because it's all very clearly spelled out within the code itself. I've gone great lengths to make sure that my fairly complex domain can be understood by a person with little domain knowledge, which means it should certainly be understood by a tool that has a wealth of it.
- jpitz 3mo agoI don't think that is controversial. My system CLAUDE.MD spells out my preferences in stack and architecture, and how I expect the agent to interact with me. I have it generate a summary doc in large repos so it doesn't need to slurp in the world to review a PR or work on a corner of it.
- rowanseymour 3mo agoI think that's something that has changed in the last 6 months. It used to be standard practice to let Claude scan everything once and describe your repo in the CLAUDE.md - the logic being you don't want to do that every time for every prompt. But now I think the tooling has gotten so good at just grepping around your repos, and maintaining memory from previous sessions, that the best practice is only use CLAUDE.md for things that aren't obvious from the code.
- mexicocitinluez 3mo ago> the logic being you don't want to do that every time for every prompt That's definitely a downside of a minimal MD and I could def be wasting tokens. I've tried to scope the tasks such that it won't feel the need to scan unnecessary files, but it's not bulletproof.
- boorang 3mo agoI had to create some workarounds to avoid this bug where they include a "this might not be relevant" preamble to the CLAUDE.MD file: https://github.com/anthropics/claude-code/issues/18560 https://github.com/anthropics/claude-code/issues/18560 - I ended up switching to Codex and it just straight up follows the AGENTS.MD instructions, it's nice to see. This is to say, Anthropic seems to be going down the path you are describing to make the CLAUDE.MD unnecessary. But I think that's the Claude Code harness.
- lkm0 3mo agoImmensely disappointed; I expected an actual cookbook.
- semiquaver 3mo agoThe before and after images in “prompting for frontend aesthetics” are hilarious. Did no one look at these to make sure the skill actually improved the design? https://platform.claude.com/cookbook/coding-prompting-for-frontend-aesthetics https://platform.claude.com/cookbook/coding-prompting-for-fr...
- nullbio 3mo agoOf course not. It's vibe-slop all the way down.
- Sverigevader 3mo agoFascinating! Makes me wonder if they were chosen to maximize the contrast between the before and after shots, just to "prove that it "works"". Personally I prefer the before shots all the way down.
- jasonjmcghee 3mo agoYou weren't kidding. That's embarrassing. "Use a black background and this hideously wide font!"
- yellow_lead 3mo agoThe "with aesthetics" sites look like early 2000s keygens. Just need some techno music now
- semiquaver 3mo agoOk, if there was chiptune music I think I _would_ like the after shots better.
- kridsdale1 3mo agoTo be fair. That was peak aesthetics. If the only artifacts remaining on earth a million years past our demise were The Parthenon and 2002 keygens, our existence will have been worth it.
- iblaine 3mo agoIs the before/after backwards?
- Arubis 3mo agoThe best way to learn how to use LLM tools and harnesses is to use them.
- akharris 3mo agoThey missed a great chance to call this "To Serve Man."
- deleted 3mo ago[deleted]
- rldjbpin 3mo agothis has a non-zero benefit to those who are trying to do x which might be covered here. have seen this with copilot, then with openai, and usually they tend to be bombarded with some examples at first. only to be not maintained down the line or become irrelevant.