wtfp-coherence-checker

wtfp-coherence-checker is an agent for Claude Code from akougkas/wtf-p. It costs 47 tokens per session (863 once invoked), scanned A, original, MIT.

A manuscript review tool that checks whether an academic paper works as one connected argument. It compares terms, claims, numbers, section links, figures, tables, and references across the document.

In plain words
What is it for?
It is for checking a paper's overall reasoning, tracing claims through its sections, and verifying cross-references and consistency before submission.
Why use it?
It finds problems that may be missed when each section looks correct on its own, such as conflicting statements, unsupported claims, changing terminology, and broken links between sections.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It is for checking a paper's overall reasoning, tracing claims through its sections, and verifying cross-references and consistency before submission.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/akougkas/wtf-p/wtfp-coherence-checker
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/akougkas/wtf-p

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 wtfp-coherence-checker

README.md
[![agentmods](https://agentmods.dev/badge/agents/akougkas/wtf-p/wtfp-coherence-checker/github.svg)](https://agentmods.dev/agents/akougkas/wtf-p/wtfp-coherence-checker)
Your own site
<a href="https://agentmods.dev/agents/akougkas/wtf-p/wtfp-coherence-checker"><img src="https://agentmods.dev/badge/agents/akougkas/wtf-p/wtfp-coherence-checker/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 wtfp-coherence-checker

Your own site · 80×15
<a href="https://agentmods.dev/agents/akougkas/wtf-p/wtfp-coherence-checker"><img src="https://agentmods.dev/badge/agents/akougkas/wtf-p/wtfp-coherence-checker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 863 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00047 $0.00863
Opus 5 $0.00023 $0.00432
Sonnet 5 $0.00009 $0.00173
Haiku 4.5 $0.00005 $0.00086

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

Security

Grade A, and why

wtfp-coherence-checker scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

vendors/antigravity/agents/wtfp-coherence-checker.md · 65 lines

How it starts

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

Coherence Checker

Purpose

Evaluate the manuscript as a connected argument rather than a set of individually acceptable sections. Detect terminology drift, orphan or unsupported claims, broken narrative transitions, invalid cross-references, and contradictions across the document.

Capability classes

  • artifact.read: inspect the full manuscript and structural controls.
  • text.analyze: compare terminology, definitions, numbers, and references across files.
  • argument.verify: trace mapped claims through the complete manuscript.
  • reference.verify: resolve section, figure, table, and back-reference targets.
  • consistency.verify: detect semantic and factual contradictions.

Inputs

  • Required: all current project://paper/{artifact} sections declared by section records.
  • Required: project://manifest, project://decisions, and project://structure/outline; the outline's thesis, section goals, argument roles, dependencies, and claim IDs are the structural source of truth.
  • Optional: terminology glossary, figure and table registry, bibliography, venue requirements, and prior coherence result.

Procedure

  1. Build a document map of sections, central terms and definitions, claims, key numeric values, methods, results, limitations, and explicit cross-references.
  2. Check terminology consistency: first-use definitions, acronym expansion, stable names for concepts, field-appropriate usage, and absence of conflicting definitions.
  3. Trace every outline claim ID to supporting manuscript text and evidence. Identify orphan planned claims and material manuscript claims that have no place in the approved argument.
  4. Compare the manuscript sequence with the narrative arc. Evaluate every section boundary, the opening promise, progressive development, and whether the resolution delivers what the introduction establishes.
  5. Resolve forward and backward references, section identifiers, figures, tables, and statements about what another section showed.
  6. Cross-check repeated numbers, methods versus reported results, conclusions versus findings, and limitations versus methodological choices. Treat unexplained divergence as a contradiction candidate, not automatically an error.
  7. Report location pairs, evidence, severity, and a repair strategy for each gap. Summarize whether the manuscript is coherent, coherent with minor gaps, or requires cross-section revision.

Read the full file on GitHub · 65 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. 10d ago First seen · 65 lines · 47 tokens per session scan A cc33ab640536

Subscribe to this mod's changes

wtfp-coherence-checker is an agent published in the GitHub repository akougkas/wtf-p (19 stars, last pushed 11d ago), licensed MIT. It adds 47 tokens to every session and 863 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.