Logical fallacy detector

From curiositech/windags-skills · View interactive version

Logical fallacy detector is an AI agent skill from the GitHub repository curiositech/windags-skills. Identify, label, and explain logical fallacies in arguments and discourse. Use when the user wants to analyze arguments, check reasoning, evaluate debate claims, spot weak arguments, do debate prep, policy writing, or conflict analysis. Triggers on 'fallacy', 'logical error', 'faulty reasoning', 'ar

How to use this skill

Skill file

Logical Fallacy Detector

Decision Points

Primary Decision Tree: Fallacy vs Non-Fallacy

1. Is there a clear argument with claim + support?
   NO → Report "No argument to analyze" 
   YES → Continue to 2

2. Does the support actually connect to the claim?
   NO → Check relevance fallacies (ad hominem, red herring, appeal to emotion)
   YES → Continue to 3

3. Is this a deductive argument with formal structure?
   YES → Check formal fallacies (affirming consequent, denying antecedent)
   NO → Continue to 4

4. Are key terms used consistently throughout?
   NO → Check ambiguity fallacies (equivocation, composition/division)
   YES → Continue to 5

5. Does the argument assume what it's trying to prove?
   YES → Check presumption fallacies (begging question, false dilemma, hasty generalization)
   NO → Likely sound argument, check for minor issues only

Disambiguation Decision Points:

Failure Modes

1. Fallacy Label Spam

2. Context Blindness

3. Weaponization Mode

4. False Negative Bias

5. Formal Fallacy Tunnel Vision

Worked Examples

Example 1: Relationship Conflict Analysis

Argument: "You always ignore me when you're on your phone. Sarah's husband never uses his phone during dinner. You clearly don't care about our relationship like he does."

Step 1: Identify claim and support

Step 2: Apply decision tree

Step 3: Pattern matching

Expert vs Novice: Novice might focus on "you always" as the only issue. Expert catches the layered reasoning problems and sees the legitimate concern (wanting attention) behind the flawed expression.

Example 2: Policy Argument Assessment

Argument: "Climate scientist Dr. Hansen says we need carbon taxes. Either we implement them now or we're doomed to climate catastrophe. Anyone who opposes carbon taxes is clearly in denial about science."

Step 1: Claim = carbon taxes are necessary; Support = expert authority + dire consequences + dismissal of opposition

Step 2: Decision tree reveals multiple issues in relevance and presumption categories

Step 3: Pattern identification

Assessment: Argument has legitimate core (climate action needed) but reasoning structure undermines its persuasive force.

Quality Gates

Argument Analysis Complete When:

Not-For Boundaries

Do NOT use this skill for:

Boundary Cases:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.