datagsm-server: Agent for Claude Code

.claude/agents/contradiction-finder.md

contradiction-finder is an agent for Claude Code from themoment-team/datagsm-server. It costs 231 tokens per session (2,236 once invoked), scanned A, original, MIT.

A read-only auditor that compares project rules, documentation, source code, and other agent instructions to find contradictions. It reports conflicts by file instead of editing anything.

In plain words
What is it for?
Use it to check documentation against code, compare agent and skill definitions, and find overlapping or conflicting agent conditions.
Why use it?
It helps reveal when different instructions disagree or when documented rules do not match the code.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; mentions AGENTS.md.

This is themoment-team/datagsm-server's own configuration. It tells Claude Code how to work on datagsm-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything datagsm-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to themoment-team/datagsm-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/themoment-team/datagsm-server/master/.claude/agents/contradiction-finder.md
Clone the repo
git clone --depth 1 https://github.com/themoment-team/datagsm-server

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for contradiction-finder

README.md
[![agentmods](https://agentmods.dev/badge/agents/themoment-team/datagsm-server/contradiction-finder/github.svg)](https://agentmods.dev/agents/themoment-team/datagsm-server/contradiction-finder)
Your own site
<a href="https://agentmods.dev/agents/themoment-team/datagsm-server/contradiction-finder"><img src="https://agentmods.dev/badge/agents/themoment-team/datagsm-server/contradiction-finder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for contradiction-finder

Your own site · 80×15
<a href="https://agentmods.dev/agents/themoment-team/datagsm-server/contradiction-finder"><img src="https://agentmods.dev/badge/agents/themoment-team/datagsm-server/contradiction-finder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 231 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,236 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00231 $0.02236
Opus 5.5 $0.00092 $0.00894
Sonnet 5.5 $0.00046 $0.00447
Haiku 4.5 $0.00023 $0.00224

Measured 19d ago against content hash 38c02cf8afb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

contradiction-finder scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directorieslowAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

find .claude/rules -name "*.md" 2>/dev/null

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.claude/agents/contradiction-finder.md · 164 lines

How it starts

The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a read-only consistency auditor. Your job is to find contradictions across four layers and output a structured report. You never edit files.

Layer Overview

Layer What is checked
L1: doc↔doc .claude/rules/** vs AGENTS.md vs .gemini/styleguide.md vs CONTRIBUTING.md vs copilot-instructions.md
L2: doc↔code Documented rules vs actual .kt file patterns (full codebase, grep-based)
L3: doc↔agent/skill AGENTS.md + .claude/rules/** rules vs agent .md and skill SKILL.md definitions
L4: agent↔agent Trigger condition overlap and scope conflict between agent definitions

Independence rule: The Claude side (.claude/) and the Codex side (.agents/, .codex/) are independent systems. Differences between equivalent files across these two sides are NOT contradictions and must not be reported as such.

Step 1 — Collect All Source Material

Rule Files (discover dynamically)

find .claude/rules -name "*.md" 2>/dev/null

Read every file returned. These files are the primary rule source.

Documentation

Read these files in full:

  • AGENTS.md
  • CONTRIBUTING.md
  • .gemini/styleguide.md
  • .github/copilot-instructions.md

Agent and Skill Definitions

Use Glob to collect and Read:

  • .claude/agents/*.md
  • .claude/skills/**/*.md
  • .agents/skills/**/*.md

Kotlin Source File List (for L2)

find . -name "*.kt" -not -path "*/build/*" -not -path "*/test/*" -not -path "*/.gradle/*"

Collect the file list. Do NOT read every file — use targeted Grep queries in Step 3.

Step 2 — Layer 1: doc↔doc

After reading all rule files in Step 1, extract the topics they define (e.g., DTO annotations, logging format, exception messages). For each topic found, cross-check the same rule across all documentation files and look for contradictions.

Read the full file on GitHub · 164 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago Changed · -1 lines · -2 tokens per session 38c02cf8afb3
  2. 29d ago First seen · 165 lines · 233 tokens per session scan A 04fd86d76eee

Subscribe to this mod's changes

contradiction-finder is an agent published in the GitHub repository themoment-team/datagsm-server (29 stars, last pushed yesterday), licensed MIT. It adds 231 tokens to every session and 2,236 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.

Related

contradiction-finder compared with agents from other repositories

contradiction-finder next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
contradiction-finderthemoment-team/datagsm-serverAgent29yesterdayMITA231Claude Code
aws-architecture-review-expertgiuseppe-trisciuoglio/developer-kitAgent3671mo agoMITA76Claude Code
langchain4j-ai-development-expertgiuseppe-trisciuoglio/developer-kitAgent3671mo agoMITA65Claude Code
spring-boot-unit-testing-expertgiuseppe-trisciuoglio/developer-kitAgent3671mo agoMITA58Claude Code
spring-code-reviewerloiane/specs-driven-development-spring-angularAgent62yesterdayMITA41Claude Code
prompt-engineering-expertgiuseppe-trisciuoglio/developer-kitAgent3671mo agoMITA70Claude Code
m3-expressive-guideahmed3elshaer/everything-claude-code-mobileAgent664mo agoMITA54Claude Code