# whitepaper-density

whitepaper-density — a subagent that calculates the percentage of useful content in a technical document and identifies empty rhetoric, repetition, and sections without facts.

- 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-density.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-density

## What it does

whitepaper-density reads a document file and evaluates each section: how much of it consists of concrete examples, numbers, and patterns versus introductory phrases, transitions, and general claims without evidence. The subagent returns a density percentage for each section and an overall score for the entire document.

It uses the Read and Glob tools internally. The subagent is triggered on `.qmd` files but works with any text format. The model is `sonnet`.

The output is a list of sections with their fluff percentage and the top three candidates for compression. Useful before publishing technical writing where every paragraph must carry weight.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/whitepaper-density.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-density.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-density.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-density.md

## When to use it
- find empty paragraphs and meaningless transitions in a technical document
- calculate the percentage of useful content by section in a whitepaper
- identify repetition and generic claims without examples before publication
- get a list of sections that need compression or rewriting

## Example prompts
- Analyze the density of `whitepapers/fr/02-personnalisation.qmd`
- Find fluff in the document `docs/technical-overview.md`
- Show the fluff percentage by section in `whitepaper-draft.qmd`

## Similar
- [technical-writing](https://affpapa.org/en/nevibecode/skills/technical-writing.md) — skill · 27800 installs
- [reviewing-technical-prose](https://affpapa.org/en/nevibecode/skills/reviewing-technical-prose.md) — skill · 26900 installs
- [engineering-blog-post](https://affpapa.org/en/nevibecode/skills/engineering-blog-post.md) — skill · 13500 installs
- [developer-keyword-research](https://affpapa.org/en/nevibecode/skills/developer-keyword-research.md) — skill · 13400 installs
- [documentation](https://affpapa.org/en/nevibecode/skills/documentation.md) — skill · 10800 installs
- [technical-writer](https://affpapa.org/en/nevibecode/skills/technical-writer.md) — skill · 1100 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
