Skip to content

rylinjames/contradiction-finder

Repository files navigation

Contradiction Finder

An OpenClaw agent that scans your connected workspace tools — Slack, Gmail, Notion, and Google Calendar — via Hyperspell to detect conflicting information across sources and helps you reconcile it.

The Problem

Teams spread information across Slack, email, docs, and calendars. Over time, facts drift: Slack says the launch is March 28, Notion says April 5, and the Calendar has it on March 25. Nobody notices until it's too late.

Contradiction Finder scans all your sources at once, finds conflicts, and gives you one-click actions to fix them.

How It Works

  1. Connects to your Slack, Gmail, Notion, and Calendar via Hyperspell memory layer
  2. Extracts factual claims from each source (dates, budgets, ownership, status)
  3. Cross-references claims across tools to find contradictions
  4. Presents conflicts with severity, impact, and suggested resolution
  5. Takes action — draft emails, copy Slack messages, download reports, reconcile via Hyperspell

Built With

  • OpenClaw — open-source AI agent platform
  • Hyperspell — context & memory layer for AI agents (YC F25)
  • OpenAI GPT — LLM reasoning via OpenClaw gateway

Features

  • Instant Demo — pre-cached scan results for fast presentation
  • Live Scan — real-time scan through OpenClaw + Hyperspell
  • Time Saved Calculator — shows measurable time saved vs. manual cross-referencing
  • One-Click Actions:
    • Draft Email — opens Gmail compose with pre-filled conflict summary
    • Copy for Slack — copies formatted team update to clipboard
    • Download Report — generates markdown report of all contradictions
    • Reconcile — saves corrected fact to Hyperspell memory

Setup

# Install dependencies
npm install

# Configure environment
cp .env.example .env
# Add your OpenClaw gateway URL and token

# Install OpenClaw + Hyperspell plugin
npm install -g openclaw@latest
openclaw plugins install @hyperspell/openclaw-hyperspell
openclaw openclaw-hyperspell setup

# Connect your sources in Hyperspell dashboard
# (Slack, Gmail, Notion, Google Calendar)

# Start the demo server
npm run dev
# Open http://localhost:3000

Project Structure

contradiction-finder/
├── skills/contradiction-finder/SKILL.md  — OpenClaw skill definition
├── src/
│   ├── index.ts      — Express server, proxies to OpenClaw gateway
│   └── types.ts      — TypeScript interfaces
├── public/
│   └── index.html    — Demo web UI
├── package.json
└── tsconfig.json

Demo

The agent found real contradictions across a connected workspace:

Topic Slack Notion Severity
Launch Date March 28 April 5 Critical
Q2 Budget $50,000 $55,000 Moderate
Project Owner Sarah Mike Moderate
API Migration 60% done 85% done Minor
Standup Time 10am 9am Minor

Plus it discovered a real contradiction in Gmail (Modal spend limit: $5 vs $30) from actual workspace data — not seeded.

Hackathon

Built for the OpenClaw Hackathon: Eragon x Hyperspell (March 21, 2026, San Francisco).

Judging Criteria:

  • 40% Context quality — pulls from 4+ real sources via Hyperspell
  • 30% Depth of action — draft emails, Slack messages, reports, memory reconciliation
  • 30% Workflow usefulness — would a team run this Monday? Yes.

About

An OpenClaw agent that scans Slack, Gmail, Notion, and Calendar via Hyperspell to detect conflicting information across sources and helps reconcile it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors