logical-fallacy-detector

A specialized skill for identifying and correcting logical fallacies in debates. Used by judge and rapporteur agents to evaluate the logical soundness of both sides' arguments and point out errors. Automatically applied in contexts such as 'logical fallacy', 'fallacy detection', 'sophistry', 'argument evaluation', 'logic verification'. However, formal logic theorem proving and mathematical logic verification are outside the scope of this skill.

495 stars

Best use case

logical-fallacy-detector is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

A specialized skill for identifying and correcting logical fallacies in debates. Used by judge and rapporteur agents to evaluate the logical soundness of both sides' arguments and point out errors. Automatically applied in contexts such as 'logical fallacy', 'fallacy detection', 'sophistry', 'argument evaluation', 'logic verification'. However, formal logic theorem proving and mathematical logic verification are outside the scope of this skill.

Teams using logical-fallacy-detector should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/logical-fallacy-detector/SKILL.md --create-dirs "https://raw.githubusercontent.com/revfactory/harness-100/main/en/60-debate-simulator/.claude/skills/logical-fallacy-detector/skill.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/logical-fallacy-detector/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How logical-fallacy-detector Compares

Feature / Agentlogical-fallacy-detectorStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

A specialized skill for identifying and correcting logical fallacies in debates. Used by judge and rapporteur agents to evaluate the logical soundness of both sides' arguments and point out errors. Automatically applied in contexts such as 'logical fallacy', 'fallacy detection', 'sophistry', 'argument evaluation', 'logic verification'. However, formal logic theorem proving and mathematical logic verification are outside the scope of this skill.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Logical Fallacy Detector — Logical Fallacy Detection Tool

A specialized skill that enhances the judge and rapporteur agents' argument evaluation capabilities.

## Target Agents

- **judge** — Argument evaluation, logical fallacy identification
- **rapporteur** — Include logic quality analysis in comprehensive reports

## Major Logical Fallacy Classification

### A. Relevance Fallacies

| Fallacy | Definition | Debate Example | How to Call It Out |
|---------|-----------|---------------|-------------------|
| Ad Hominem | Attacking the person instead of the argument | "Someone without experience has no valid opinion" | "Please evaluate the argument itself" |
| Appeal to Authority | Citing authorities outside their expertise | "A famous actor said so too" | "Do they have expertise in this field?" |
| Appeal to Popularity | Majority opinion = correct | "80% agree, so it must be right" | "Does majority opinion equal validity?" |
| Tu Quoque | "You do it too" as rebuttal | "You have the same problem" | "Your behavior does not invalidate the argument" |
| Straw Man | Distorting the opponent's claim to rebut it | "The opponent wants to eliminate all regulation" | "Please quote the original claim accurately" |

### B. Causal Fallacies

| Fallacy | Definition | Example | How to Call It Out |
|---------|-----------|---------|-------------------|
| Post Hoc | Temporal sequence = causation | "Crime dropped after the policy -> policy caused it" | "What about other variables?" |
| Correlation = Causation | Mistaking correlation for causation | "Ice cream sales up -> crime up" | "Have you considered a third variable (weather)?" |
| Slippery Slope | Assuming extreme consequences | "Allowing this will inevitably lead to ~" | "Please prove the probability of each step" |

### C. Structural Fallacies

| Fallacy | Definition | Example | How to Call It Out |
|---------|-----------|---------|-------------------|
| False Dilemma | Limiting options to only 2 | "Either for or against, nothing else" | "Isn't there a third alternative?" |
| Circular Reasoning | Premise presupposes the conclusion | "This is right because it is right" | "Please provide independent evidence" |
| Hasty Generalization | Generalizing from insufficient cases | "One case was like this, so all are" | "Is the sample sufficient?" |
| False Analogy | Comparing fundamentally dissimilar things | "A national economy is like a household budget" | "What are the key differences between the two?" |
| Red Herring | Diverting to an unrelated topic | Presenting an emotional case unrelated to the topic | "Let's return to the original point" |

### D. Evidence Fallacies

| Fallacy | Definition | Example |
|---------|-----------|---------|
| Cherry Picking | Selecting only favorable data | Citing only success cases from certain countries |
| Appeal to Ignorance | No disproof = true | "There's no counter-evidence, so it must be true" |
| Inadequate Sample | Citing biased samples | Surveys with only voluntary participants |

## Judge Evaluation Rubric (Logic Quality)

### Argument Soundness Assessment Matrix

| Criterion | 1-20 pts | 21-40 pts | 41-60 pts | 61-80 pts | 81-100 pts |
|----------|---------|----------|----------|----------|-----------|
| Logical consistency | Multiple fallacies | 3-4 fallacies | 1-2 fallacies | Generally sound | Airtight logic |
| Evidence quality | No evidence | Weak evidence | Standard evidence | Quality evidence | Academic evidence |
| Rebuttal effectiveness | No rebuttal | Superficial rebuttal | Partial rebuttal | Effective rebuttal | Complete dismantling |
| Staying on point | Frequent digressions | Occasional digressions | Generally on topic | Mostly on topic | Perfectly on topic |

### Fallacy Penalty Standards

| Severity | Penalty | Example |
|----------|---------|---------|
| Minor | -2 pts | Slight exaggeration, unclear source |
| Moderate | -5 pts | Hasty generalization, weak analogy |
| Serious | -10 pts | Straw man attack, false dilemma |
| Critical | -15 pts | Circular reasoning, data manipulation |

