# whitepaper-coherence

whitepaper-coherence is a Claude Code subagent that checks a whitepaper for logical consistency. It runs on requests to audit a file or inspect its reasoning.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 6529 repo stars
- Author: FlorianBruniaux
- License: CC-BY-SA-4.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/FlorianBruniaux/claude-code-ultimate-guide/tree/HEAD/.claude/agents/whitepaper-coherence.md
- Updated: 2026-10-22
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/whitepaper-coherence

## What it does

The subagent reads a `.qmd` file and looks for conflicting sections, breaks in the narrative, and repeated material. It skips YAML frontmatter, reviews the document section by section, then checks it as a whole.

Its report identifies affected sections, assigns severity levels, and gives concrete revision suggestions. Critical findings come first. The subagent uses `Read` and `Glob` and reviews `.qmd` files.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/whitepaper-coherence.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/whitepaper-coherence.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/whitepaper-coherence.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/FlorianBruniaux/claude-code-ultimate-guide/tree/HEAD/.claude/agents/whitepaper-coherence.md

## When to use it
- find conflicts between whitepaper sections
- spot gaps in a document’s reasoning
- identify breaks in the narrative
- remove redundant passages

## Example prompts
- Audit the coherence of `whitepapers/fr/01-prompts-efficaces.qmd`.
- Check the reasoning and consistency in `whitepaper.qmd`.
- Find repeated points and narrative gaps in `docs/guide.qmd`.

## Similar
- [whitepaper](https://affpapa.org/en/nevibecode/skills/whitepaper.md) — skill · 1600 installs
- [logic-audit](https://affpapa.org/en/nevibecode/skills/logic-audit.md) — skill · 545 installs
- [whitepapers](https://affpapa.org/en/nevibecode/skills/whitepapers.md) — skill · 102 installs
- [debate-practice-coach](https://affpapa.org/en/nevibecode/skills/debate-practice-coach.md) — skill · 157 installs
- [developer-docs-structure-audit](https://affpapa.org/en/nevibecode/skills/developer-docs-structure-audit.md) — skill · 13700 installs
- [docs-code-sample-standards](https://affpapa.org/en/nevibecode/skills/docs-code-sample-standards.md) — skill · 13300 installs

From the same set: [florianbruniaux/claude-code-ultimate-guide](https://affpapa.org/en/nevibecode/by/florianbruniaux/claude-code-ultimate-guide.md) — 45 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
