whitepaper-coherence — Claude Code subagent: features and setup
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.
CC-BY-SA-4.0 ★ 6,529 updated 2026-10-22
.claude/agents/whitepaper-coherence.mdWhat whitepaper-coherence 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.
What it helps with
- find conflicts between whitepaper sections
- spot gaps in a document’s reasoning
- identify breaks in the narrative
- remove redundant passages
Example prompts for the agent
- 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.
How to install whitepaper-coherence
Manually: put the files in place
.claude/agents/whitepaper-coherence.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/whitepaper-coherence.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/whitepaper-coherence.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about whitepaper-coherence
How do I install whitepaper-coherence in Claude Code?
Place the subagent file at .claude/agents/whitepaper-coherence.md.
What does whitepaper-coherence do?
It reviews .qmd whitepapers for conflicting claims, weak logical flow, narrative breaks, and unnecessary repetition. The report ranks findings by severity and suggests fixes.
Which files can whitepaper-coherence review?
It reads .qmd files and skips their YAML frontmatter.