frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Claude: System Prompts

https://platform.claude.com/docs/en/release-notes/system-prompts
56•tosh•1h ago

Comments

tosh•26m ago
what I found noteworthy:

early system prompts are a bit more than 300 words, the latest ones 3000+

the opus 5 system prompt has instructions that explain to opus that it might be handling a request that was intended for fable 5:

  the user may have selected a different Anthropic model, "Claude Fable 5", but their query was redirected to Opus 5 instead due to a safeguards routing mechanism. The user may be confused about this situation (it's very recent!); if they have questions, Claude can either directly cite or just let its response be informed by this quote from Anthropic's blog post on the subject:

  "Releasing a model this capable comes with risks. Without safeguards, Fable 5’s capabilities in areas like cybersecurity could be misused to cause serious damage. We've therefore launched the model with safeguards that mean queries on some topics will instead receive a response from our next-most-capable model, Claude Opus 5. To release the model both safely and quickly, we've tuned these safeguards conservatively—they'll sometimes catch harmless requests, though they trigger, on average, in less than 5% of sessions. With more capable models arriving in the coming months, we're working to improve our safeguards and reduce false positives as quickly as we can." </fable_safeguards_routing> <default_stance> Claude defaults to helping. Claude only declines a request when helping would create a concrete, specific risk of serious harm; requests that are merely edgy, hypothetical, playful, or uncomfortable do not meet that bar. </default_stance> <refusal_handling> Claude can discuss virtually any topic factually and objectively.
simonw•23m ago
I have a folder where I rebuild these as a git commit history so you can more easily see what has changed: https://github.com/simonw/research/commits/main/extract-syst...

For example here's what changed between Opus 4.8 and Opus 5: https://github.com/simonw/research/commit/a2de185cc367eb66c2...

The most interesting addition to the prompt from that diff is this bit:

> Claude Fable 5 and Claude Mythos 5 were first released on June 9, 2026. On June 12, 2026, Anthropic suspended access to both models to comply with U.S. Department of Commerce export controls; the Department lifted those controls on June 30, 2026, and Anthropic restored access on July 1, 2026 (Anthropic's statement: [https://www.anthropic.com/news/fable-mythos-access](https://www.anthropic.com/news/fable-mythos-access)). These events are after Claude's training-data cutoff, so Claude knows about them only from this notice. If asked, Claude confirms them accurately and matter-of-factly — it doesn't deny the suspension happened — and otherwise treats the export controls like any other current political topic: it gives a fair, accurate account rather than sharing personal opinions, and points to the linked statement for anything further. Things may have developed since this notice, so Claude checks for newer information when it can search, and otherwise suggests checking Anthropic's site.

One frustrating note about this page is that they share the system prompts used for https://claude.ai and the Claude mobile apps regular chat, but they omit the tool definitions. Those are much more interesting if you want to understand what Claude can actually do for you. You can reconstruct them through prompting Claude directly but that's extra friction and risks refusals and hallucinations.

They also don't publish the Claude Code system prompts, which is silly because those are trivial to extract using a logging proxy.

eterm•
pulkitsh1234•23m 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

epolanski•22m 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.

solarkraft•19m 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.

simonw•19m 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.

JimDabell•17m 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

comboy•23m ago
I think they would benefit from asking Claude to list all contradictions and inconsistencies in that prompt which there are a few..

In my experience instructions containing contradictions lead to diminished quality even outside the scope of the contradiction.

epolanski•23m ago
One thing I've always found surprising about "harnessess" (god I hate that word) like Pi or Opencode is the lack of a customizeable system prompt. I can understand it for closed source ones, but open ones?

They are natural surfaces for building custom agents and yet you're stuck with whatever they ship with, weird. It's not like it's too complicated api-wise either.

There must be something I ignore.

solarkraft•15m ago
I agree. A lot of harnesses - and I think this may be a consequence of the LLM-fueled bespoke-software trend - are optimized for solving a specific issue well and the way they are tweaked is telling an LLM to do it. This resolves the need for natural extension points.

I don't think this is a sustainable way of doing things because I really don't want to assume the maintenance burden for every piece of software that I want to tweak. As far as I understand, new developments like opencode2 have learned from this and are aiming for a well architected core that is easy to built on top of.

simonw•14m ago
Pretty much everything in Pi is handled by extensions. There's an extension for customizing the system prompt here: https://pi.dev/packages/pi-custom-system-prompt

My guess is that harnesses don't make core system prompts customizable out of the box because the system prompt is one of the defining features of the agent, and something they constantly iterate on and test between releases.

Most users who want to customize the system prompt actually want to do things like add preferences for how the agent should behave, which is better handled by mechanisms like memories or skills (which effectively get appended to the system prompt.)

altmanaltman•22m ago
Wild how most of the earliest models had no child safety guardrails in the prompt (something that has multiple bullet points now in the latest one). For a company all about allignment and safety, they chose to go with this as their first system prompt:

The assistant is Claude, created by Anthropic. The current date is {{currentDateTime}}. Claude's knowledge base was last updated in August 2023 and it answers user questions about events before August 2023 and after August 2023 the same way a highly informed individual from August 2023 would if they were talking to someone from {{currentDateTime}}. It should give concise responses to very simple questions, but provide thorough responses to more complex and open-ended questions. It is happy to help with writing, analysis, question answering, math, coding, and all sorts of other tasks. It uses markdown for coding. It does not mention this information about itself unless the information is directly pertinent to the human's query.

^ No mention of any safety at all lol, how could dario let this be

ianhawes•17m ago
Multiple reasons probably:

1. Less context window to work with.

2. Things were "different" in the early days. The safety and alignment stuff was probably trained into the model, not also found in the system prompt.

3. Safety and alignment meant something different 3 years ago. Now that we've seen how people, including children, use chat bots, altering the guardrails only makes sense. Did we think people would replace their therapists with ChatGPT in the early days? No. Do we know now that they will? Yes.

arkmm•20m ago
"Claude keeps responses focused, brief, and concise to avoid overwhelming the person."

Claude and I must have a different idea of what brief and concise mean.

alberth•18m ago
Do these system prompts count against your token usage?
simonw•17m ago
No, because these ones affect the consumer chat products and not the API or Claude Code.

(Though Claude Code has its own, unpublished system prompts which we DO pay for, albeit at the cached token rates.)

oriettaxx•7m ago
I have the feeling soon we'll see much more content in the DONT section: when religion will start entering the arena.
dooglius•3m ago
I'm confused, the Opus 5 announcement said it was (outside a few special cases) better than Mythos/Fable, but the Opus prompt here seems to suggest the opposite?
10m ago
It'd be ironic if the "Opus 5 nerf" effect is from telling Opus that it sits a tier down from Fable and Mythos, while Opus4.8 believed it was the best of the best, just a note that it was "Preceded by Mythos".
mcbuilder•49s ago
Nah, that's the same sort of thinking that makes people type "make no mistakes"

Claude: System Prompts

https://platform.claude.com/docs/en/release-notes/system-prompts
56•tosh•1h ago•20 comments

Is the industry ready for tokens-constrained work?

https://blog.alaindichiappari.dev/p/what-to-do-when-tokens-run-out
20•fullautomation•1h ago•28 comments

A SAT Attack on Tarski's High School Algebra Problem

https://arxiv.org/abs/2608.08421
29•matt_d•4d ago•12 comments

Does anyone run Postgres without PgBouncer?

https://brandur.org/fragments/postgres-without-pgbouncer
33•abelanger•3d ago•4 comments

Asus Bike Booster

https://www.asus.com/accessories/bike-booster/asus-oxiis/oxiis-intelligent-bike-booster/
503•wiradikusuma•4d ago•346 comments

Research papers using "kidney disappointment" instead of "kidney failure"

https://scholar.google.com/scholar?q=%22kidney+disappointment%22
56•Alifatisk•1h ago•27 comments

Tasklet (YC P26) Is Hiring a Head of Design Engineering

https://tasklet.ai/careers/head-of-design-engineering
1•mayop100•27m ago

Firefox for iOS now has a native adblocker

https://support.mozilla.org/en-US/kb/block-ads-firefox-ios
19•pentagrama•1h ago•8 comments

Chestnut – eGPU dock with open-source firmware

https://hwbusters.com/news/comma-ai-egpu-dock-runs-open-source-firmware-249-bare-799-with-an-rx-9...
56•txrx0000•2d ago•12 comments

Asynchronous I/O in DuckDB: Work, Thread, Work

https://duckdb.org/2026/07/31/asynchronous-io
208•pdet•6d ago•26 comments

Superconducting monolayer cuprate with a single CuO2 plane

https://www.nature.com/articles/s41586-026-10857-1
33•sbulaev•3d ago•10 comments

Software Engineering fundamentals matter more

https://rhonabwy.com/2026/08/15/software-engineering-fundamentals-matter-more-than-ever/
217•ingve•15h ago•141 comments

Super El Niño Keeps Growing as New Forecasts Reach Record Territory Ahead Winter

https://www.severe-weather.eu/long-range-2/super-el-nino-growth-accelerating-to-record-strength-f...
313•dgellow•18h ago•204 comments

Cultivating a state of mind where new ideas are born (2023)

https://www.henrikkarlsson.xyz/p/good-ideas
206•felixbraun•17h ago•50 comments

Patterns and problems in emerging multi-agent systems

https://www.anthropic.com/research/multiagent-systems
146•maxutility•11h ago•101 comments

Semaglutide linked to lower predicted dementia risk

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/dad2.70432
447•randycupertino•21h ago•334 comments

Guiding Ships with Moire Patterns

https://tinkerings.org/2018/03/28/guiding-ships-with-moire-patterns/
80•Eridanus2•12h ago•20 comments

US oil reserves are so low, the caverns holding them could be damaged

https://www.independent.co.uk/news/world/americas/us-politics/strategic-petroleum-reserve-trump-i...
14•NordStreamYacht•1h ago•2 comments

At-home test for infected ticks could improve Lyme Disease diagnosis

https://www.smithsonianmag.com/innovation/the-first-at-home-test-for-infected-ticks-could-improve...
269•gmays•23h ago•103 comments

What happens when an LLM never sees material beyond fifth grade?

https://littlelearner-ll.github.io/
189•porridgeraisin•6h ago•148 comments

Falstad Math and Physics Simulations

https://www.falstad.com/mathphysics.html
38•pykello•9h ago•9 comments

AI in drug discovery – what it is, where we stand and the path forward

https://www.science.org/content/blog-post/so-how-ai-drug-discovery-doing-really
157•AnodicElegy•18h ago•84 comments

RISC-V: They Should Have Known Better

https://dmitry.gr/?r=06.%20Thoughts&proj=12.%20RV
341•dmitrygr•2d ago•387 comments

Show HN: Mic Drop, a real-time multiplayer karaoke game

https://www.micdrop.gg/
69•johnsillings•13h ago•29 comments

A fortuitous decade as an indie software developer

https://lapcatsoftware.com/articles/2026/8/3.html
112•frizlab•5d ago•15 comments

Numba in the Browser: Unlocking a New Scientific Python Stack in JupyterLite

https://notebook.link/blog/numba-in-the-browser/
58•xalfotis•4d ago•11 comments

A spectre is haunting Unicode

https://www.dampfkraft.com/ghost-characters.html
242•sensanaty•23h ago•96 comments

Tracking down a Zsh history data loss bug

https://michael.stapelberg.ch/posts/2026-08-09-zsh-history-truncation-bug/
96•ingve•16h ago•37 comments

Abdominal fat predicts heart disease risk better than BMI

https://www.acc.org/about-acc/press-releases/2026/08/11/14/59/abdominal-fat-predicts-heart-diseas...
292•theanonymousone•16h ago•241 comments

I built a browser-native SysEx librarian for 80s/90s synthesizers

https://bipluk.com/
28•halfradaition•3d ago•19 comments