by tstrimple · 1mo ago · 0 comments
https://code.claude.com/docs/en/agent-sdk/modifying-system-p...
The main benefits to modifying the system prompt or output style is that the harness "reminds" the model about those things every turn. So if you've experienced things like Claude Code losing track of instruction from CLAUDE.md in large contexts, it indicates you may need to add the instruction to the system prompt instead which is far more durable.
No comments yet.