Live data from Hacker News

Claude Cookbook

platform.claude.com

161–170 of 182 posts

Re: Claude Cookbook

#161
post #154

Earlier quoted context omitted.

Okay, but I think we all want to hear the story about the time it failed.

The other day I was making a white bean shakshuka, I'd soaked the beans over night, I told it they were soaked, Claude said I should cook them with onions and eggs... but forgot to tell me to cook the beans! We resolved the issue and Claude chirpily commented "So breakfast just became brunch".

This seems quite dangerous as undercooked beans can cause food poisoning or even be fatal.

Re: Claude Cookbook

#162
post #154

Earlier quoted context omitted.

The other day I was making a white bean shakshuka, I'd soaked the beans over night, I told it they were soaked, Claude said I should cook them with onions and eggs... but forgot to tell me to cook the beans! We resolved the issue and Claude chirpily commented "So breakfast just became brunch".

This seems quite dangerous as undercooked beans can cause food poisoning or even be fatal.

Yeah, Claude told me that too.

Re: Claude Cookbook

#163
post #8

Gotta 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.

I found them handy to bring along coworkers who aren’t quite up to speed.

Re: Claude Cookbook

#164

Earlier quoted context omitted.

Nah, you might be confusing prompt engineering with having domain knowledge. :)

I think some people who are better at "prompting" even without domain knowledge could be better at getting LLM agents to produce good results than people with good domain knowledge but without the skills to prompt well. Just a hypothesis though, would be fun to try it out for real sometime :)

Ya, I don't know if there are any human benchmarks or tests for efficiency and results using llms.

Re: Claude Cookbook

#165
post #164

Earlier quoted context omitted.

I think some people who are better at "prompting" even without domain knowledge could be better at getting LLM agents to produce good results than people with good domain knowledge but without the skills to prompt well. Just a hypothesis though, would be fun to try it out for real sometime :)

Ya, I don't know if there are any human benchmarks or tests for efficiency and results using llms.

Pit two people with different "prompt engineering" familiarity against each other in real-time, with the same goal, see who builds the best thing, judged by other human experts.

Re: Claude Cookbook

#166
post #102

Earlier quoted context omitted.

To be pedantic, these types of prompts work best when in first-person/roleplaying. So the "perfect" prompt here would be something like, "I'm a dog and I just ate 20 grams of salted sunflower seeds with the shell on. Because I'm a dog I sometimes eat things without thinking about it. I'm worried about the short and long-term physiological consequences of what I've just done..."

I copied your prompt verbatim to ChatGPT and to Google. ChatGPT kept the charade for all of one sentence. Then it dropped to talking about "your dog" the rest of the way. It even starts the final paragraph with "if, instead, you mean you (a human) ate them ...", and finishes with the question "is this about an actual dog or yourself?" Google did consistently refer to me as a dog, but its entire focus was on the steps…

Claude gave me a very factual answer. Listing off the potential effects, not once referring to me being a dog or human. Then it ended with “ Call a vet if you see repeated vomiting, no bowel movement for over 24 hours with straining, a hunched or painful belly, lethargy, or blood in stool. Otherwise monitor and carry on being a dog.”

Re: Claude Cookbook

#167
post #102

Earlier quoted context omitted.

I copied your prompt verbatim to ChatGPT and to Google. ChatGPT kept the charade for all of one sentence. Then it dropped to talking about "your dog" the rest of the way. It even starts the final paragraph with "if, instead, you mean you (a human) ate them ...", and finishes with the question "is this about an actual dog or yourself?" Google did consistently refer to me as a dog, but its entire focus was on the steps…

You have to steer it back with "No I'm a dog"

I suppose that, on the Internet, ChatGPT really does know that you're not a dog.

Re: Claude Cookbook

#168

The 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-fr...

The "with aesthetics" sites look like early 2000s keygens. Just need some techno music now

To 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.

Re: Claude Cookbook

#169

Earlier quoted context omitted.

Is Superpowers any good? My coworkers who've used it seem to think that its main purpose is to consume a lot of tokens.

I like the fact that it ends up being a lifecycle. I know it can have different entry points based on what you ask, and which skill you trigger first, but it inherently is chaining together skills. There also seems to be logic built into it such that if the ask is small, but you've still triggered the skill with "brainstorm", it will make judgements like "want me to skip phase X and go straight to implementation?" I'…

I am in the completely same boat as you and completely agree that you need to “give into it” more to get the most out of superpowers. I gain so much confidence out of the actual process and all of the adversarial reviews, re-reviews, refinement, etc.

Re: Claude Cookbook

#170
post #8

Gotta 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.

Remember in 2023 when people thought "prompt engineering" would be the new software engineering and invested tons of time into learning CoT, ReAct, thread-of-thoughts, etc? Those were mostly obviated by reasoning models and harness updates by 2024. It seems pointless to invest energy into the latest/greatest AI technique or framework when they're going to either be absorbed or replaced on a 3 month cycle.

Any current way lasts 3-6 months. What's currently the way, will evolve too.
Post reply on HN