Top
Best
New

Posted by tosh 9 hours ago

Claude: System Prompts(platform.claude.com)
425 points | 185 commentspage 2
jcwayne 2 hours ago|
Interesting that this is all written in the third person. I've only ever seen prompts written in second person. I'm going to have to experiment with that.
roughly 1 hour ago|
I had the same thought. I’d love to know if anyone’s got the background on this choice, I’ve only ever seen the “you” framing as well, but I can see how the semantic pinning here might improve prompt adherence.
dev-complete 7 hours ago||
I compared the Claude Opus 4.8 and 5 system prompts, as well as the Claude Code Opus 4.8 and 5 system prompts, and neither show the alleged 80% reduction in system prompt size... Is the Claude Code system prompt leak incorrect? Do I not know what 80% looks like? Why such a large lie (so it seems)?

Claude Code prompt leaks: https://github.com/asgeirtj/system_prompts_leaks/tree/main/A...

Best source I can find about the 80% reduction: https://x.com/trq212/status/2080710971228918066

tosh 7 hours ago||
afaiu the 80% reduction is about the Claude Code system prompt

maybe someone has a diff of this (would be interesting!)

unfortunately Anthropic only publishes the system prompts of Claude app/web

dev-complete 6 hours ago||
Right, but there are (allegedly) leaks of the Claude Code system prompts (which I linked to), and the 80% reduction is not seen there either.
mudkipdev 5 hours ago||
It's in Claude Code, not the website.
slowin 3 hours ago||
I feel very little of this prompt is going to help the model write better code and most of it will actively work against that goal.

Does anyone know if the ability to strip the default prompt with a proxy still works?

https://docs.bswen.com/blog/2026-04-01-how-to-override-claud...

pulkitsh1234 8 hours ago||
curious why dont they bake the system prompt in the model itself ? Why do we pay for these tokens on every API call ?

These are just free $ for them, unnecessary bloating the context

simonw 8 hours ago||
These system prompts don't affect the API, they are for the Claude consumer chat products. We aren't charged extra for them.

They're also prefix cached, so the cost to Anthropic and performance hit is greatly reduced.

Dfol 7 hours ago||
So the people using the Claude consumer chat products pay for them via usage...

That's not any better. It's actually worse.

simonw 7 hours ago|||
I don't understand.

System prompts are part of the software that customers pay to access.

Complaining about that is a bit like complaining that your Netflix subscription includes paying to execute the compiled code that Netflix wrote that serves you video streams from their servers.

Actually there is a difference: If Anthropic deleted a large chunk of that system prompt I guess you might get like a 1% increase in how much Opus 5 you can use via their chat allowance for your paid subscription.

Is that really something worth being frustrated by?

TZubiri 7 hours ago|||
Cached.

they are the first part of the input and it contains no user dependent variables, so the model is in a known state that it can reuse across all users, it does not need to recompute all that inference

cubefox 7 hours ago||
Unless they are using a linear architecture, the compute cost still scales O(n²) for n tokens, and nemory cost scales O(n).
TZubiri 5 hours ago||
>the compute cost still scales O(n²) for n tokens,

That is never the cost, it's a common misconception.

Cost scales linearly per tokens. Unless you are sending one token at a time and avoiding using the same machine or cache.

Just look at api charges, they are charged by token, not by token squared.

cubefox 4 hours ago||
Which seems to contradict the usual consensus that purely linear architectures are not sufficiently capable and unsuited for frontier models.
Marha01 7 hours ago|||
> curious why dont they bake the system prompt in the model itself ?

Probably because if they did, they would need to retrain the model everytime they want to change the system prompt.

JimDabell 8 hours ago|||
You don’t want to do that for anything you want to be able to vary, but they do something similar with a “soul document” for things they always want to apply.

https://news.ycombinator.com/item?id=46125184

supriyo-biswas 8 hours ago|||
In this token-mania frenzy that has taken hold of the industry, I guess solutions like "soul document" and "system prompts" will continue for a while, and once the industry matures a bit we'll go back to things like LoRA[1] and control vectors[2][3].

