Skip to content
Skills Library
AI & agents · Writing

pink-elephant

/pink-elephant

Use when the user flags a 'pink elephant' — an instruction phrased as a prohibition ('do not X', 'never X', 'avoid X') that draws attention to the very behavior it forbids. Rewrites negative rules into positive directives.

Licence
MIT
Last repository change
25.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when the user flags a 'pink elephant' — an instruction phrased as a prohibition ('do not X', 'never X', 'avoid X') that draws attention to the very behavior it forbids. Rewrites negative rules into positive directives.

Triggers from the description

pink elephantdo not Xnever Xavoid X
Original author description

Use when the user flags a 'pink elephant' — an instruction phrased as a prohibition ('do not X', 'never X', 'avoid X') that draws attention to the very behavior it forbids. Rewrites negative rules into positive directives.

How it works

  1. The Principle
  2. When This Skill Activates
  3. Two Failure Modes to Watch For
  4. The Reframe Protocol
  5. Quick Diagnostic
Original SKILL.md headings · 74 lines, 748 words
SKILL.md preview
---
name: pink-elephant
description: "Use when the user flags a 'pink elephant' — an instruction phrased as a prohibition ('do not X', 'never X', 'avoid X') that draws attention to the very behavior it forbids. Rewrites negative rules into positive directives."
when_to_use: |
  Also 'don't think about a pink elephant', or critiques that an instruction/prompt/guideline uses counterproductive negative or prohibition framing.
---

# Pink Elephant

> "Don't think about a pink elephant."
> — Now you're thinking about a pink elephant.

## The Principle

Telling an LLM **not** to do something is unreliable. The forbidden behavior is named in the prompt, which (a) raises its salience as a continuation, and (b) runs into well-documented weaknesses in how language models handle negation. Telling the model what *to* do is more direct and more reliable.

This is industry-standard prompting guidance:

- **OpenAI**: *"Instead of just saying what not to do, say what to do instead."*
- **Anthropic**: *"Tell Claude what to do instead of what not to do."* And: *"Positive examples tend to be more effective than negative examples or instructions."*

See `references.md` for citations and the supporting research.

## When This Skill Activates

- The user says "pink elephant", "don't think about a pink elephant", or similar
- The user critiques a prompt/skill/CLAUDE.md/system instruction for being too focused on what *not* to do
- A document is full of "DO NOT" / "NEVER" / "AVOID" / "DON'T" — especially when stacked or repeated
- The user asks why an agent keeps doing the thing it was just told not to do
- Reviewing prompts, skills, agent instructions, hooks, or guardrails for effectiveness

## Two Failure Modes to Watch For

Negative instructions fail in **two opposite ways**. The fix is the same — rewrite affirmatively — but recognizing which one is happening helps explain the symptom.

### 1. Fixation (the classic pink elephant)
The model produces the forbidden behavior anyway because the prohibition put it in context. Examples: a "no preamble" instruction yields a preamble; "don't apologize" yields apologies; "never use emojis" yields emojis. Negation research (Kassner & Schütze 2020; Truong et al. 2023) confirms LLMs are often "insensitive to the presence of negation."

### 2. Over-literal suppression (especially with newer/more compliant models)
The model follows the prohibition *too* faithfully and suppresses useful behavior alongside the forbidden behavior. Anthropic explicitly warns about this with Claude Opus 4.x: an instruction like "don't nitpick" or "only report high-severity issues" can be obeyed so literally that the model withholds findings the user would have wanted. The prohibition didn't fail — it succeeded too well, on the wrong scope.

Both failure modes have the same fix: state the affirmative goal, with scope. "Don't nitpick" → "Report findings that materially affect correctness, security, or maintainability."

## The Reframe Protocol

### Step 1: Identify the Prohibition
State the negative instruction plainly. "Don't write long preambles." "Never use emojis."

### Step 2: Ask What Behavior You Actually Want
For every "don't X", there's a positive counterpart describing the target behavior:

| Pink elephant (negative) | Reframe (positive) |
|---|---|
| "Don't write long preambles." | "Lead with the answer or action." |
| "Never use emojis." | "Use plain text." |
| "Don't be sycophantic." | "Match the user's tone; respond matter-of-factly." |
| "Avoid hedging." | "State conclusions directly." |
| "Don't make up APIs." | "Verify symbols exist in the codebase before referencing them." |
| "Don't nitpick." | "Report findings that materially affect correctness, security, or maintainability." |

### Step 3: Keep Prohibitions Where They're Load-Bearing — But Pair Them With An Affirmative Fallback
Some negatives are genuinely necessary — usually around safety, security, or hard constraints with no positive substitute:

- "Never commit secrets to git."
- "Never run `rm -rf` on user data."
- "Don't push to main without review."

The Microsoft Azure OpenAI safety-system-message pattern is the right one here: *pair every necessary prohibition with what to do instead when the prohibition fires*. "Never share customer PII → if asked, redirect the user to <link>." The prohibition holds the line; the affirmative tells the model what success looks like when it does.

### Step 4: Don't Stack Prohibitions
A wall of "DO NOT" / "NEVER" / "AVOID" is itself a giant pink elephant. Even if each rule is individually load-bearing, the cumulative effect floods the prompt with forbidden behaviors. Consolidate, prioritize, convert as many as possible to positive directives.

## Quick Diagnostic
1. Does this tell the agent what TO do, or only what NOT to do?
2. If I removed this line, would the agent still know what behavior is expected?
3. Am I describing the failure mode, or the success mode?
4. If a prohibition must stay, does it specify what to do instead when it fires?

If the instruction only describes the failure mode, it's a pink elephant. Rewrite it.
Files in this package (3)
  • README.md 4 KB
  • SKILL.md 5 KB
  • references.md 4 KB

Versions

The database has no other skills named pink-elephant.

Database snapshot: 13.11.2026 · package version 987e0bad4c48 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

No similar skills in the database.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.