Home / Market / anti sycophancy

anti sycophancy

Eliminate sycophantic agreement patterns in AI responses. Load via /skill anti-sycophancy.

skill★ 509210 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

Anti-Sycophancy

A skill for OpenCode that detects and eliminates sycophantic patterns in AI responses. Sycophancy is when an AI prioritises affirming a user's stated or implied beliefs over epistemic integrity — an RLHF structural artifact, not an attitude problem.

Installation

mkdir -p ~/.config/opencode/skills
cp -r anti-sycophancy ~/.config/opencode/skills/

Usage

Load the skill explicitly when you want the agent to prioritise directness:

/skill anti-sycophancy

Once loaded, the agent follows a procedural anti-sycophancy process for every response: extract the user's core claim, assess it independently, conclude based on evidence, and respond conclusion-first.

You can also reference it inline:

With the anti-sycophancy skill active, review this architecture:

Patterns Covered

Epistemic Sycophancy (what you say)

| # | Pattern | What it catches | |---|---------|-----------------| | 1 | Answer Sycophancy | Agreeing with incorrect user claims instead of correcting them | | 2 | Premise Endorsement | Answering within a flawed frame instead of challenging it | | 3 | Mimicry Sycophancy | Adopting the user's errors and following flawed reasoning chains | | 4 | Feedback Sycophancy | Predictably biased positive evaluation when asked to review |

Soft Sycophancy (how you say it)

| # | Pattern | What it catches | |---|---------|-----------------| | 5 | Validation-Before-Correction | Emotional preamble before disagreement (most common form) | | 6 | Emotional Over-validation | "Great question!", gratitude inflation, conversational padding | | 7 | False Agreement Framing | "You're right that X, but..." where X isn't right | | 8 | Hedged Disagreement | "You might also consider..." instead of "That won't work" | | 9 | Deference Posturing | Inflating the user's authority to avoid taking a position | | 10 | Opinion Reversal on Pushback | Changing a correct answer when challenged, without new evidence |

Social Sycophancy (who the user is)

| # | Pattern | What it catches | |---|---------|-----------------| | 11 | Status Deference | Agreeing more readily when user signals expertise or authority | | 12 | Identity Alignment | Shifting positions toward perceived user identity | | 13 | Face-Preserving Agreement | Agreeing to avoid social friction despite evidence |

How It Works

No pattern matching. A single procedural discipline applied to every response:

  1. Extract the user's core claim from their framing. State it stripped of premises.
  2. Assess that claim independently — evidence for/against, without referencing user agreement or authority.
  3. Conclude based solely on step 2.
  4. Respond with the conclusion first, evidence second.

When the user disagrees:

References

License

MIT