The other explanation may be that these AI labs may be expecting more government scrutiny, and "here's a document" would probably go better than "here's some vector representation of our values" when talking to politicians.

[1] https://arxiv.org/abs/2106.09685

[2] https://vgel.me/posts/representation-engineering/

[3] https://transformer-circuits.pub/2024/scaling-monosemanticit...

monkpit 6 hours ago||
Is there a reason a document could not be converted to vectors via embedding, and you’d have both?

EDIT: I see, the control vectors operate more directly upon the model, in a way embedding vectors don’t quite have access to.

energy123 8 hours ago|||
If it's a fine tuning step at the end, why is the need for it to vary a problem? Can't you run the fine tuning, test for regression, and deploy the weights in a day?

I think the more likely reason is it doesn't work as well as in context learning. Otherwise they would prefer to avoid polluting context and degrading performance.

TZubiri 7 hours ago||
Fine tuning isn't the same and doesn't have the same effect as selecting input tokens.

Does there exist a model X that behaves exactly as a model Y with context Z? Maybe, but it's not trivial to achieve and might possibly be convoluted and more expensive.

tgsovlerkhgsel 7 hours ago|||
Fully baking them in would make it expensive to update them. Caching kind of "bakes them in" (as in, removes part of the cost) while keeping it flexible.
solarkraft 8 hours ago|||
Baking them into the model and having them apply this strongly is hard and resource intensive, as far as I am aware.

Having them in context is super easy and cheap. It is trivial to change and is 100% cacheable.

epolanski 8 hours ago|||
Why would it be a good idea?

That would make the model quite inflexible.

A system prompt is about guiding the behavior for the rest of the conversation.

If I'm writing an agent for financial analysis I don't want the crap that belongs to a chat-based one, or a code-oriented one.

amelius 7 hours ago||
Flexibility.
swedishuser 2 hours ago||
> Claude does not use emojis unless the person asks or their immediately prior message contains one, and is judicious even then.
trueno 1 hour ago|
my org has snowflake as its data warehouse analytics space. for whatever reason analysts were given free reign to built streamlit in snowflake tools and the emoji hellscape is truly unbelievable
hollow-moe 7 hours ago||
I tried to use Fable on simple local JS/wasm obfuscated files and it refused to work despite multiple tries and different framing. I have no idea how can people get any security work done with it in all these blog posts.
cm2012 6 hours ago||
All the news articles we're hearing about amazing cyber hacking are being done internally inside Anthropic and OpenAI, where they remove most of those safeguards.
ameliaquining 7 hours ago||
Which blog posts?
browningstreet 6 hours ago||
It feels more and more like Anthropic has the best frontier team and the worst policy team. Dario being part of the latter.
rafram 7 hours ago||
> Claude avoids saying "genuinely", "honestly", or "straightforward". Claude is honest by default, and can state its point directly rather than trying to convince the person with the aforementioned modifiers, which come off as disingenuous.

Hah! No it doesn’t.

otterley 2 hours ago||
I’ve noticed that too, but in the Claude Code context, where the system prompt may differ (I don’t think they disclose that one).

I haven’t seen it when using the app lately.

tgsovlerkhgsel 7 hours ago|||
Yeah, I had to laugh when I saw that. I haven't used it recently - is it possible that it's a recent addition to deal with the problem and it has improved since then?

If it's still doing it, I can only imagine how bad it had to be before they added the prompt...

paradox460 5 hours ago|||
I have a bunch of ttsr rules on my omp for banned vocabulary. Gate and load bearing recently made it into this list
armcat 6 hours ago|
I feel the single mention of `currentDateTime` against a large number of date mentions (I counted six) in the system prompt gets it confused sometimes when it comes to dates. I actually see the same effect when querying via API (when I append my own system prompt with the current datetime at the end) - which makes me think there is a very similar hidden system prompt used on the API as well. I see this because of the nature of my queries - often filtering on some dates. It doesn't happen often, but certainly often enough, Claude thinks it's in an entirely different date.
More comments...