by tosh · 3mo ago · 0 comments
at the least it takes away thousands of tokens in the most important part of the context window (!)
also see the comment by comboy on contradictions not helping performance
the system prompt is the most important part of the instruction you can give the model
it comes before everything else + the model is trained to pay extra attention to it
edit: that's also why in smol (minimalist agent harness) there currently is no system prompt at all (you can add one easily if you want to though)
https://github.com/smol-env/smol
the context window is precious
it should be filled with your task and helpful context for that task
Any mention in the system prompt is mostly defense in depth, and to make refusals more graceful.
If the prompt were the only protection, it would be extremely easy to produce illegal content after a long session.
But how do you start a Claude Code session without a system prompt?
Otherwise DANmode and similar jailbreaks would still be as easily accessible as they were at the beginning.
afaiu they have other systems for denying and re-routing requests