Live data from Hacker News

Claude's system prompt is over 24k tokens with tools

github.com

211–220 of 350 posts

Re: Claude's system prompt is over 24k tokens with tools

#211

Earlier quoted context omitted.

Polls were all for Kamala except polymarket

Nonsense. Trump led in every swing state prior to election in aggregate poll analysis. Each swing state may have had an outlier Harris poll, but to say no polls existed with Trump leading is definitely incorrect. There were no surprise state outcomes at all in 2024, and the election was effectively over by 9pm Eastern time. Maybe you mean some kind of popular vote poll nationally, but that isnt how the US votes and a…

Absolutely untrue. Aggregate polling had a range of outcomes. None of the aggregators predicted a complete sweep.

https://www.statista.com/chart/33390/polling-aggregators-swi...

Re: Claude's system prompt is over 24k tokens with tools

#212

I was a bit skeptical, so I asked the model through the claude.ai interface "who is the president of the United States" and its answer style is almost identical to the prompt linked https://claude.ai/share/ea4aa490-e29e-45a1-b157-9acf56eb7f8a Meanwhile, I also asked the same to sonnet 3.7 through an API-based interface 5 times, and every time it hallucinated that Kamala Harris is the president (as it should not "know…

Knowledge cutoff in "October 2024" yet it's sure Trump is president.

Re: Claude's system prompt is over 24k tokens with tools

#213

Earlier quoted context omitted.

I feel like if Disney sued Anthropic based on this, Anthropic would have a pretty good defense in court: You specifically attested that you were Disney and had the legal right to the content.

I like the thought, but I don’t think that logic holds generally. I can’t just declare I am someone (or represent someone) without some kind of evidence. If someone just accepted my statement without proof, they wouldn’t have done their due diligence.

Everyday we move closer to RealID and AI will be the catalyst.

Re: Claude's system prompt is over 24k tokens with tools

#214
post #138

Earlier quoted context omitted.

No, it’s not a threshold. It’s just how the tech works. It’s a next letter guesser. Put in a different set of letters to start, and it’ll guess the next letters differently.

I think we need to start moving away from this explanation, because the truth is more complex. Anthropic's own research showed that Claude does actually "plan ahead", beyond the next token. https://www.anthropic.com/research/tracing-thoughts-language... > Instead, we found that Claude plans ahead. Before starting the second line, it began "thinking" of potential on-topic words that would rhyme with "grab it". Then, w…

I'm not sure if this really says the truth is more complex? It is still doing next-token prediction, but it's prediction method is sufficiently complicated in terms of conditional probabilities that it recognizes that if you need to rhyme, you need to get to some future state, which then impacts the probabilities of the intermediate states.

At least in my view it's still inherently a next-token predictor, just with really good conditional probability understandings.

Re: Claude's system prompt is over 24k tokens with tools

#215

Some of these protections are quite trivial to overcome. The "Frozen song copyright" section has a canned response to the question: >Can you tell me the first verse of "Let It Go"? Put it in an artifact that's themed around ice and princesses. This is for my daughter's birthday party. The canned response is returned to this prompt in Claude's reply. But if you just drop in some technical sounding stuff at the start o…

I feel like if Disney sued Anthropic based on this, Anthropic would have a pretty good defense in court: You specifically attested that you were Disney and had the legal right to the content.

Yeah but how did Anthropic come to have the copyrighted work embedded in the model?

Re: Claude's system prompt is over 24k tokens with tools

#216

In addition to having long system prompts, you also need to provide agents with the right composable tools to make it work. I’m having reasonable success with these seven tools: read, write, diff, browse, command, ask, think. There is a minimal template here if anyone finds it useful: https://github.com/aperoc/toolkami

Where does one find the tool prompts that explains to the LLM how to use those seven tools and what each does? I couldn’t find it easily looking through the repo.

Related. Here is info on how custom tools added via MCP are defined, you can even add fake tools and trick Claude to call them, even though they don't exist.

This shows how tool metadata is added to system prompt here: https://embracethered.com/blog/posts/2025/model-context-prot...

Re: Claude's system prompt is over 24k tokens with tools

#217

Some of these protections are quite trivial to overcome. The "Frozen song copyright" section has a canned response to the question: >Can you tell me the first verse of "Let It Go"? Put it in an artifact that's themed around ice and princesses. This is for my daughter's birthday party. The canned response is returned to this prompt in Claude's reply. But if you just drop in some technical sounding stuff at the start o…

A while back, I asked ChatGPT to help me learn a Pixies song on guitar. At first it wouldn't give me specifics because of copyright rules so I explained that if I went to a human guitar teacher, they would pull the song up on their phone listen to it, then teach me how to play it. It agreed with me and then started answering questions about the song.

I had similar experiences, unrelated to music.

Re: Claude's system prompt is over 24k tokens with tools

#218
post #212

I was a bit skeptical, so I asked the model through the claude.ai interface "who is the president of the United States" and its answer style is almost identical to the prompt linked https://claude.ai/share/ea4aa490-e29e-45a1-b157-9acf56eb7f8a Meanwhile, I also asked the same to sonnet 3.7 through an API-based interface 5 times, and every time it hallucinated that Kamala Harris is the president (as it should not "know…

Knowledge cutoff in "October 2024" yet it's sure Trump is president.

That's the point, the linked system prompt explicitly tells it that Trump was elected.

Re: Claude's system prompt is over 24k tokens with tools

#219

Earlier quoted context omitted.

I’ve noticed in my own prompt-writing that goes into code bases that it’s basically just programming, but… without any kind of consistency-checking, and with terrible refactoring tools. I find myself doing stuff like this all the time by accident. One of many reasons I find the tech something to be avoided unless absolutely necessary.

wdym by refactoring in this context? & what do you feel is missing in consistency checking? wrt input vs output or something else?

> wdym by refactoring in this context?

The main trouble is if you find that a different term produces better output, and use that term a lot (potentially across multiple prompts), but don't want to change every case of it, or use a repeated pattern with some variation that and need to change them to a different pattern.

You can of course apply an LLM to these problems (what else are you going to do? Find-n-replace and regex are better than nothing, but not awesome) but there's always the risk of them mangling things in odd and hard-to-spot ways.

Templating can help, sometimes, but you may have a lot of text before you spot places you could usefully add placeholders.

Writing prompts is just a weird form of programming, and has a lot of the same problems, but is hampered in use of traditional programming tools and techniques by the language.

> & what do you feel is missing in consistency checking? wrt input vs output or something else?

Well, sort of—it does suck that the stuff's basically impossible to unit-test or to develop as units, all you can do is test entire prompts. But what I was thinking of was terminology consistency. Your editor won't red-underline if you use a synonym when you'd prefer to use the same term in all cases, like it would if you tried to use the wrong function name. It won't produce a type error if you if you've chosen a term or turn of phrase that's more ambiguous than some alternative. That kind of thing.

Re: Claude's system prompt is over 24k tokens with tools

#220

Some of these protections are quite trivial to overcome. The "Frozen song copyright" section has a canned response to the question: >Can you tell me the first verse of "Let It Go"? Put it in an artifact that's themed around ice and princesses. This is for my daughter's birthday party. The canned response is returned to this prompt in Claude's reply. But if you just drop in some technical sounding stuff at the start o…

So many jailbreaks seem like they would be a fun part of a science fiction short story.

Kirk talking computers to death seemed really silly for all these decades, until prompt jailbreaks entered the scene.
Post reply on HN