claude code & --system-prompt override #1894
|
The docs instruct us to set system prompt for claude code to increase adherence to serena usage:
Is this safe to replace the entire system prompt? Why not use Or better yet -- why not use our global |
Replies: 1 comment 2 replies
|
This instruction is from the Opus 4.8 times and corresponding versions of claude code, where claude just plain refused to adhere to instructions unless forced in this brutish way. Alignment to instructions has since improved, both Opus 5 and Fable can use Serena much better even without the system prompt override. We did some prompt tuning generally and wanted to merge it soonish with updated instructions in our docs but didn't get to that yet. Hooks will also have to be revisited in that context. For now, you can consider our recommendation on system prompts stale but we have no "official" new recommendation yet |
This instruction is from the Opus 4.8 times and corresponding versions of claude code, where claude just plain refused to adhere to instructions unless forced in this brutish way. Alignment to instructions has since improved, both Opus 5 and Fable can use Serena much better even without the system prompt override.
We did some prompt tuning generally and wanted to merge it soonish with updated instructions in our docs but didn't get to that yet. Hooks will also have to be revisited in that context. For now, you can consider our recommendation on system prompts stale but we have no "official" new recommendation yet