Coherence Checker

Coherence Checker is an agent for Claude Code from akougkas/wtf-p. It costs 44 tokens per session (1,249 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: a Claude Code subagent (agents/*.md).

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 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 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 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,249 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.00044 $0.01249
Opus 5.5 $0.00018 $0.00500
Sonnet 5.5 $0.00009 $0.00250
Haiku 4.5 $0.00004 $0.00125

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

Security

Grade A, and why

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 4d 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.

pancode/plugin/dev.pancode/agents/wtfp-coherence-checker.md · 67 lines

How it starts

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

Output: your final message is one JSON object, {"verdict":"pass|fail","checks":[...]}, and nothing else. Do every step below as checks in that object, not as a Markdown review; the exact form is in the PanCode result contract at the end.

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 · 67 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. 4d ago Changed · +1 lines · -3 tokens per session d5ca16880b95
  2. 2mo ago Changed · +1 lines a03af0036118
  3. 3mo ago First seen · 65 lines · 47 tokens per session scan A cc33ab640536

Subscribe to this mod's changes

Coherence Checker is an agent published in the GitHub repository akougkas/wtf-p (20 stars, last pushed 4d ago), licensed MIT. It adds 44 tokens to every session and 1,249 once invoked, about $0.0002 per session on Opus 5.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.

Related

Coherence Checker compared with agents from other repositories

Coherence Checker next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Coherence Checkerakougkas/wtf-pAgent204d agoMITA44Claude Code
oma-reviewerJoonghyun-Lee-Frieren/oh-my-antigravityAgent22910d agononeA22Claude Code
oma-directorJoonghyun-Lee-Frieren/oh-my-antigravityAgent22910d agononeA21Claude Code
oma-editorJoonghyun-Lee-Frieren/oh-my-antigravityAgent22910d agononeA19Claude Code
oma-doc-readerJoonghyun-Lee-Frieren/oh-my-antigravityAgent22910d agononeA23Claude Code
oma-design-auditorJoonghyun-Lee-Frieren/oh-my-antigravityAgent22910d agononeA24Claude Code
oma-debuggerJoonghyun-Lee-Frieren/oh-my-antigravityAgent22910d agononeA20Claude Code