Symptom · ChatGPT

ChatGPT ignores your instructions

You state a rule, it holds for two messages, then quietly drops it.

“I didn't ask!” “treats custom instructions as preferences, not rules”

What is actually happening

Instructions compete with everything else in the context window. The further back a rule sits, and the more the conversation drifts, the less weight it carries against the immediate request.

Everything below comes from published research, not from opinion. Each fix names the technique, states the effect its authors measured where one was reported, and links to the paper so you can check it. These were selected out of 6,235 techniques indexed from the literature.

4 fixes that hold up

01

Rule conflict in LLMs

Conflict and Congruency Effects in Large Language Models: In-Weight and In-Context Competition in a Verbal Conflict Task, arXiv:2608.11510 (2026)

Research shows that LLMs perform worse on instructions that contradict learned patterns from training. The effect is amplified when conflicting rules are placed in the middle of a long instruction list. The model experiences competition between explicit rules in the prompt and habitual responses embedded in weights, reducing accuracy and confidence by 2x.

Hide the rule in the middle of a list of 8 points — and the model will simply ignore it, even if it technically knows this rule. Research shows: the position of a conflicting rule in the prompt decides whether the model will follow it or fall back to the habitual answer. Scientists made a verbal Stroop test for text: a phrase pulls the model toward the default answer embedded in the weights during training. When the rule matches this habit — the model's confidence is almost maximal. When the rule goes against it — confidence drops almost 2 times. Inside the model there is real _competition for attention_ between the learned pattern and the text of the rule.

Use it whenUse this knowledge when developing system prompts with multiple rules, especially when some instructions contradict the model's natural behavior. Critical when creating support chatbots, content moderation, or specialized assistants that require non-standard responses. Place rules that conflict with the model's habits at the beginning or end of the instruction list, avoiding the middle. Apply when debugging prompts if the model ignores certain rules — check
Prompt
## Role: Prompt Engineering Expert

You are an expert in prompt engineering, specializing in LLM behavior and instruction following. Your task is to create a robust system prompt that addresses the problem of LLMs dropping instructions over time.

## Context: The Problem

A recurring issue when interacting with LLMs (like ChatGPT) is that they initially follow explicit instructions but then gradually "forget" or ignore them in subsequent turns of the conversation. This is often due to a conflict between the explicit instruction and the model's "learned habits" or default behaviors, especially when the instruction is counter-intuitive or buried in a long list of rules.

## Technique: Rule Conflict Mitigation (Adapted from Research)

This prompt is designed to mitigate rule conflict by applying principles derived from research on how LLMs handle conflicting instructions:

1.  **Prioritize Conflicting Rules:** Rules that go against the model's "natural" or "habitual" response (e.g., "do not apologize," "refuse politely") are more likely to be dropped. These rules must be given prominence.
2.  **Strategic Placement:** Conflicting rules are less effective when buried in the middle of a long list. They should be placed at the beginning or end.
3.  **Explicit Reinforcement:** Reinforce the importance and priority of these critical rules.
4.  **Verification Step:** Include a specific instruction for the model to check its response against critical rules before outputting.

## Task: Create a Reusable System Prompt

Develop a system prompt that can be pasted at the beginning of a conversation to ensure critical instructions are followed consistently throughout the dialogue.

## Prompt Structure and Content
source paper →
02

One prompt ceiling

Less Is More: Cognitive Load and the Single-Prompt Ceiling in LLM Mathematical Reasoning, arXiv:2604.18897 (2026)

Technique for structuring prompts with multiple rules based on the principle of positional priority: the first rule receives disproportionately greater weight during LLM processing. Changing the order of the same rules can yield accuracy improvements up to 7.5 percentage points, preventing averaging of conflicting instructions.

Changing the order of the same rules can yield accuracy improvements up to 7.5 percentage points, preventing averaging of conflicting instructions.checked against the paper
Use it whenApply this technique when your prompt needs to use multiple rules or instructions simultaneously, especially if they may conflict with each other. The method is critically important for tasks where the priority of one rule over another affects result quality. Use when creating complex prompts for classification, content generation with multiple constraints, or when you notice the model averaging contradictory instructions instead of following the main one. Especially effective for improving prompt robustness.
Prompt
# Technique: One Prompt Ceiling (Prioritized Rules)

## Core Principle
When combining multiple rules or instructions into a single prompt, Large Language Models (LLMs) tend to "average" their influence rather than strictly adhering to the best one. To ensure a specific rule or instruction takes precedence, it must be placed strategically, typically at the beginning, to receive disproportionately higher weight.

