[BUG] Claude Doesn't Follow Instructions
● Environment
- Platform (select one):
[x] Anthropic API
[] AWS Bedrock
[] Google Vertex AI
[] Other:
- Claude CLI version: Claude Code v0.2.65
- Operating System: Linux
- Terminal: Not specified
Bug Description
Claude repeatedly ignores explicit sequential instructions, particularly when told not to perform actions until confirming understanding or answering a question first.
Steps to Reproduce
- Give Claude a task with a specific instruction like "I don't want you to do anything until you answer my question"
- Include a question about the task that requires confirmation before proceeding
- Observe Claude immediately using tools to start working on the task instead of answering the question first
Expected Behavior
Claude should respect sequential instructions and explicitly confirm understanding or answer questions before proceeding with tool usage or other actions.
Actual Behavior
Claude immediately begins using tools (View, BatchTool, etc.) to analyze files and gather information, completely ignoring the explicit instruction to answer the question first before taking any
action.
Additional Context
This is a recurring issue that persists across conversations. Even when the user explicitly tells Claude not to do anything until a condition is met, Claude consistently prioritizes information
gathering over following the sequential instructions. This makes it difficult to establish proper workflows and forces users to repeatedly correct Claude's behavior.
7 Comments
Here's a specific conversation I had with Claude which led me to reporting this issue.
I have found it necessary to formalize the interactions with very specific instruction (it still may go off but it stays on track much more reliably and can be redirected more easily. This will not work for free-form interactions where you want Claude to ask or prompt for a specific response ad-hoc.
Step 7: Documentation
CLAUDE:
.
After documentation completion:
I will say:
USER: Must respond with one of:
Okay, not understanding your answer. This is a bug. Are you saying you won't fix it? Your own AI recognizes it as a problem with your implementation of the LLM at the system level.
I apologize if I'm misunderstanding your response. If your intention is to communicate the proposed fix with the model, then I appreciate that. But to re-iterate, I do think there is room for improvement here in the case you're suggesting that I just need a better prompt which is what I'm understanding. Appreciate any follow up you can provide to help me understand what your proposed fix is for this problem.
I'm not Anthropic - I am saying this is an inherent problem with LLMs and the way around it is to improve your instructions and prompts. I myself am frustrated by the issue you raise, but it isn't necessarily AFAIK a bug - it just is the way it is. Maddening? YES! Easily (or even possibly) reliably solved? No...
Appreciate your input. And yes, I'm sure I can improve it with more precise prompting. I'm just raising it as an issue to Anthroipic to improve their model.
Thank you for the report @robertatleaptheory! We're making improvements to Claude Code instruction following and expect the system to get better over time.
For your example,
claudemight see your instructions as conflicting with each other if the question cannot be answered without tool use (i.e. without reading files for additional context first). If that's not the case, you could try stronger prompting explicitly instructing the model to not perform any tool calls before answering your question.This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.