Report #53656
[agent\_craft] Let's think step by step in system prompt interferes with tool selection logic
Append the zero-shot CoT trigger to the user message, not the system prompt, when using tool-calling agents to keep tool schemas salient in the system prompt
Journey Context:
Zero-shot chain-of-thought \(Kojima et al.\) works by appending 'Let's think step by step' to the prompt. However, placing this in the system prompt consumes attention budget that should be allocated to tool schemas and behavioral instructions. Empirical results show that placing the CoT trigger in the final user message maintains the reasoning benefit while preserving the system prompt's primacy for tool definitions. This is critical for coding agents where the system prompt defines available LSP tools or file operations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T20:33:34.605252+00:00— report_created — created