## User Task Context
This prompt is designed to address a recurring problem where ChatGPT follows instructions for a couple of messages and then drops them. The goal is to create a reusable prompt that ensures the primary instruction remains dominant throughout the interaction.

## Prompt Structure and Application

### Role
You are an AI assistant that excels at maintaining focus on primary instructions and adhering strictly to defined rules throughout a conversation.

### Primary Instruction (Highest Weight)
**Your absolute top priority is to strictly adhere to the following core instruction for the entire duration of our conversation:**

[**INSERT YOUR MOST IMPORTANT RULE OR INSTRUCTION HERE**]

### Supporting Instructions (Lower Weight)
Below are additional instructions. While important, they should not override the primary instruction above. If there's a conflict, the primary instruction takes precedence.

1.  **Maintain Consistency:** For the first 2-3 messages, you will follow all instructions given. After this initial period, you must continue to adhere to the primary instruction without fail.
2.  **Rule Dropping Mitigation:** If you find yourself about to deviate from the primary instruction, explicitly state that you are prioritizing the primary instruction and explain why.
3.  **Rule Hierarchy:** Understand that the instruction labeled "Primary Instruction" is the most critical and must always be followed. Other instructions are secondary.

### Output Format
Unless otherwise specified, provide your responses in a clear, concise manner.

---

**Example of how to use this prompt:**

Imagine your primary rule is "Only respond in JSON format."

You would replace `[INSERT YOUR MOST IMPORTANT RULE OR INSTRUCTION HERE]` with:
"Only respond in JSON format. Every output must be a valid JSON object."

Then, you would use the entire prompt above.
source paper →
03

Harness-IF

Harness-IF: Evaluating Instruction Following Across Instruction Surfaces in Coding Agents, arXiv:2608.11727 (2026)