## Fallacy Identification Expression Guide (for judge)

**Point out accurately while maintaining respect:**

```
"In the [side] debater's [Nth] argument, a [fallacy name] fallacy is observed.
 Specifically, [quotation]; this constitutes [explanation of why it is fallacious].
 To improve this, [direction for improvement] would be needed."
```

Related Skills

sustainability-audit

495
from revfactory/harness-100

Full audit pipeline for ESG/sustainability where an agent team collaborates to generate environmental, social, and governance assessments along with an integrated report and improvement plan. Use this skill for requests such as 'run an ESG audit', 'write a sustainability report', 'ESG assessment', 'carbon emissions calculation', 'ESG rating diagnosis', 'governance review', 'social responsibility assessment', 'GRI report', 'TCFD disclosure', 'ESG improvement plan', and other ESG/sustainability tasks. Also supports assessment of specific pillars (E/S/G) only or improving existing reports. However, actual on-site audit execution, third-party verification certificate issuance, ESG rating agency score changes, and carbon credit trading are outside the scope of this skill.

materiality-assessment

495
from revfactory/harness-100

ESG materiality assessment matrix. Referenced by the esg-reporter and improvement-planner agents when evaluating ESG issue materiality and setting priorities. Use for 'materiality assessment', 'importance analysis', or 'Materiality Matrix' requests. Stakeholder surveys and external certification are out of scope.

ghg-protocol

495
from revfactory/harness-100

GHG Protocol detailed guide. Referenced by the environmental-analyst agent when calculating and reporting greenhouse gas emissions. Use for 'GHG Protocol', 'carbon emissions', 'Scope 1/2/3', or 'carbon footprint' requests. Carbon credit trading and CDM project execution are out of scope.

citation-standards

495
from revfactory/harness-100

Academic citation and reference standards guide. Referenced by the paper-writer and submission-preparer agents when composing citations and references. Use for 'citation format', 'APA', or 'references' requests. Original paper retrieval and professional database access are out of scope.

academic-paper

495
from revfactory/harness-100

Full research pipeline for academic paper writing where an agent team collaborates to generate research design, experiment protocols, analysis, manuscript writing, and submission preparation. Use this skill for requests such as 'write an academic paper', 'research paper writing', 'help me write a paper', 'design a study', 'run statistical analysis', 'prepare journal submission', 'manuscript writing', 'research methodology design', 'hypothesis testing', 'academic writing', and other academic research paper tasks. Also supports analysis, rewriting, and submission preparation when existing data or drafts are available. However, actual data collection execution, official IRB submission, journal system login and upload, and running actual statistical software are outside the scope of this skill.

product-copy-formulas

495
from revfactory/harness-100

Product copy formula library. Referenced by the detail-page-writer and marketing-manager agents when writing purchase-driving copy. Use for 'product copy', 'marketing copy', or 'ad copy' requests. Ad placement and design mockup creation are out of scope.

ecommerce-launcher

495
from revfactory/harness-100

Full launch pipeline for e-commerce products where an agent team collaborates to generate product planning, detail pages, pricing strategy, marketing, and CS setup all at once. Use this skill for requests such as 'launch an e-commerce product', 'prepare a product launch', 'register a product on Naver Smart Store', 'launch on Coupang', 'create a detail page', 'develop a pricing strategy', 'create a marketing plan', 'launch prep', 'product planning brief', 'e-commerce CS manual', and other e-commerce product launch tasks. Also supports supplementing pricing/marketing/CS even when existing briefs or detail pages are provided. However, actual platform API integration (automated product registration), payment system development, logistics system integration, and real-time order management are outside the scope of this skill.

conversion-optimization

495
from revfactory/harness-100

Purchase conversion optimization framework. Referenced by the detail-page-writer and pricing-strategist agents when designing detail pages and pricing with a conversion focus. Use for 'conversion rate optimization', 'CRO', or 'purchase psychology' requests. A/B testing tool setup and funnel automation are out of scope.

real-estate-analyst

495
from revfactory/harness-100

Real estate investment analysis pipeline. An agent team collaborates to produce market research, location analysis, profitability analysis, risk assessment, and investment reports. Use this skill for requests such as 'analyze this real estate', 'apartment investment analysis', 'studio apartment yield', 'real estate market research', 'location analysis', 'real estate investment report', 'buy vs lease', 'reconstruction investment analysis', 'commercial property yield analysis', and other general real estate investment analysis tasks. Actual purchase contracts, brokerage services, interior design, and property management are outside the scope of this skill.

location-scoring

495
from revfactory/harness-100

Location scoring scorecard. Referenced by the location-analyst agent for systematic real estate location evaluation. Use for requests involving 'location analysis', 'location assessment', or 'commercial area analysis'. On-site inspections and surveying are out of scope.

cap-rate-calculator

495
from revfactory/harness-100

Real estate yield calculator. Reference formulas and models used by the profitability-analyst agent for quantitative investment return analysis. Use for requests involving 'Cap Rate', 'yield analysis', 'DCF', or 'cash flow analysis'. Tax advisory and loan underwriting are out of scope.

vendor-scoring

495
from revfactory/harness-100

Vendor evaluation scorecard framework. Referenced by vendor-comparator and evaluation-designer agents when systematically comparing and evaluating vendors. Used for 'vendor evaluation', 'supplier comparison', 'bid evaluation' requests. Note: posting bid announcements and executing contracts are out of scope.