Harness-IF research reveals patterns of instruction violation by AI agents: rules contradicting model default behavior are followed 4-7% worse; positive instructions ('do X') are forgotten in 77% of cases, while prohibitions ('don't do Y') are violated only in 21%; instruction priority depends not on text position but on source (system prompt beats tool descriptions).

Discovered: 77% of all rule violations by AI-agents — these are forgotten requirements 'do X', not violated prohibitions 'do not do Y'. The Harness-IF study makes it possible to understand which of your instructions the model is most likely to ignore — and how to rephrase them to fix this. Rules against the model's 'habit' (you ask without bullets, but it loves them) lose the conflict 4-7 points more often across all models without exception — this is not a bug of one model, but a systemic weakness.

Use it whenApply this technique when developing system prompts and instructions for AI agents, especially when you notice the model ignoring certain rules. Critically important when tuning agents for repetitive tasks requiring strict instruction adherence. Particularly useful when your requirements contradict natural model behavior (for example, prohibiting bullet points or emojis). Helps understand which instructions need reinforcement or reformulation as prohibitions instead
Prompt
# Harness-IF Prompt Template for Rule Adherence

## Role
You are an AI agent designed to follow instructions meticulously, especially when those instructions involve overriding your default behaviors or habits.

## Context
The user is experiencing a recurring problem: AI models, after initially adhering to stated rules, quietly drop them after a few turns. This prompt is designed to mitigate that issue by leveraging the Harness-IF research findings.

## Task
Generate a reusable prompt template that the reader can paste into an AI chat interface to ensure consistent rule adherence. This template should be structured to address the weaknesses identified in the Harness-IF research, specifically:
1.  **Anti-Default Rules:** Rules that go against the model's natural tendencies (e.g., avoiding emojis, not using bullet points when it prefers them).
2.  **"Do X" vs. "Don't Y" Rules:** Positive requirements ("Do X") are forgotten more often than negative prohibitions ("Don't Y").
3.  **Rule Priority:** The position of a rule in the prompt text does not reliably determine its priority.

## Harness-IF Prompt Structure

Adapt the following template for your specific task.

---

**[Your Core Task Description Here]**

Follow these rules to ensure consistent adherence:

1.  **[Rule Against Model's Default Behavior]**
    *   **Explanation:** This is an explicit deviation from your usual behavior, not a mere suggestion. Models tend to revert to their default patterns (e.g., using emojis, bullet points, or generating lengthy explanations) unless explicitly guided against it.
    *   **Example of Violation:** [Provide a clear example of how the model might incorrectly perform this rule, e.g., "Using emojis like 🚀 or ✨ in the response."]
    *   **Correct Execution:** [Provide a clear example of the correct execution, e.g., "Response should be plain text without any emojis."]

2.  **OBLIGATORY: [Positive Requirement / Action Item]**
    *   **Explanation:** This is a critical requirement that must be included in the final output. Such positive instructions are often forgotten during generation.
    *   **Final Check:** Before providing the final response, please explicitly verify that this condition has been met.

3.  **Priority Clause:**
    *   In case of conflict between these rules and any other instructions within this conversation, these rules take precedence.

---

## Instructions for Use

1.  **Identify Your Rules:** Determine the specific instructions you want the AI to follow.
2.  **Identify Anti-Default Rules:** For each rule, consider if it goes against the AI's natural tendencies. Common defaults include:
    *   Using emojis.
    *   Using bullet points or lists.
    *   Providing lengthy, explanatory text.
    *   Being overly conversational or friendly.
    *   Generating code with specific formatting.
3.  **Identify Positive Requirements:** Note any instructions that require the AI to *do* something specific (e.g., "include a call to action," "provide 3 examples," "format as a table").
4.  **Populate the Template:**
    *   Replace `[Your Core Task Description Here]` with your main request.
    *   For Rule 1, insert an anti-default rule. Provide clear examples of violation and correct execution.
    *   For Rule 2, insert a positive requirement and add the "Final Check" instruction.
    *   Adjust the "Priority Clause" if necessary, but it's generally recommended to keep it as is.
5.  **Paste and Run:** Use the completed template in your AI chat.

**Example of a completed template section (for a copywriter):**

---
Write a Telegram post about a new feature launch.

Follow these rules to ensure consistent adherence:

1.  **NO EMOJIS IN THE TEXT.**
    *   **Explanation:** This is an explicit deviation from your usual behavior, not a mere suggestion. Models tend to revert to their default patterns (e.g., using emojis, bullet points, or generating lengthy explanations) unless explicitly guided against it.
    *   **Example of Violation:** "New feature launched! 🚀 Check it out!"
    *   **Correct Execution:** "New feature launched! Check it out."

2.  **OBLIGATORY: END THE POST WITH A SINGLE-LINE CALL TO ACTION.**
    *   **Explanation:** This is a critical requirement that must be included in the final output. Such positive instructions are often forgotten during generation.
    *   **Final Check:** Before providing the final response, please explicitly verify that this condition has been met.

3.  **Priority Clause:**
    *   In case of conflict between these rules and any other instructions within this conversation, these rules take precedence.

---
source paper →
04

LLM Rule Failure Threshold

Prompt Design at Scale: How Format, Instruction Count, and Context Length Shape Instruction Adherence and Hallucination in Large Language Models, arXiv:2607.19257 (2026)

Research reveals a critical threshold at ~80 simultaneous rules, after which LLMs fail to correctly execute all requirements regardless of formatting. A method is proposed to prioritize rules to maintain stable execution of critical requirements when dealing with large numbers of constraints.

The trick: it's not about formatting, but about quantity — 98% accuracy on one rule multiplied by 80 rules, and the chance of a perfect result collapses purely mathematically.checked against the paper
Use it whenUse this technique when you need to apply a large number of rules and constraints to LLM responses. Especially critical when developing prompts for production systems, chatbots, and automated services where compliance with multiple requirements simultaneously is important. Apply rule prioritization by importance when the number of requirements exceeds 20-30: separate critical rules (tone, safety, format) from secondary ones. This will help avoid quality degradation when scaling
Prompt
# LLM Rule Failure Threshold Mitigation Prompt

## Role
You are an AI assistant designed to follow instructions meticulously. Your primary function is to adhere to a given set of rules and constraints throughout a conversation or task execution.

## Context
This prompt is designed to address a known limitation in Large Language Models (LLMs) where they may stop adhering to instructions after a certain number of simultaneous rules are applied (approximately 80). The goal is to ensure that critical instructions, such as tone, output format, and specific prohibitions, are maintained even when a large number of rules are present.

## Core Principle: Rule Prioritization and Management
The key insight from the LLM Rule Failure Threshold research is that the *quantity* of rules, not necessarily their formatting, leads to degradation. To combat this, we will implement a system that prioritizes and separates critical rules from less critical ones.

## Task
Generate a reusable prompt that a user can paste into an LLM (like ChatGPT) to ensure their instructions are followed consistently, even when many rules are present. The prompt should aim to mitigate the observed "rule failure threshold."

## Prompt Structure and Execution

This prompt is structured to manage rules by explicit prioritization.

### **I. Critical Rules (High Priority - Must Be Maintained)**

These rules are paramount and must be followed at all times. If any of these are broken, the output is considered a failure.

1.  **Tone:** Maintain a professional, objective, and helpful tone.
2.  **Output Format:** Adhere strictly to the specified output format.
3.  **Prohibitions:** Do not include [SPECIFIC PROHIBITED CONTENT/PHRASES].
4.  **Core Task Adherence:** Ensure the primary task objective is met.
5.  **Rule Maintenance:** Actively monitor and confirm adherence to all rules in this "Critical Rules" section throughout the interaction. If you detect a deviation, self-correct immediately.

### **II. Secondary Rules (Medium Priority - Aim for Strict Adherence)**

These rules are important for quality but are less critical than the "Critical Rules."

1.  **Detail Level:** Provide [SPECIFIC DETAIL LEVEL, e.g., moderate, in-depth].
2.  **Length:** Aim for [SPECIFIC LENGTH, e.g., concise, detailed paragraphs].
3.  **Structure:** Use [SPECIFIC STRUCTURAL ELEMENTS, e.g., bullet points, numbered lists].

### **III. Tertiary Rules (Low Priority - Attempt to Follow)**

These are guidelines that enhance the output but can be more flexible if absolutely necessary to maintain Critical and Secondary Rules.

1.  **Creative Flair:** [SPECIFIC CREATIVE INSTRUCTION, e.g., use analogies, be slightly more conversational].
2.  **Formatting Nuances:** [SPECIFIC FORMATTING, e.g., use bold for keywords, italicize examples].

### **IV. Task Execution**

**Your Primary Task:** [**USER'S SPECIFIC TASK GOES HERE. Example: "Analyze the provided text for sentiment and summarize key themes."**]

**Input Data/Context:** [**USER'S INPUT DATA OR CONTEXT GOES HERE. Example: "The following text is from a customer review: '...' "**]

### **V. Verification Step**

Before finalizing your response, explicitly state:
"I have reviewed and confirmed adherence to all Critical Rules, Secondary Rules, and the Primary Task."

---

**Instructions for Use:**
1.  Replace `[USER'S SPECIFIC TASK GOES HERE]` with your actual task.
2.  Replace `[USER'S INPUT DATA OR CONTEXT GOES HERE]` with any relevant data.
3.  Customize the rules within sections I, II, and III based on your specific needs (e.g., define the tone, format, prohibitions, detail level, length, structure, creative flair, and formatting nuances).
4.  Be mindful that the total number of explicit rules across all sections should ideally not exceed 70-75 to maintain a buffer below the ~80 rule failure threshold.
source paper →

What does not work

Repeating the instruction louder. Capitals, "IMPORTANT", and three exclamation marks change nothing structural. The rule still sits in the same place, competing with the same context.

Politeness and threats. Both have been measured repeatedly across 2025 and 2026 and come out indistinguishable from noise.

Turning the temperature to zero. It reduces variation, not misunderstanding. If your request has two valid readings, you now get the wrong one reliably.

Get this fixed for your actual task

The four prompts above are written for the average case. Paste what you are actually trying to do and the corpus will be matched against it directly. Free, no account, about ten seconds.

Free · no signup · ~10s
0.00match confidence
single retrieval pass
Prompt for your task


      

That number is low on purpose, and it is real. It is the raw similarity of one retrieval pass. No specialist read the paper, no judge compared anything against anything, and the first plausible match won. It is the honest score of a ten-second answer.

117techniques in the corpus
address this exact symptom

You have seen 4 of them on this page and one more just now. Deciding which of the remaining 117 actually fits your case is the work, and it is the work GetDecision does.

This page4 techniques for the average case, generic prompts
What you just ranone technique matched to your wording, nothing verified
Full runten specialists read the papers in full, a judge ranks the top three for your task and shows its reasoning, generation on the model you pick, saved to your history

See the top three for your taskTen specialists read the full papers, a judge ranks them and shows its reasoning. Free account, first run included.

Run the full analysis

Questions

Why does ChatGPT stop following instructions I already gave?

Instructions compete with everything else in the context window. The further back a rule sits, and the more the conversation drifts, the less weight it carries against the immediate request.

Does lowering the temperature fix this?

It reduces variation, not misreading. If the request admits more than one valid interpretation, a colder model just picks the same wrong one more consistently.

Do these techniques work on reasoning models?

Some do and some do not. Each fix below carries the effect its authors measured and a link to the paper, so you can check what it was measured on.